
cosmos.base.reflection.v2alpha1.Reflection Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: cosmos/base/reflection/v2alpha1/reflection.proto
package cosmos.base.reflection.v2alpha1;
public final class Reflection {
private Reflection() {}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistryLite registry) {
}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistry registry) {
registerAllExtensions(
(com.google.protobuf.ExtensionRegistryLite) registry);
}
public interface AppDescriptorOrBuilder extends
// @@protoc_insertion_point(interface_extends:cosmos.base.reflection.v2alpha1.AppDescriptor)
com.google.protobuf.MessageOrBuilder {
/**
*
* AuthnDescriptor provides information on how to authenticate transactions on the application
* NOTE: experimental and subject to change in future releases.
*
*
* .cosmos.base.reflection.v2alpha1.AuthnDescriptor authn = 1;
* @return Whether the authn field is set.
*/
boolean hasAuthn();
/**
*
* AuthnDescriptor provides information on how to authenticate transactions on the application
* NOTE: experimental and subject to change in future releases.
*
*
* .cosmos.base.reflection.v2alpha1.AuthnDescriptor authn = 1;
* @return The authn.
*/
cosmos.base.reflection.v2alpha1.Reflection.AuthnDescriptor getAuthn();
/**
*
* AuthnDescriptor provides information on how to authenticate transactions on the application
* NOTE: experimental and subject to change in future releases.
*
*
* .cosmos.base.reflection.v2alpha1.AuthnDescriptor authn = 1;
*/
cosmos.base.reflection.v2alpha1.Reflection.AuthnDescriptorOrBuilder getAuthnOrBuilder();
/**
*
* chain provides the chain descriptor
*
*
* .cosmos.base.reflection.v2alpha1.ChainDescriptor chain = 2;
* @return Whether the chain field is set.
*/
boolean hasChain();
/**
*
* chain provides the chain descriptor
*
*
* .cosmos.base.reflection.v2alpha1.ChainDescriptor chain = 2;
* @return The chain.
*/
cosmos.base.reflection.v2alpha1.Reflection.ChainDescriptor getChain();
/**
*
* chain provides the chain descriptor
*
*
* .cosmos.base.reflection.v2alpha1.ChainDescriptor chain = 2;
*/
cosmos.base.reflection.v2alpha1.Reflection.ChainDescriptorOrBuilder getChainOrBuilder();
/**
*
* codec provides metadata information regarding codec related types
*
*
* .cosmos.base.reflection.v2alpha1.CodecDescriptor codec = 3;
* @return Whether the codec field is set.
*/
boolean hasCodec();
/**
*
* codec provides metadata information regarding codec related types
*
*
* .cosmos.base.reflection.v2alpha1.CodecDescriptor codec = 3;
* @return The codec.
*/
cosmos.base.reflection.v2alpha1.Reflection.CodecDescriptor getCodec();
/**
*
* codec provides metadata information regarding codec related types
*
*
* .cosmos.base.reflection.v2alpha1.CodecDescriptor codec = 3;
*/
cosmos.base.reflection.v2alpha1.Reflection.CodecDescriptorOrBuilder getCodecOrBuilder();
/**
*
* configuration provides metadata information regarding the sdk.Config type
*
*
* .cosmos.base.reflection.v2alpha1.ConfigurationDescriptor configuration = 4;
* @return Whether the configuration field is set.
*/
boolean hasConfiguration();
/**
*
* configuration provides metadata information regarding the sdk.Config type
*
*
* .cosmos.base.reflection.v2alpha1.ConfigurationDescriptor configuration = 4;
* @return The configuration.
*/
cosmos.base.reflection.v2alpha1.Reflection.ConfigurationDescriptor getConfiguration();
/**
*
* configuration provides metadata information regarding the sdk.Config type
*
*
* .cosmos.base.reflection.v2alpha1.ConfigurationDescriptor configuration = 4;
*/
cosmos.base.reflection.v2alpha1.Reflection.ConfigurationDescriptorOrBuilder getConfigurationOrBuilder();
/**
*
* query_services provides metadata information regarding the available queriable endpoints
*
*
* .cosmos.base.reflection.v2alpha1.QueryServicesDescriptor query_services = 5;
* @return Whether the queryServices field is set.
*/
boolean hasQueryServices();
/**
*
* query_services provides metadata information regarding the available queriable endpoints
*
*
* .cosmos.base.reflection.v2alpha1.QueryServicesDescriptor query_services = 5;
* @return The queryServices.
*/
cosmos.base.reflection.v2alpha1.Reflection.QueryServicesDescriptor getQueryServices();
/**
*
* query_services provides metadata information regarding the available queriable endpoints
*
*
* .cosmos.base.reflection.v2alpha1.QueryServicesDescriptor query_services = 5;
*/
cosmos.base.reflection.v2alpha1.Reflection.QueryServicesDescriptorOrBuilder getQueryServicesOrBuilder();
/**
*
* tx provides metadata information regarding how to send transactions to the given application
*
*
* .cosmos.base.reflection.v2alpha1.TxDescriptor tx = 6;
* @return Whether the tx field is set.
*/
boolean hasTx();
/**
*
* tx provides metadata information regarding how to send transactions to the given application
*
*
* .cosmos.base.reflection.v2alpha1.TxDescriptor tx = 6;
* @return The tx.
*/
cosmos.base.reflection.v2alpha1.Reflection.TxDescriptor getTx();
/**
*
* tx provides metadata information regarding how to send transactions to the given application
*
*
* .cosmos.base.reflection.v2alpha1.TxDescriptor tx = 6;
*/
cosmos.base.reflection.v2alpha1.Reflection.TxDescriptorOrBuilder getTxOrBuilder();
}
/**
*
* AppDescriptor describes a cosmos-sdk based application
*
*
* Protobuf type {@code cosmos.base.reflection.v2alpha1.AppDescriptor}
*/
public static final class AppDescriptor extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:cosmos.base.reflection.v2alpha1.AppDescriptor)
AppDescriptorOrBuilder {
private static final long serialVersionUID = 0L;
// Use AppDescriptor.newBuilder() to construct.
private AppDescriptor(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private AppDescriptor() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new AppDescriptor();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private AppDescriptor(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
cosmos.base.reflection.v2alpha1.Reflection.AuthnDescriptor.Builder subBuilder = null;
if (authn_ != null) {
subBuilder = authn_.toBuilder();
}
authn_ = input.readMessage(cosmos.base.reflection.v2alpha1.Reflection.AuthnDescriptor.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(authn_);
authn_ = subBuilder.buildPartial();
}
break;
}
case 18: {
cosmos.base.reflection.v2alpha1.Reflection.ChainDescriptor.Builder subBuilder = null;
if (chain_ != null) {
subBuilder = chain_.toBuilder();
}
chain_ = input.readMessage(cosmos.base.reflection.v2alpha1.Reflection.ChainDescriptor.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(chain_);
chain_ = subBuilder.buildPartial();
}
break;
}
case 26: {
cosmos.base.reflection.v2alpha1.Reflection.CodecDescriptor.Builder subBuilder = null;
if (codec_ != null) {
subBuilder = codec_.toBuilder();
}
codec_ = input.readMessage(cosmos.base.reflection.v2alpha1.Reflection.CodecDescriptor.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(codec_);
codec_ = subBuilder.buildPartial();
}
break;
}
case 34: {
cosmos.base.reflection.v2alpha1.Reflection.ConfigurationDescriptor.Builder subBuilder = null;
if (configuration_ != null) {
subBuilder = configuration_.toBuilder();
}
configuration_ = input.readMessage(cosmos.base.reflection.v2alpha1.Reflection.ConfigurationDescriptor.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(configuration_);
configuration_ = subBuilder.buildPartial();
}
break;
}
case 42: {
cosmos.base.reflection.v2alpha1.Reflection.QueryServicesDescriptor.Builder subBuilder = null;
if (queryServices_ != null) {
subBuilder = queryServices_.toBuilder();
}
queryServices_ = input.readMessage(cosmos.base.reflection.v2alpha1.Reflection.QueryServicesDescriptor.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(queryServices_);
queryServices_ = subBuilder.buildPartial();
}
break;
}
case 50: {
cosmos.base.reflection.v2alpha1.Reflection.TxDescriptor.Builder subBuilder = null;
if (tx_ != null) {
subBuilder = tx_.toBuilder();
}
tx_ = input.readMessage(cosmos.base.reflection.v2alpha1.Reflection.TxDescriptor.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(tx_);
tx_ = subBuilder.buildPartial();
}
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return cosmos.base.reflection.v2alpha1.Reflection.internal_static_cosmos_base_reflection_v2alpha1_AppDescriptor_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cosmos.base.reflection.v2alpha1.Reflection.internal_static_cosmos_base_reflection_v2alpha1_AppDescriptor_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cosmos.base.reflection.v2alpha1.Reflection.AppDescriptor.class, cosmos.base.reflection.v2alpha1.Reflection.AppDescriptor.Builder.class);
}
public static final int AUTHN_FIELD_NUMBER = 1;
private cosmos.base.reflection.v2alpha1.Reflection.AuthnDescriptor authn_;
/**
*
* AuthnDescriptor provides information on how to authenticate transactions on the application
* NOTE: experimental and subject to change in future releases.
*
*
* .cosmos.base.reflection.v2alpha1.AuthnDescriptor authn = 1;
* @return Whether the authn field is set.
*/
@java.lang.Override
public boolean hasAuthn() {
return authn_ != null;
}
/**
*
* AuthnDescriptor provides information on how to authenticate transactions on the application
* NOTE: experimental and subject to change in future releases.
*
*
* .cosmos.base.reflection.v2alpha1.AuthnDescriptor authn = 1;
* @return The authn.
*/
@java.lang.Override
public cosmos.base.reflection.v2alpha1.Reflection.AuthnDescriptor getAuthn() {
return authn_ == null ? cosmos.base.reflection.v2alpha1.Reflection.AuthnDescriptor.getDefaultInstance() : authn_;
}
/**
*
* AuthnDescriptor provides information on how to authenticate transactions on the application
* NOTE: experimental and subject to change in future releases.
*
*
* .cosmos.base.reflection.v2alpha1.AuthnDescriptor authn = 1;
*/
@java.lang.Override
public cosmos.base.reflection.v2alpha1.Reflection.AuthnDescriptorOrBuilder getAuthnOrBuilder() {
return getAuthn();
}
public static final int CHAIN_FIELD_NUMBER = 2;
private cosmos.base.reflection.v2alpha1.Reflection.ChainDescriptor chain_;
/**
*
* chain provides the chain descriptor
*
*
* .cosmos.base.reflection.v2alpha1.ChainDescriptor chain = 2;
* @return Whether the chain field is set.
*/
@java.lang.Override
public boolean hasChain() {
return chain_ != null;
}
/**
*
* chain provides the chain descriptor
*
*
* .cosmos.base.reflection.v2alpha1.ChainDescriptor chain = 2;
* @return The chain.
*/
@java.lang.Override
public cosmos.base.reflection.v2alpha1.Reflection.ChainDescriptor getChain() {
return chain_ == null ? cosmos.base.reflection.v2alpha1.Reflection.ChainDescriptor.getDefaultInstance() : chain_;
}
/**
*
* chain provides the chain descriptor
*
*
* .cosmos.base.reflection.v2alpha1.ChainDescriptor chain = 2;
*/
@java.lang.Override
public cosmos.base.reflection.v2alpha1.Reflection.ChainDescriptorOrBuilder getChainOrBuilder() {
return getChain();
}
public static final int CODEC_FIELD_NUMBER = 3;
private cosmos.base.reflection.v2alpha1.Reflection.CodecDescriptor codec_;
/**
*
* codec provides metadata information regarding codec related types
*
*
* .cosmos.base.reflection.v2alpha1.CodecDescriptor codec = 3;
* @return Whether the codec field is set.
*/
@java.lang.Override
public boolean hasCodec() {
return codec_ != null;
}
/**
*
* codec provides metadata information regarding codec related types
*
*
* .cosmos.base.reflection.v2alpha1.CodecDescriptor codec = 3;
* @return The codec.
*/
@java.lang.Override
public cosmos.base.reflection.v2alpha1.Reflection.CodecDescriptor getCodec() {
return codec_ == null ? cosmos.base.reflection.v2alpha1.Reflection.CodecDescriptor.getDefaultInstance() : codec_;
}
/**
*
* codec provides metadata information regarding codec related types
*
*
* .cosmos.base.reflection.v2alpha1.CodecDescriptor codec = 3;
*/
@java.lang.Override
public cosmos.base.reflection.v2alpha1.Reflection.CodecDescriptorOrBuilder getCodecOrBuilder() {
return getCodec();
}
public static final int CONFIGURATION_FIELD_NUMBER = 4;
private cosmos.base.reflection.v2alpha1.Reflection.ConfigurationDescriptor configuration_;
/**
*
* configuration provides metadata information regarding the sdk.Config type
*
*
* .cosmos.base.reflection.v2alpha1.ConfigurationDescriptor configuration = 4;
* @return Whether the configuration field is set.
*/
@java.lang.Override
public boolean hasConfiguration() {
return configuration_ != null;
}
/**
*
* configuration provides metadata information regarding the sdk.Config type
*
*
* .cosmos.base.reflection.v2alpha1.ConfigurationDescriptor configuration = 4;
* @return The configuration.
*/
@java.lang.Override
public cosmos.base.reflection.v2alpha1.Reflection.ConfigurationDescriptor getConfiguration() {
return configuration_ == null ? cosmos.base.reflection.v2alpha1.Reflection.ConfigurationDescriptor.getDefaultInstance() : configuration_;
}
/**
*
* configuration provides metadata information regarding the sdk.Config type
*
*
* .cosmos.base.reflection.v2alpha1.ConfigurationDescriptor configuration = 4;
*/
@java.lang.Override
public cosmos.base.reflection.v2alpha1.Reflection.ConfigurationDescriptorOrBuilder getConfigurationOrBuilder() {
return getConfiguration();
}
public static final int QUERY_SERVICES_FIELD_NUMBER = 5;
private cosmos.base.reflection.v2alpha1.Reflection.QueryServicesDescriptor queryServices_;
/**
*
* query_services provides metadata information regarding the available queriable endpoints
*
*
* .cosmos.base.reflection.v2alpha1.QueryServicesDescriptor query_services = 5;
* @return Whether the queryServices field is set.
*/
@java.lang.Override
public boolean hasQueryServices() {
return queryServices_ != null;
}
/**
*
* query_services provides metadata information regarding the available queriable endpoints
*
*
* .cosmos.base.reflection.v2alpha1.QueryServicesDescriptor query_services = 5;
* @return The queryServices.
*/
@java.lang.Override
public cosmos.base.reflection.v2alpha1.Reflection.QueryServicesDescriptor getQueryServices() {
return queryServices_ == null ? cosmos.base.reflection.v2alpha1.Reflection.QueryServicesDescriptor.getDefaultInstance() : queryServices_;
}
/**
*
* query_services provides metadata information regarding the available queriable endpoints
*
*
* .cosmos.base.reflection.v2alpha1.QueryServicesDescriptor query_services = 5;
*/
@java.lang.Override
public cosmos.base.reflection.v2alpha1.Reflection.QueryServicesDescriptorOrBuilder getQueryServicesOrBuilder() {
return getQueryServices();
}
public static final int TX_FIELD_NUMBER = 6;
private cosmos.base.reflection.v2alpha1.Reflection.TxDescriptor tx_;
/**
*
* tx provides metadata information regarding how to send transactions to the given application
*
*
* .cosmos.base.reflection.v2alpha1.TxDescriptor tx = 6;
* @return Whether the tx field is set.
*/
@java.lang.Override
public boolean hasTx() {
return tx_ != null;
}
/**
*
* tx provides metadata information regarding how to send transactions to the given application
*
*
* .cosmos.base.reflection.v2alpha1.TxDescriptor tx = 6;
* @return The tx.
*/
@java.lang.Override
public cosmos.base.reflection.v2alpha1.Reflection.TxDescriptor getTx() {
return tx_ == null ? cosmos.base.reflection.v2alpha1.Reflection.TxDescriptor.getDefaultInstance() : tx_;
}
/**
*
* tx provides metadata information regarding how to send transactions to the given application
*
*
* .cosmos.base.reflection.v2alpha1.TxDescriptor tx = 6;
*/
@java.lang.Override
public cosmos.base.reflection.v2alpha1.Reflection.TxDescriptorOrBuilder getTxOrBuilder() {
return getTx();
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (authn_ != null) {
output.writeMessage(1, getAuthn());
}
if (chain_ != null) {
output.writeMessage(2, getChain());
}
if (codec_ != null) {
output.writeMessage(3, getCodec());
}
if (configuration_ != null) {
output.writeMessage(4, getConfiguration());
}
if (queryServices_ != null) {
output.writeMessage(5, getQueryServices());
}
if (tx_ != null) {
output.writeMessage(6, getTx());
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (authn_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getAuthn());
}
if (chain_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, getChain());
}
if (codec_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, getCodec());
}
if (configuration_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(4, getConfiguration());
}
if (queryServices_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(5, getQueryServices());
}
if (tx_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(6, getTx());
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof cosmos.base.reflection.v2alpha1.Reflection.AppDescriptor)) {
return super.equals(obj);
}
cosmos.base.reflection.v2alpha1.Reflection.AppDescriptor other = (cosmos.base.reflection.v2alpha1.Reflection.AppDescriptor) obj;
if (hasAuthn() != other.hasAuthn()) return false;
if (hasAuthn()) {
if (!getAuthn()
.equals(other.getAuthn())) return false;
}
if (hasChain() != other.hasChain()) return false;
if (hasChain()) {
if (!getChain()
.equals(other.getChain())) return false;
}
if (hasCodec() != other.hasCodec()) return false;
if (hasCodec()) {
if (!getCodec()
.equals(other.getCodec())) return false;
}
if (hasConfiguration() != other.hasConfiguration()) return false;
if (hasConfiguration()) {
if (!getConfiguration()
.equals(other.getConfiguration())) return false;
}
if (hasQueryServices() != other.hasQueryServices()) return false;
if (hasQueryServices()) {
if (!getQueryServices()
.equals(other.getQueryServices())) return false;
}
if (hasTx() != other.hasTx()) return false;
if (hasTx()) {
if (!getTx()
.equals(other.getTx())) return false;
}
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasAuthn()) {
hash = (37 * hash) + AUTHN_FIELD_NUMBER;
hash = (53 * hash) + getAuthn().hashCode();
}
if (hasChain()) {
hash = (37 * hash) + CHAIN_FIELD_NUMBER;
hash = (53 * hash) + getChain().hashCode();
}
if (hasCodec()) {
hash = (37 * hash) + CODEC_FIELD_NUMBER;
hash = (53 * hash) + getCodec().hashCode();
}
if (hasConfiguration()) {
hash = (37 * hash) + CONFIGURATION_FIELD_NUMBER;
hash = (53 * hash) + getConfiguration().hashCode();
}
if (hasQueryServices()) {
hash = (37 * hash) + QUERY_SERVICES_FIELD_NUMBER;
hash = (53 * hash) + getQueryServices().hashCode();
}
if (hasTx()) {
hash = (37 * hash) + TX_FIELD_NUMBER;
hash = (53 * hash) + getTx().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static cosmos.base.reflection.v2alpha1.Reflection.AppDescriptor parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cosmos.base.reflection.v2alpha1.Reflection.AppDescriptor parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cosmos.base.reflection.v2alpha1.Reflection.AppDescriptor parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cosmos.base.reflection.v2alpha1.Reflection.AppDescriptor parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cosmos.base.reflection.v2alpha1.Reflection.AppDescriptor parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cosmos.base.reflection.v2alpha1.Reflection.AppDescriptor parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cosmos.base.reflection.v2alpha1.Reflection.AppDescriptor parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cosmos.base.reflection.v2alpha1.Reflection.AppDescriptor parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static cosmos.base.reflection.v2alpha1.Reflection.AppDescriptor parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static cosmos.base.reflection.v2alpha1.Reflection.AppDescriptor parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static cosmos.base.reflection.v2alpha1.Reflection.AppDescriptor parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cosmos.base.reflection.v2alpha1.Reflection.AppDescriptor parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(cosmos.base.reflection.v2alpha1.Reflection.AppDescriptor prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
*
* AppDescriptor describes a cosmos-sdk based application
*
*
* Protobuf type {@code cosmos.base.reflection.v2alpha1.AppDescriptor}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:cosmos.base.reflection.v2alpha1.AppDescriptor)
cosmos.base.reflection.v2alpha1.Reflection.AppDescriptorOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return cosmos.base.reflection.v2alpha1.Reflection.internal_static_cosmos_base_reflection_v2alpha1_AppDescriptor_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cosmos.base.reflection.v2alpha1.Reflection.internal_static_cosmos_base_reflection_v2alpha1_AppDescriptor_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cosmos.base.reflection.v2alpha1.Reflection.AppDescriptor.class, cosmos.base.reflection.v2alpha1.Reflection.AppDescriptor.Builder.class);
}
// Construct using cosmos.base.reflection.v2alpha1.Reflection.AppDescriptor.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@java.lang.Override
public Builder clear() {
super.clear();
if (authnBuilder_ == null) {
authn_ = null;
} else {
authn_ = null;
authnBuilder_ = null;
}
if (chainBuilder_ == null) {
chain_ = null;
} else {
chain_ = null;
chainBuilder_ = null;
}
if (codecBuilder_ == null) {
codec_ = null;
} else {
codec_ = null;
codecBuilder_ = null;
}
if (configurationBuilder_ == null) {
configuration_ = null;
} else {
configuration_ = null;
configurationBuilder_ = null;
}
if (queryServicesBuilder_ == null) {
queryServices_ = null;
} else {
queryServices_ = null;
queryServicesBuilder_ = null;
}
if (txBuilder_ == null) {
tx_ = null;
} else {
tx_ = null;
txBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return cosmos.base.reflection.v2alpha1.Reflection.internal_static_cosmos_base_reflection_v2alpha1_AppDescriptor_descriptor;
}
@java.lang.Override
public cosmos.base.reflection.v2alpha1.Reflection.AppDescriptor getDefaultInstanceForType() {
return cosmos.base.reflection.v2alpha1.Reflection.AppDescriptor.getDefaultInstance();
}
@java.lang.Override
public cosmos.base.reflection.v2alpha1.Reflection.AppDescriptor build() {
cosmos.base.reflection.v2alpha1.Reflection.AppDescriptor result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public cosmos.base.reflection.v2alpha1.Reflection.AppDescriptor buildPartial() {
cosmos.base.reflection.v2alpha1.Reflection.AppDescriptor result = new cosmos.base.reflection.v2alpha1.Reflection.AppDescriptor(this);
if (authnBuilder_ == null) {
result.authn_ = authn_;
} else {
result.authn_ = authnBuilder_.build();
}
if (chainBuilder_ == null) {
result.chain_ = chain_;
} else {
result.chain_ = chainBuilder_.build();
}
if (codecBuilder_ == null) {
result.codec_ = codec_;
} else {
result.codec_ = codecBuilder_.build();
}
if (configurationBuilder_ == null) {
result.configuration_ = configuration_;
} else {
result.configuration_ = configurationBuilder_.build();
}
if (queryServicesBuilder_ == null) {
result.queryServices_ = queryServices_;
} else {
result.queryServices_ = queryServicesBuilder_.build();
}
if (txBuilder_ == null) {
result.tx_ = tx_;
} else {
result.tx_ = txBuilder_.build();
}
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof cosmos.base.reflection.v2alpha1.Reflection.AppDescriptor) {
return mergeFrom((cosmos.base.reflection.v2alpha1.Reflection.AppDescriptor)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(cosmos.base.reflection.v2alpha1.Reflection.AppDescriptor other) {
if (other == cosmos.base.reflection.v2alpha1.Reflection.AppDescriptor.getDefaultInstance()) return this;
if (other.hasAuthn()) {
mergeAuthn(other.getAuthn());
}
if (other.hasChain()) {
mergeChain(other.getChain());
}
if (other.hasCodec()) {
mergeCodec(other.getCodec());
}
if (other.hasConfiguration()) {
mergeConfiguration(other.getConfiguration());
}
if (other.hasQueryServices()) {
mergeQueryServices(other.getQueryServices());
}
if (other.hasTx()) {
mergeTx(other.getTx());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
cosmos.base.reflection.v2alpha1.Reflection.AppDescriptor parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (cosmos.base.reflection.v2alpha1.Reflection.AppDescriptor) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private cosmos.base.reflection.v2alpha1.Reflection.AuthnDescriptor authn_;
private com.google.protobuf.SingleFieldBuilderV3<
cosmos.base.reflection.v2alpha1.Reflection.AuthnDescriptor, cosmos.base.reflection.v2alpha1.Reflection.AuthnDescriptor.Builder, cosmos.base.reflection.v2alpha1.Reflection.AuthnDescriptorOrBuilder> authnBuilder_;
/**
*
* AuthnDescriptor provides information on how to authenticate transactions on the application
* NOTE: experimental and subject to change in future releases.
*
*
* .cosmos.base.reflection.v2alpha1.AuthnDescriptor authn = 1;
* @return Whether the authn field is set.
*/
public boolean hasAuthn() {
return authnBuilder_ != null || authn_ != null;
}
/**
*
* AuthnDescriptor provides information on how to authenticate transactions on the application
* NOTE: experimental and subject to change in future releases.
*
*
* .cosmos.base.reflection.v2alpha1.AuthnDescriptor authn = 1;
* @return The authn.
*/
public cosmos.base.reflection.v2alpha1.Reflection.AuthnDescriptor getAuthn() {
if (authnBuilder_ == null) {
return authn_ == null ? cosmos.base.reflection.v2alpha1.Reflection.AuthnDescriptor.getDefaultInstance() : authn_;
} else {
return authnBuilder_.getMessage();
}
}
/**
*
* AuthnDescriptor provides information on how to authenticate transactions on the application
* NOTE: experimental and subject to change in future releases.
*
*
* .cosmos.base.reflection.v2alpha1.AuthnDescriptor authn = 1;
*/
public Builder setAuthn(cosmos.base.reflection.v2alpha1.Reflection.AuthnDescriptor value) {
if (authnBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
authn_ = value;
onChanged();
} else {
authnBuilder_.setMessage(value);
}
return this;
}
/**
*
* AuthnDescriptor provides information on how to authenticate transactions on the application
* NOTE: experimental and subject to change in future releases.
*
*
* .cosmos.base.reflection.v2alpha1.AuthnDescriptor authn = 1;
*/
public Builder setAuthn(
cosmos.base.reflection.v2alpha1.Reflection.AuthnDescriptor.Builder builderForValue) {
if (authnBuilder_ == null) {
authn_ = builderForValue.build();
onChanged();
} else {
authnBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* AuthnDescriptor provides information on how to authenticate transactions on the application
* NOTE: experimental and subject to change in future releases.
*
*
* .cosmos.base.reflection.v2alpha1.AuthnDescriptor authn = 1;
*/
public Builder mergeAuthn(cosmos.base.reflection.v2alpha1.Reflection.AuthnDescriptor value) {
if (authnBuilder_ == null) {
if (authn_ != null) {
authn_ =
cosmos.base.reflection.v2alpha1.Reflection.AuthnDescriptor.newBuilder(authn_).mergeFrom(value).buildPartial();
} else {
authn_ = value;
}
onChanged();
} else {
authnBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* AuthnDescriptor provides information on how to authenticate transactions on the application
* NOTE: experimental and subject to change in future releases.
*
*
* .cosmos.base.reflection.v2alpha1.AuthnDescriptor authn = 1;
*/
public Builder clearAuthn() {
if (authnBuilder_ == null) {
authn_ = null;
onChanged();
} else {
authn_ = null;
authnBuilder_ = null;
}
return this;
}
/**
*
* AuthnDescriptor provides information on how to authenticate transactions on the application
* NOTE: experimental and subject to change in future releases.
*
*
* .cosmos.base.reflection.v2alpha1.AuthnDescriptor authn = 1;
*/
public cosmos.base.reflection.v2alpha1.Reflection.AuthnDescriptor.Builder getAuthnBuilder() {
onChanged();
return getAuthnFieldBuilder().getBuilder();
}
/**
*
* AuthnDescriptor provides information on how to authenticate transactions on the application
* NOTE: experimental and subject to change in future releases.
*
*
* .cosmos.base.reflection.v2alpha1.AuthnDescriptor authn = 1;
*/
public cosmos.base.reflection.v2alpha1.Reflection.AuthnDescriptorOrBuilder getAuthnOrBuilder() {
if (authnBuilder_ != null) {
return authnBuilder_.getMessageOrBuilder();
} else {
return authn_ == null ?
cosmos.base.reflection.v2alpha1.Reflection.AuthnDescriptor.getDefaultInstance() : authn_;
}
}
/**
*
* AuthnDescriptor provides information on how to authenticate transactions on the application
* NOTE: experimental and subject to change in future releases.
*
*
* .cosmos.base.reflection.v2alpha1.AuthnDescriptor authn = 1;
*/
private com.google.protobuf.SingleFieldBuilderV3<
cosmos.base.reflection.v2alpha1.Reflection.AuthnDescriptor, cosmos.base.reflection.v2alpha1.Reflection.AuthnDescriptor.Builder, cosmos.base.reflection.v2alpha1.Reflection.AuthnDescriptorOrBuilder>
getAuthnFieldBuilder() {
if (authnBuilder_ == null) {
authnBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
cosmos.base.reflection.v2alpha1.Reflection.AuthnDescriptor, cosmos.base.reflection.v2alpha1.Reflection.AuthnDescriptor.Builder, cosmos.base.reflection.v2alpha1.Reflection.AuthnDescriptorOrBuilder>(
getAuthn(),
getParentForChildren(),
isClean());
authn_ = null;
}
return authnBuilder_;
}
private cosmos.base.reflection.v2alpha1.Reflection.ChainDescriptor chain_;
private com.google.protobuf.SingleFieldBuilderV3<
cosmos.base.reflection.v2alpha1.Reflection.ChainDescriptor, cosmos.base.reflection.v2alpha1.Reflection.ChainDescriptor.Builder, cosmos.base.reflection.v2alpha1.Reflection.ChainDescriptorOrBuilder> chainBuilder_;
/**
*
* chain provides the chain descriptor
*
*
* .cosmos.base.reflection.v2alpha1.ChainDescriptor chain = 2;
* @return Whether the chain field is set.
*/
public boolean hasChain() {
return chainBuilder_ != null || chain_ != null;
}
/**
*
* chain provides the chain descriptor
*
*
* .cosmos.base.reflection.v2alpha1.ChainDescriptor chain = 2;
* @return The chain.
*/
public cosmos.base.reflection.v2alpha1.Reflection.ChainDescriptor getChain() {
if (chainBuilder_ == null) {
return chain_ == null ? cosmos.base.reflection.v2alpha1.Reflection.ChainDescriptor.getDefaultInstance() : chain_;
} else {
return chainBuilder_.getMessage();
}
}
/**
*
* chain provides the chain descriptor
*
*
* .cosmos.base.reflection.v2alpha1.ChainDescriptor chain = 2;
*/
public Builder setChain(cosmos.base.reflection.v2alpha1.Reflection.ChainDescriptor value) {
if (chainBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
chain_ = value;
onChanged();
} else {
chainBuilder_.setMessage(value);
}
return this;
}
/**
*
* chain provides the chain descriptor
*
*
* .cosmos.base.reflection.v2alpha1.ChainDescriptor chain = 2;
*/
public Builder setChain(
cosmos.base.reflection.v2alpha1.Reflection.ChainDescriptor.Builder builderForValue) {
if (chainBuilder_ == null) {
chain_ = builderForValue.build();
onChanged();
} else {
chainBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* chain provides the chain descriptor
*
*
* .cosmos.base.reflection.v2alpha1.ChainDescriptor chain = 2;
*/
public Builder mergeChain(cosmos.base.reflection.v2alpha1.Reflection.ChainDescriptor value) {
if (chainBuilder_ == null) {
if (chain_ != null) {
chain_ =
cosmos.base.reflection.v2alpha1.Reflection.ChainDescriptor.newBuilder(chain_).mergeFrom(value).buildPartial();
} else {
chain_ = value;
}
onChanged();
} else {
chainBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* chain provides the chain descriptor
*
*
* .cosmos.base.reflection.v2alpha1.ChainDescriptor chain = 2;
*/
public Builder clearChain() {
if (chainBuilder_ == null) {
chain_ = null;
onChanged();
} else {
chain_ = null;
chainBuilder_ = null;
}
return this;
}
/**
*
* chain provides the chain descriptor
*
*
* .cosmos.base.reflection.v2alpha1.ChainDescriptor chain = 2;
*/
public cosmos.base.reflection.v2alpha1.Reflection.ChainDescriptor.Builder getChainBuilder() {
onChanged();
return getChainFieldBuilder().getBuilder();
}
/**
*
* chain provides the chain descriptor
*
*
* .cosmos.base.reflection.v2alpha1.ChainDescriptor chain = 2;
*/
public cosmos.base.reflection.v2alpha1.Reflection.ChainDescriptorOrBuilder getChainOrBuilder() {
if (chainBuilder_ != null) {
return chainBuilder_.getMessageOrBuilder();
} else {
return chain_ == null ?
cosmos.base.reflection.v2alpha1.Reflection.ChainDescriptor.getDefaultInstance() : chain_;
}
}
/**
*
* chain provides the chain descriptor
*
*
* .cosmos.base.reflection.v2alpha1.ChainDescriptor chain = 2;
*/
private com.google.protobuf.SingleFieldBuilderV3<
cosmos.base.reflection.v2alpha1.Reflection.ChainDescriptor, cosmos.base.reflection.v2alpha1.Reflection.ChainDescriptor.Builder, cosmos.base.reflection.v2alpha1.Reflection.ChainDescriptorOrBuilder>
getChainFieldBuilder() {
if (chainBuilder_ == null) {
chainBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
cosmos.base.reflection.v2alpha1.Reflection.ChainDescriptor, cosmos.base.reflection.v2alpha1.Reflection.ChainDescriptor.Builder, cosmos.base.reflection.v2alpha1.Reflection.ChainDescriptorOrBuilder>(
getChain(),
getParentForChildren(),
isClean());
chain_ = null;
}
return chainBuilder_;
}
private cosmos.base.reflection.v2alpha1.Reflection.CodecDescriptor codec_;
private com.google.protobuf.SingleFieldBuilderV3<
cosmos.base.reflection.v2alpha1.Reflection.CodecDescriptor, cosmos.base.reflection.v2alpha1.Reflection.CodecDescriptor.Builder, cosmos.base.reflection.v2alpha1.Reflection.CodecDescriptorOrBuilder> codecBuilder_;
/**
*
* codec provides metadata information regarding codec related types
*
*
* .cosmos.base.reflection.v2alpha1.CodecDescriptor codec = 3;
* @return Whether the codec field is set.
*/
public boolean hasCodec() {
return codecBuilder_ != null || codec_ != null;
}
/**
*
* codec provides metadata information regarding codec related types
*
*
* .cosmos.base.reflection.v2alpha1.CodecDescriptor codec = 3;
* @return The codec.
*/
public cosmos.base.reflection.v2alpha1.Reflection.CodecDescriptor getCodec() {
if (codecBuilder_ == null) {
return codec_ == null ? cosmos.base.reflection.v2alpha1.Reflection.CodecDescriptor.getDefaultInstance() : codec_;
} else {
return codecBuilder_.getMessage();
}
}
/**
*
* codec provides metadata information regarding codec related types
*
*
* .cosmos.base.reflection.v2alpha1.CodecDescriptor codec = 3;
*/
public Builder setCodec(cosmos.base.reflection.v2alpha1.Reflection.CodecDescriptor value) {
if (codecBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
codec_ = value;
onChanged();
} else {
codecBuilder_.setMessage(value);
}
return this;
}
/**
*
* codec provides metadata information regarding codec related types
*
*
* .cosmos.base.reflection.v2alpha1.CodecDescriptor codec = 3;
*/
public Builder setCodec(
cosmos.base.reflection.v2alpha1.Reflection.CodecDescriptor.Builder builderForValue) {
if (codecBuilder_ == null) {
codec_ = builderForValue.build();
onChanged();
} else {
codecBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* codec provides metadata information regarding codec related types
*
*
* .cosmos.base.reflection.v2alpha1.CodecDescriptor codec = 3;
*/
public Builder mergeCodec(cosmos.base.reflection.v2alpha1.Reflection.CodecDescriptor value) {
if (codecBuilder_ == null) {
if (codec_ != null) {
codec_ =
cosmos.base.reflection.v2alpha1.Reflection.CodecDescriptor.newBuilder(codec_).mergeFrom(value).buildPartial();
} else {
codec_ = value;
}
onChanged();
} else {
codecBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* codec provides metadata information regarding codec related types
*
*
* .cosmos.base.reflection.v2alpha1.CodecDescriptor codec = 3;
*/
public Builder clearCodec() {
if (codecBuilder_ == null) {
codec_ = null;
onChanged();
} else {
codec_ = null;
codecBuilder_ = null;
}
return this;
}
/**
*
* codec provides metadata information regarding codec related types
*
*
* .cosmos.base.reflection.v2alpha1.CodecDescriptor codec = 3;
*/
public cosmos.base.reflection.v2alpha1.Reflection.CodecDescriptor.Builder getCodecBuilder() {
onChanged();
return getCodecFieldBuilder().getBuilder();
}
/**
*
* codec provides metadata information regarding codec related types
*
*
* .cosmos.base.reflection.v2alpha1.CodecDescriptor codec = 3;
*/
public cosmos.base.reflection.v2alpha1.Reflection.CodecDescriptorOrBuilder getCodecOrBuilder() {
if (codecBuilder_ != null) {
return codecBuilder_.getMessageOrBuilder();
} else {
return codec_ == null ?
cosmos.base.reflection.v2alpha1.Reflection.CodecDescriptor.getDefaultInstance() : codec_;
}
}
/**
*
* codec provides metadata information regarding codec related types
*
*
* .cosmos.base.reflection.v2alpha1.CodecDescriptor codec = 3;
*/
private com.google.protobuf.SingleFieldBuilderV3<
cosmos.base.reflection.v2alpha1.Reflection.CodecDescriptor, cosmos.base.reflection.v2alpha1.Reflection.CodecDescriptor.Builder, cosmos.base.reflection.v2alpha1.Reflection.CodecDescriptorOrBuilder>
getCodecFieldBuilder() {
if (codecBuilder_ == null) {
codecBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
cosmos.base.reflection.v2alpha1.Reflection.CodecDescriptor, cosmos.base.reflection.v2alpha1.Reflection.CodecDescriptor.Builder, cosmos.base.reflection.v2alpha1.Reflection.CodecDescriptorOrBuilder>(
getCodec(),
getParentForChildren(),
isClean());
codec_ = null;
}
return codecBuilder_;
}
private cosmos.base.reflection.v2alpha1.Reflection.ConfigurationDescriptor configuration_;
private com.google.protobuf.SingleFieldBuilderV3<
cosmos.base.reflection.v2alpha1.Reflection.ConfigurationDescriptor, cosmos.base.reflection.v2alpha1.Reflection.ConfigurationDescriptor.Builder, cosmos.base.reflection.v2alpha1.Reflection.ConfigurationDescriptorOrBuilder> configurationBuilder_;
/**
*
* configuration provides metadata information regarding the sdk.Config type
*
*
* .cosmos.base.reflection.v2alpha1.ConfigurationDescriptor configuration = 4;
* @return Whether the configuration field is set.
*/
public boolean hasConfiguration() {
return configurationBuilder_ != null || configuration_ != null;
}
/**
*
* configuration provides metadata information regarding the sdk.Config type
*
*
* .cosmos.base.reflection.v2alpha1.ConfigurationDescriptor configuration = 4;
* @return The configuration.
*/
public cosmos.base.reflection.v2alpha1.Reflection.ConfigurationDescriptor getConfiguration() {
if (configurationBuilder_ == null) {
return configuration_ == null ? cosmos.base.reflection.v2alpha1.Reflection.ConfigurationDescriptor.getDefaultInstance() : configuration_;
} else {
return configurationBuilder_.getMessage();
}
}
/**
*
* configuration provides metadata information regarding the sdk.Config type
*
*
* .cosmos.base.reflection.v2alpha1.ConfigurationDescriptor configuration = 4;
*/
public Builder setConfiguration(cosmos.base.reflection.v2alpha1.Reflection.ConfigurationDescriptor value) {
if (configurationBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
configuration_ = value;
onChanged();
} else {
configurationBuilder_.setMessage(value);
}
return this;
}
/**
*
* configuration provides metadata information regarding the sdk.Config type
*
*
* .cosmos.base.reflection.v2alpha1.ConfigurationDescriptor configuration = 4;
*/
public Builder setConfiguration(
cosmos.base.reflection.v2alpha1.Reflection.ConfigurationDescriptor.Builder builderForValue) {
if (configurationBuilder_ == null) {
configuration_ = builderForValue.build();
onChanged();
} else {
configurationBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* configuration provides metadata information regarding the sdk.Config type
*
*
* .cosmos.base.reflection.v2alpha1.ConfigurationDescriptor configuration = 4;
*/
public Builder mergeConfiguration(cosmos.base.reflection.v2alpha1.Reflection.ConfigurationDescriptor value) {
if (configurationBuilder_ == null) {
if (configuration_ != null) {
configuration_ =
cosmos.base.reflection.v2alpha1.Reflection.ConfigurationDescriptor.newBuilder(configuration_).mergeFrom(value).buildPartial();
} else {
configuration_ = value;
}
onChanged();
} else {
configurationBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* configuration provides metadata information regarding the sdk.Config type
*
*
* .cosmos.base.reflection.v2alpha1.ConfigurationDescriptor configuration = 4;
*/
public Builder clearConfiguration() {
if (configurationBuilder_ == null) {
configuration_ = null;
onChanged();
} else {
configuration_ = null;
configurationBuilder_ = null;
}
return this;
}
/**
*
* configuration provides metadata information regarding the sdk.Config type
*
*
* .cosmos.base.reflection.v2alpha1.ConfigurationDescriptor configuration = 4;
*/
public cosmos.base.reflection.v2alpha1.Reflection.ConfigurationDescriptor.Builder getConfigurationBuilder() {
onChanged();
return getConfigurationFieldBuilder().getBuilder();
}
/**
*
* configuration provides metadata information regarding the sdk.Config type
*
*
* .cosmos.base.reflection.v2alpha1.ConfigurationDescriptor configuration = 4;
*/
public cosmos.base.reflection.v2alpha1.Reflection.ConfigurationDescriptorOrBuilder getConfigurationOrBuilder() {
if (configurationBuilder_ != null) {
return configurationBuilder_.getMessageOrBuilder();
} else {
return configuration_ == null ?
cosmos.base.reflection.v2alpha1.Reflection.ConfigurationDescriptor.getDefaultInstance() : configuration_;
}
}
/**
*
* configuration provides metadata information regarding the sdk.Config type
*
*
* .cosmos.base.reflection.v2alpha1.ConfigurationDescriptor configuration = 4;
*/
private com.google.protobuf.SingleFieldBuilderV3<
cosmos.base.reflection.v2alpha1.Reflection.ConfigurationDescriptor, cosmos.base.reflection.v2alpha1.Reflection.ConfigurationDescriptor.Builder, cosmos.base.reflection.v2alpha1.Reflection.ConfigurationDescriptorOrBuilder>
getConfigurationFieldBuilder() {
if (configurationBuilder_ == null) {
configurationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
cosmos.base.reflection.v2alpha1.Reflection.ConfigurationDescriptor, cosmos.base.reflection.v2alpha1.Reflection.ConfigurationDescriptor.Builder, cosmos.base.reflection.v2alpha1.Reflection.ConfigurationDescriptorOrBuilder>(
getConfiguration(),
getParentForChildren(),
isClean());
configuration_ = null;
}
return configurationBuilder_;
}
private cosmos.base.reflection.v2alpha1.Reflection.QueryServicesDescriptor queryServices_;
private com.google.protobuf.SingleFieldBuilderV3<
cosmos.base.reflection.v2alpha1.Reflection.QueryServicesDescriptor, cosmos.base.reflection.v2alpha1.Reflection.QueryServicesDescriptor.Builder, cosmos.base.reflection.v2alpha1.Reflection.QueryServicesDescriptorOrBuilder> queryServicesBuilder_;
/**
*
* query_services provides metadata information regarding the available queriable endpoints
*
*
* .cosmos.base.reflection.v2alpha1.QueryServicesDescriptor query_services = 5;
* @return Whether the queryServices field is set.
*/
public boolean hasQueryServices() {
return queryServicesBuilder_ != null || queryServices_ != null;
}
/**
*
* query_services provides metadata information regarding the available queriable endpoints
*
*
* .cosmos.base.reflection.v2alpha1.QueryServicesDescriptor query_services = 5;
* @return The queryServices.
*/
public cosmos.base.reflection.v2alpha1.Reflection.QueryServicesDescriptor getQueryServices() {
if (queryServicesBuilder_ == null) {
return queryServices_ == null ? cosmos.base.reflection.v2alpha1.Reflection.QueryServicesDescriptor.getDefaultInstance() : queryServices_;
} else {
return queryServicesBuilder_.getMessage();
}
}
/**
*
* query_services provides metadata information regarding the available queriable endpoints
*
*
* .cosmos.base.reflection.v2alpha1.QueryServicesDescriptor query_services = 5;
*/
public Builder setQueryServices(cosmos.base.reflection.v2alpha1.Reflection.QueryServicesDescriptor value) {
if (queryServicesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
queryServices_ = value;
onChanged();
} else {
queryServicesBuilder_.setMessage(value);
}
return this;
}
/**
*
* query_services provides metadata information regarding the available queriable endpoints
*
*
* .cosmos.base.reflection.v2alpha1.QueryServicesDescriptor query_services = 5;
*/
public Builder setQueryServices(
cosmos.base.reflection.v2alpha1.Reflection.QueryServicesDescriptor.Builder builderForValue) {
if (queryServicesBuilder_ == null) {
queryServices_ = builderForValue.build();
onChanged();
} else {
queryServicesBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* query_services provides metadata information regarding the available queriable endpoints
*
*
* .cosmos.base.reflection.v2alpha1.QueryServicesDescriptor query_services = 5;
*/
public Builder mergeQueryServices(cosmos.base.reflection.v2alpha1.Reflection.QueryServicesDescriptor value) {
if (queryServicesBuilder_ == null) {
if (queryServices_ != null) {
queryServices_ =
cosmos.base.reflection.v2alpha1.Reflection.QueryServicesDescriptor.newBuilder(queryServices_).mergeFrom(value).buildPartial();
} else {
queryServices_ = value;
}
onChanged();
} else {
queryServicesBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* query_services provides metadata information regarding the available queriable endpoints
*
*
* .cosmos.base.reflection.v2alpha1.QueryServicesDescriptor query_services = 5;
*/
public Builder clearQueryServices() {
if (queryServicesBuilder_ == null) {
queryServices_ = null;
onChanged();
} else {
queryServices_ = null;
queryServicesBuilder_ = null;
}
return this;
}
/**
*
* query_services provides metadata information regarding the available queriable endpoints
*
*
* .cosmos.base.reflection.v2alpha1.QueryServicesDescriptor query_services = 5;
*/
public cosmos.base.reflection.v2alpha1.Reflection.QueryServicesDescriptor.Builder getQueryServicesBuilder() {
onChanged();
return getQueryServicesFieldBuilder().getBuilder();
}
/**
*
* query_services provides metadata information regarding the available queriable endpoints
*
*
* .cosmos.base.reflection.v2alpha1.QueryServicesDescriptor query_services = 5;
*/
public cosmos.base.reflection.v2alpha1.Reflection.QueryServicesDescriptorOrBuilder getQueryServicesOrBuilder() {
if (queryServicesBuilder_ != null) {
return queryServicesBuilder_.getMessageOrBuilder();
} else {
return queryServices_ == null ?
cosmos.base.reflection.v2alpha1.Reflection.QueryServicesDescriptor.getDefaultInstance() : queryServices_;
}
}
/**
*
* query_services provides metadata information regarding the available queriable endpoints
*
*
* .cosmos.base.reflection.v2alpha1.QueryServicesDescriptor query_services = 5;
*/
private com.google.protobuf.SingleFieldBuilderV3<
cosmos.base.reflection.v2alpha1.Reflection.QueryServicesDescriptor, cosmos.base.reflection.v2alpha1.Reflection.QueryServicesDescriptor.Builder, cosmos.base.reflection.v2alpha1.Reflection.QueryServicesDescriptorOrBuilder>
getQueryServicesFieldBuilder() {
if (queryServicesBuilder_ == null) {
queryServicesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
cosmos.base.reflection.v2alpha1.Reflection.QueryServicesDescriptor, cosmos.base.reflection.v2alpha1.Reflection.QueryServicesDescriptor.Builder, cosmos.base.reflection.v2alpha1.Reflection.QueryServicesDescriptorOrBuilder>(
getQueryServices(),
getParentForChildren(),
isClean());
queryServices_ = null;
}
return queryServicesBuilder_;
}
private cosmos.base.reflection.v2alpha1.Reflection.TxDescriptor tx_;
private com.google.protobuf.SingleFieldBuilderV3<
cosmos.base.reflection.v2alpha1.Reflection.TxDescriptor, cosmos.base.reflection.v2alpha1.Reflection.TxDescriptor.Builder, cosmos.base.reflection.v2alpha1.Reflection.TxDescriptorOrBuilder> txBuilder_;
/**
*
* tx provides metadata information regarding how to send transactions to the given application
*
*
* .cosmos.base.reflection.v2alpha1.TxDescriptor tx = 6;
* @return Whether the tx field is set.
*/
public boolean hasTx() {
return txBuilder_ != null || tx_ != null;
}
/**
*
* tx provides metadata information regarding how to send transactions to the given application
*
*
* .cosmos.base.reflection.v2alpha1.TxDescriptor tx = 6;
* @return The tx.
*/
public cosmos.base.reflection.v2alpha1.Reflection.TxDescriptor getTx() {
if (txBuilder_ == null) {
return tx_ == null ? cosmos.base.reflection.v2alpha1.Reflection.TxDescriptor.getDefaultInstance() : tx_;
} else {
return txBuilder_.getMessage();
}
}
/**
*
* tx provides metadata information regarding how to send transactions to the given application
*
*
* .cosmos.base.reflection.v2alpha1.TxDescriptor tx = 6;
*/
public Builder setTx(cosmos.base.reflection.v2alpha1.Reflection.TxDescriptor value) {
if (txBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
tx_ = value;
onChanged();
} else {
txBuilder_.setMessage(value);
}
return this;
}
/**
*
* tx provides metadata information regarding how to send transactions to the given application
*
*
* .cosmos.base.reflection.v2alpha1.TxDescriptor tx = 6;
*/
public Builder setTx(
cosmos.base.reflection.v2alpha1.Reflection.TxDescriptor.Builder builderForValue) {
if (txBuilder_ == null) {
tx_ = builderForValue.build();
onChanged();
} else {
txBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* tx provides metadata information regarding how to send transactions to the given application
*
*
* .cosmos.base.reflection.v2alpha1.TxDescriptor tx = 6;
*/
public Builder mergeTx(cosmos.base.reflection.v2alpha1.Reflection.TxDescriptor value) {
if (txBuilder_ == null) {
if (tx_ != null) {
tx_ =
cosmos.base.reflection.v2alpha1.Reflection.TxDescriptor.newBuilder(tx_).mergeFrom(value).buildPartial();
} else {
tx_ = value;
}
onChanged();
} else {
txBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* tx provides metadata information regarding how to send transactions to the given application
*
*
* .cosmos.base.reflection.v2alpha1.TxDescriptor tx = 6;
*/
public Builder clearTx() {
if (txBuilder_ == null) {
tx_ = null;
onChanged();
} else {
tx_ = null;
txBuilder_ = null;
}
return this;
}
/**
*
* tx provides metadata information regarding how to send transactions to the given application
*
*
* .cosmos.base.reflection.v2alpha1.TxDescriptor tx = 6;
*/
public cosmos.base.reflection.v2alpha1.Reflection.TxDescriptor.Builder getTxBuilder() {
onChanged();
return getTxFieldBuilder().getBuilder();
}
/**
*
* tx provides metadata information regarding how to send transactions to the given application
*
*
* .cosmos.base.reflection.v2alpha1.TxDescriptor tx = 6;
*/
public cosmos.base.reflection.v2alpha1.Reflection.TxDescriptorOrBuilder getTxOrBuilder() {
if (txBuilder_ != null) {
return txBuilder_.getMessageOrBuilder();
} else {
return tx_ == null ?
cosmos.base.reflection.v2alpha1.Reflection.TxDescriptor.getDefaultInstance() : tx_;
}
}
/**
*
* tx provides metadata information regarding how to send transactions to the given application
*
*
* .cosmos.base.reflection.v2alpha1.TxDescriptor tx = 6;
*/
private com.google.protobuf.SingleFieldBuilderV3<
cosmos.base.reflection.v2alpha1.Reflection.TxDescriptor, cosmos.base.reflection.v2alpha1.Reflection.TxDescriptor.Builder, cosmos.base.reflection.v2alpha1.Reflection.TxDescriptorOrBuilder>
getTxFieldBuilder() {
if (txBuilder_ == null) {
txBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
cosmos.base.reflection.v2alpha1.Reflection.TxDescriptor, cosmos.base.reflection.v2alpha1.Reflection.TxDescriptor.Builder, cosmos.base.reflection.v2alpha1.Reflection.TxDescriptorOrBuilder>(
getTx(),
getParentForChildren(),
isClean());
tx_ = null;
}
return txBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:cosmos.base.reflection.v2alpha1.AppDescriptor)
}
// @@protoc_insertion_point(class_scope:cosmos.base.reflection.v2alpha1.AppDescriptor)
private static final cosmos.base.reflection.v2alpha1.Reflection.AppDescriptor DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new cosmos.base.reflection.v2alpha1.Reflection.AppDescriptor();
}
public static cosmos.base.reflection.v2alpha1.Reflection.AppDescriptor getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public AppDescriptor parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new AppDescriptor(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public cosmos.base.reflection.v2alpha1.Reflection.AppDescriptor getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface TxDescriptorOrBuilder extends
// @@protoc_insertion_point(interface_extends:cosmos.base.reflection.v2alpha1.TxDescriptor)
com.google.protobuf.MessageOrBuilder {
/**
*
* fullname is the protobuf fullname of the raw transaction type (for instance the tx.Tx type)
* it is not meant to support polymorphism of transaction types, it is supposed to be used by
* reflection clients to understand if they can handle a specific transaction type in an application.
*
*
* string fullname = 1;
* @return The fullname.
*/
java.lang.String getFullname();
/**
*
* fullname is the protobuf fullname of the raw transaction type (for instance the tx.Tx type)
* it is not meant to support polymorphism of transaction types, it is supposed to be used by
* reflection clients to understand if they can handle a specific transaction type in an application.
*
*
* string fullname = 1;
* @return The bytes for fullname.
*/
com.google.protobuf.ByteString
getFullnameBytes();
/**
*
* msgs lists the accepted application messages (sdk.Msg)
*
*
* repeated .cosmos.base.reflection.v2alpha1.MsgDescriptor msgs = 2;
*/
java.util.List
getMsgsList();
/**
*
* msgs lists the accepted application messages (sdk.Msg)
*
*
* repeated .cosmos.base.reflection.v2alpha1.MsgDescriptor msgs = 2;
*/
cosmos.base.reflection.v2alpha1.Reflection.MsgDescriptor getMsgs(int index);
/**
*
* msgs lists the accepted application messages (sdk.Msg)
*
*
* repeated .cosmos.base.reflection.v2alpha1.MsgDescriptor msgs = 2;
*/
int getMsgsCount();
/**
*
* msgs lists the accepted application messages (sdk.Msg)
*
*
* repeated .cosmos.base.reflection.v2alpha1.MsgDescriptor msgs = 2;
*/
java.util.List extends cosmos.base.reflection.v2alpha1.Reflection.MsgDescriptorOrBuilder>
getMsgsOrBuilderList();
/**
*
* msgs lists the accepted application messages (sdk.Msg)
*
*
* repeated .cosmos.base.reflection.v2alpha1.MsgDescriptor msgs = 2;
*/
cosmos.base.reflection.v2alpha1.Reflection.MsgDescriptorOrBuilder getMsgsOrBuilder(
int index);
}
/**
*
* TxDescriptor describes the accepted transaction type
*
*
* Protobuf type {@code cosmos.base.reflection.v2alpha1.TxDescriptor}
*/
public static final class TxDescriptor extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:cosmos.base.reflection.v2alpha1.TxDescriptor)
TxDescriptorOrBuilder {
private static final long serialVersionUID = 0L;
// Use TxDescriptor.newBuilder() to construct.
private TxDescriptor(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private TxDescriptor() {
fullname_ = "";
msgs_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new TxDescriptor();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private TxDescriptor(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
java.lang.String s = input.readStringRequireUtf8();
fullname_ = s;
break;
}
case 18: {
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
msgs_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000001;
}
msgs_.add(
input.readMessage(cosmos.base.reflection.v2alpha1.Reflection.MsgDescriptor.parser(), extensionRegistry));
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000001) != 0)) {
msgs_ = java.util.Collections.unmodifiableList(msgs_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return cosmos.base.reflection.v2alpha1.Reflection.internal_static_cosmos_base_reflection_v2alpha1_TxDescriptor_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cosmos.base.reflection.v2alpha1.Reflection.internal_static_cosmos_base_reflection_v2alpha1_TxDescriptor_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cosmos.base.reflection.v2alpha1.Reflection.TxDescriptor.class, cosmos.base.reflection.v2alpha1.Reflection.TxDescriptor.Builder.class);
}
public static final int FULLNAME_FIELD_NUMBER = 1;
private volatile java.lang.Object fullname_;
/**
*
* fullname is the protobuf fullname of the raw transaction type (for instance the tx.Tx type)
* it is not meant to support polymorphism of transaction types, it is supposed to be used by
* reflection clients to understand if they can handle a specific transaction type in an application.
*
*
* string fullname = 1;
* @return The fullname.
*/
@java.lang.Override
public java.lang.String getFullname() {
java.lang.Object ref = fullname_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
fullname_ = s;
return s;
}
}
/**
*
* fullname is the protobuf fullname of the raw transaction type (for instance the tx.Tx type)
* it is not meant to support polymorphism of transaction types, it is supposed to be used by
* reflection clients to understand if they can handle a specific transaction type in an application.
*
*
* string fullname = 1;
* @return The bytes for fullname.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getFullnameBytes() {
java.lang.Object ref = fullname_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
fullname_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int MSGS_FIELD_NUMBER = 2;
private java.util.List msgs_;
/**
*
* msgs lists the accepted application messages (sdk.Msg)
*
*
* repeated .cosmos.base.reflection.v2alpha1.MsgDescriptor msgs = 2;
*/
@java.lang.Override
public java.util.List getMsgsList() {
return msgs_;
}
/**
*
* msgs lists the accepted application messages (sdk.Msg)
*
*
* repeated .cosmos.base.reflection.v2alpha1.MsgDescriptor msgs = 2;
*/
@java.lang.Override
public java.util.List extends cosmos.base.reflection.v2alpha1.Reflection.MsgDescriptorOrBuilder>
getMsgsOrBuilderList() {
return msgs_;
}
/**
*
* msgs lists the accepted application messages (sdk.Msg)
*
*
* repeated .cosmos.base.reflection.v2alpha1.MsgDescriptor msgs = 2;
*/
@java.lang.Override
public int getMsgsCount() {
return msgs_.size();
}
/**
*
* msgs lists the accepted application messages (sdk.Msg)
*
*
* repeated .cosmos.base.reflection.v2alpha1.MsgDescriptor msgs = 2;
*/
@java.lang.Override
public cosmos.base.reflection.v2alpha1.Reflection.MsgDescriptor getMsgs(int index) {
return msgs_.get(index);
}
/**
*
* msgs lists the accepted application messages (sdk.Msg)
*
*
* repeated .cosmos.base.reflection.v2alpha1.MsgDescriptor msgs = 2;
*/
@java.lang.Override
public cosmos.base.reflection.v2alpha1.Reflection.MsgDescriptorOrBuilder getMsgsOrBuilder(
int index) {
return msgs_.get(index);
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(fullname_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, fullname_);
}
for (int i = 0; i < msgs_.size(); i++) {
output.writeMessage(2, msgs_.get(i));
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(fullname_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, fullname_);
}
for (int i = 0; i < msgs_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, msgs_.get(i));
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof cosmos.base.reflection.v2alpha1.Reflection.TxDescriptor)) {
return super.equals(obj);
}
cosmos.base.reflection.v2alpha1.Reflection.TxDescriptor other = (cosmos.base.reflection.v2alpha1.Reflection.TxDescriptor) obj;
if (!getFullname()
.equals(other.getFullname())) return false;
if (!getMsgsList()
.equals(other.getMsgsList())) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + FULLNAME_FIELD_NUMBER;
hash = (53 * hash) + getFullname().hashCode();
if (getMsgsCount() > 0) {
hash = (37 * hash) + MSGS_FIELD_NUMBER;
hash = (53 * hash) + getMsgsList().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static cosmos.base.reflection.v2alpha1.Reflection.TxDescriptor parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cosmos.base.reflection.v2alpha1.Reflection.TxDescriptor parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cosmos.base.reflection.v2alpha1.Reflection.TxDescriptor parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cosmos.base.reflection.v2alpha1.Reflection.TxDescriptor parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cosmos.base.reflection.v2alpha1.Reflection.TxDescriptor parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cosmos.base.reflection.v2alpha1.Reflection.TxDescriptor parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cosmos.base.reflection.v2alpha1.Reflection.TxDescriptor parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cosmos.base.reflection.v2alpha1.Reflection.TxDescriptor parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static cosmos.base.reflection.v2alpha1.Reflection.TxDescriptor parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static cosmos.base.reflection.v2alpha1.Reflection.TxDescriptor parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static cosmos.base.reflection.v2alpha1.Reflection.TxDescriptor parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cosmos.base.reflection.v2alpha1.Reflection.TxDescriptor parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(cosmos.base.reflection.v2alpha1.Reflection.TxDescriptor prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
*
* TxDescriptor describes the accepted transaction type
*
*
* Protobuf type {@code cosmos.base.reflection.v2alpha1.TxDescriptor}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:cosmos.base.reflection.v2alpha1.TxDescriptor)
cosmos.base.reflection.v2alpha1.Reflection.TxDescriptorOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return cosmos.base.reflection.v2alpha1.Reflection.internal_static_cosmos_base_reflection_v2alpha1_TxDescriptor_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cosmos.base.reflection.v2alpha1.Reflection.internal_static_cosmos_base_reflection_v2alpha1_TxDescriptor_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cosmos.base.reflection.v2alpha1.Reflection.TxDescriptor.class, cosmos.base.reflection.v2alpha1.Reflection.TxDescriptor.Builder.class);
}
// Construct using cosmos.base.reflection.v2alpha1.Reflection.TxDescriptor.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getMsgsFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
fullname_ = "";
if (msgsBuilder_ == null) {
msgs_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
} else {
msgsBuilder_.clear();
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return cosmos.base.reflection.v2alpha1.Reflection.internal_static_cosmos_base_reflection_v2alpha1_TxDescriptor_descriptor;
}
@java.lang.Override
public cosmos.base.reflection.v2alpha1.Reflection.TxDescriptor getDefaultInstanceForType() {
return cosmos.base.reflection.v2alpha1.Reflection.TxDescriptor.getDefaultInstance();
}
@java.lang.Override
public cosmos.base.reflection.v2alpha1.Reflection.TxDescriptor build() {
cosmos.base.reflection.v2alpha1.Reflection.TxDescriptor result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public cosmos.base.reflection.v2alpha1.Reflection.TxDescriptor buildPartial() {
cosmos.base.reflection.v2alpha1.Reflection.TxDescriptor result = new cosmos.base.reflection.v2alpha1.Reflection.TxDescriptor(this);
int from_bitField0_ = bitField0_;
result.fullname_ = fullname_;
if (msgsBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
msgs_ = java.util.Collections.unmodifiableList(msgs_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.msgs_ = msgs_;
} else {
result.msgs_ = msgsBuilder_.build();
}
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof cosmos.base.reflection.v2alpha1.Reflection.TxDescriptor) {
return mergeFrom((cosmos.base.reflection.v2alpha1.Reflection.TxDescriptor)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(cosmos.base.reflection.v2alpha1.Reflection.TxDescriptor other) {
if (other == cosmos.base.reflection.v2alpha1.Reflection.TxDescriptor.getDefaultInstance()) return this;
if (!other.getFullname().isEmpty()) {
fullname_ = other.fullname_;
onChanged();
}
if (msgsBuilder_ == null) {
if (!other.msgs_.isEmpty()) {
if (msgs_.isEmpty()) {
msgs_ = other.msgs_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureMsgsIsMutable();
msgs_.addAll(other.msgs_);
}
onChanged();
}
} else {
if (!other.msgs_.isEmpty()) {
if (msgsBuilder_.isEmpty()) {
msgsBuilder_.dispose();
msgsBuilder_ = null;
msgs_ = other.msgs_;
bitField0_ = (bitField0_ & ~0x00000001);
msgsBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getMsgsFieldBuilder() : null;
} else {
msgsBuilder_.addAllMessages(other.msgs_);
}
}
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
cosmos.base.reflection.v2alpha1.Reflection.TxDescriptor parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (cosmos.base.reflection.v2alpha1.Reflection.TxDescriptor) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.lang.Object fullname_ = "";
/**
*
* fullname is the protobuf fullname of the raw transaction type (for instance the tx.Tx type)
* it is not meant to support polymorphism of transaction types, it is supposed to be used by
* reflection clients to understand if they can handle a specific transaction type in an application.
*
*
* string fullname = 1;
* @return The fullname.
*/
public java.lang.String getFullname() {
java.lang.Object ref = fullname_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
fullname_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* fullname is the protobuf fullname of the raw transaction type (for instance the tx.Tx type)
* it is not meant to support polymorphism of transaction types, it is supposed to be used by
* reflection clients to understand if they can handle a specific transaction type in an application.
*
*
* string fullname = 1;
* @return The bytes for fullname.
*/
public com.google.protobuf.ByteString
getFullnameBytes() {
java.lang.Object ref = fullname_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
fullname_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* fullname is the protobuf fullname of the raw transaction type (for instance the tx.Tx type)
* it is not meant to support polymorphism of transaction types, it is supposed to be used by
* reflection clients to understand if they can handle a specific transaction type in an application.
*
*
* string fullname = 1;
* @param value The fullname to set.
* @return This builder for chaining.
*/
public Builder setFullname(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
fullname_ = value;
onChanged();
return this;
}
/**
*
* fullname is the protobuf fullname of the raw transaction type (for instance the tx.Tx type)
* it is not meant to support polymorphism of transaction types, it is supposed to be used by
* reflection clients to understand if they can handle a specific transaction type in an application.
*
*
* string fullname = 1;
* @return This builder for chaining.
*/
public Builder clearFullname() {
fullname_ = getDefaultInstance().getFullname();
onChanged();
return this;
}
/**
*
* fullname is the protobuf fullname of the raw transaction type (for instance the tx.Tx type)
* it is not meant to support polymorphism of transaction types, it is supposed to be used by
* reflection clients to understand if they can handle a specific transaction type in an application.
*
*
* string fullname = 1;
* @param value The bytes for fullname to set.
* @return This builder for chaining.
*/
public Builder setFullnameBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
fullname_ = value;
onChanged();
return this;
}
private java.util.List msgs_ =
java.util.Collections.emptyList();
private void ensureMsgsIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
msgs_ = new java.util.ArrayList(msgs_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
cosmos.base.reflection.v2alpha1.Reflection.MsgDescriptor, cosmos.base.reflection.v2alpha1.Reflection.MsgDescriptor.Builder, cosmos.base.reflection.v2alpha1.Reflection.MsgDescriptorOrBuilder> msgsBuilder_;
/**
*
* msgs lists the accepted application messages (sdk.Msg)
*
*
* repeated .cosmos.base.reflection.v2alpha1.MsgDescriptor msgs = 2;
*/
public java.util.List getMsgsList() {
if (msgsBuilder_ == null) {
return java.util.Collections.unmodifiableList(msgs_);
} else {
return msgsBuilder_.getMessageList();
}
}
/**
*
* msgs lists the accepted application messages (sdk.Msg)
*
*
* repeated .cosmos.base.reflection.v2alpha1.MsgDescriptor msgs = 2;
*/
public int getMsgsCount() {
if (msgsBuilder_ == null) {
return msgs_.size();
} else {
return msgsBuilder_.getCount();
}
}
/**
*
* msgs lists the accepted application messages (sdk.Msg)
*
*
* repeated .cosmos.base.reflection.v2alpha1.MsgDescriptor msgs = 2;
*/
public cosmos.base.reflection.v2alpha1.Reflection.MsgDescriptor getMsgs(int index) {
if (msgsBuilder_ == null) {
return msgs_.get(index);
} else {
return msgsBuilder_.getMessage(index);
}
}
/**
*
* msgs lists the accepted application messages (sdk.Msg)
*
*
* repeated .cosmos.base.reflection.v2alpha1.MsgDescriptor msgs = 2;
*/
public Builder setMsgs(
int index, cosmos.base.reflection.v2alpha1.Reflection.MsgDescriptor value) {
if (msgsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureMsgsIsMutable();
msgs_.set(index, value);
onChanged();
} else {
msgsBuilder_.setMessage(index, value);
}
return this;
}
/**
*
* msgs lists the accepted application messages (sdk.Msg)
*
*
* repeated .cosmos.base.reflection.v2alpha1.MsgDescriptor msgs = 2;
*/
public Builder setMsgs(
int index, cosmos.base.reflection.v2alpha1.Reflection.MsgDescriptor.Builder builderForValue) {
if (msgsBuilder_ == null) {
ensureMsgsIsMutable();
msgs_.set(index, builderForValue.build());
onChanged();
} else {
msgsBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
*
* msgs lists the accepted application messages (sdk.Msg)
*
*
* repeated .cosmos.base.reflection.v2alpha1.MsgDescriptor msgs = 2;
*/
public Builder addMsgs(cosmos.base.reflection.v2alpha1.Reflection.MsgDescriptor value) {
if (msgsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureMsgsIsMutable();
msgs_.add(value);
onChanged();
} else {
msgsBuilder_.addMessage(value);
}
return this;
}
/**
*
* msgs lists the accepted application messages (sdk.Msg)
*
*
* repeated .cosmos.base.reflection.v2alpha1.MsgDescriptor msgs = 2;
*/
public Builder addMsgs(
int index, cosmos.base.reflection.v2alpha1.Reflection.MsgDescriptor value) {
if (msgsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureMsgsIsMutable();
msgs_.add(index, value);
onChanged();
} else {
msgsBuilder_.addMessage(index, value);
}
return this;
}
/**
*
* msgs lists the accepted application messages (sdk.Msg)
*
*
* repeated .cosmos.base.reflection.v2alpha1.MsgDescriptor msgs = 2;
*/
public Builder addMsgs(
cosmos.base.reflection.v2alpha1.Reflection.MsgDescriptor.Builder builderForValue) {
if (msgsBuilder_ == null) {
ensureMsgsIsMutable();
msgs_.add(builderForValue.build());
onChanged();
} else {
msgsBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
*
* msgs lists the accepted application messages (sdk.Msg)
*
*
* repeated .cosmos.base.reflection.v2alpha1.MsgDescriptor msgs = 2;
*/
public Builder addMsgs(
int index, cosmos.base.reflection.v2alpha1.Reflection.MsgDescriptor.Builder builderForValue) {
if (msgsBuilder_ == null) {
ensureMsgsIsMutable();
msgs_.add(index, builderForValue.build());
onChanged();
} else {
msgsBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
*
* msgs lists the accepted application messages (sdk.Msg)
*
*
* repeated .cosmos.base.reflection.v2alpha1.MsgDescriptor msgs = 2;
*/
public Builder addAllMsgs(
java.lang.Iterable extends cosmos.base.reflection.v2alpha1.Reflection.MsgDescriptor> values) {
if (msgsBuilder_ == null) {
ensureMsgsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, msgs_);
onChanged();
} else {
msgsBuilder_.addAllMessages(values);
}
return this;
}
/**
*
* msgs lists the accepted application messages (sdk.Msg)
*
*
* repeated .cosmos.base.reflection.v2alpha1.MsgDescriptor msgs = 2;
*/
public Builder clearMsgs() {
if (msgsBuilder_ == null) {
msgs_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
msgsBuilder_.clear();
}
return this;
}
/**
*
* msgs lists the accepted application messages (sdk.Msg)
*
*
* repeated .cosmos.base.reflection.v2alpha1.MsgDescriptor msgs = 2;
*/
public Builder removeMsgs(int index) {
if (msgsBuilder_ == null) {
ensureMsgsIsMutable();
msgs_.remove(index);
onChanged();
} else {
msgsBuilder_.remove(index);
}
return this;
}
/**
*
* msgs lists the accepted application messages (sdk.Msg)
*
*
* repeated .cosmos.base.reflection.v2alpha1.MsgDescriptor msgs = 2;
*/
public cosmos.base.reflection.v2alpha1.Reflection.MsgDescriptor.Builder getMsgsBuilder(
int index) {
return getMsgsFieldBuilder().getBuilder(index);
}
/**
*
* msgs lists the accepted application messages (sdk.Msg)
*
*
* repeated .cosmos.base.reflection.v2alpha1.MsgDescriptor msgs = 2;
*/
public cosmos.base.reflection.v2alpha1.Reflection.MsgDescriptorOrBuilder getMsgsOrBuilder(
int index) {
if (msgsBuilder_ == null) {
return msgs_.get(index); } else {
return msgsBuilder_.getMessageOrBuilder(index);
}
}
/**
*
* msgs lists the accepted application messages (sdk.Msg)
*
*
* repeated .cosmos.base.reflection.v2alpha1.MsgDescriptor msgs = 2;
*/
public java.util.List extends cosmos.base.reflection.v2alpha1.Reflection.MsgDescriptorOrBuilder>
getMsgsOrBuilderList() {
if (msgsBuilder_ != null) {
return msgsBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(msgs_);
}
}
/**
*
* msgs lists the accepted application messages (sdk.Msg)
*
*
* repeated .cosmos.base.reflection.v2alpha1.MsgDescriptor msgs = 2;
*/
public cosmos.base.reflection.v2alpha1.Reflection.MsgDescriptor.Builder addMsgsBuilder() {
return getMsgsFieldBuilder().addBuilder(
cosmos.base.reflection.v2alpha1.Reflection.MsgDescriptor.getDefaultInstance());
}
/**
*
* msgs lists the accepted application messages (sdk.Msg)
*
*
* repeated .cosmos.base.reflection.v2alpha1.MsgDescriptor msgs = 2;
*/
public cosmos.base.reflection.v2alpha1.Reflection.MsgDescriptor.Builder addMsgsBuilder(
int index) {
return getMsgsFieldBuilder().addBuilder(
index, cosmos.base.reflection.v2alpha1.Reflection.MsgDescriptor.getDefaultInstance());
}
/**
*
* msgs lists the accepted application messages (sdk.Msg)
*
*
* repeated .cosmos.base.reflection.v2alpha1.MsgDescriptor msgs = 2;
*/
public java.util.List
getMsgsBuilderList() {
return getMsgsFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
cosmos.base.reflection.v2alpha1.Reflection.MsgDescriptor, cosmos.base.reflection.v2alpha1.Reflection.MsgDescriptor.Builder, cosmos.base.reflection.v2alpha1.Reflection.MsgDescriptorOrBuilder>
getMsgsFieldBuilder() {
if (msgsBuilder_ == null) {
msgsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
cosmos.base.reflection.v2alpha1.Reflection.MsgDescriptor, cosmos.base.reflection.v2alpha1.Reflection.MsgDescriptor.Builder, cosmos.base.reflection.v2alpha1.Reflection.MsgDescriptorOrBuilder>(
msgs_,
((bitField0_ & 0x00000001) != 0),
getParentForChildren(),
isClean());
msgs_ = null;
}
return msgsBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:cosmos.base.reflection.v2alpha1.TxDescriptor)
}
// @@protoc_insertion_point(class_scope:cosmos.base.reflection.v2alpha1.TxDescriptor)
private static final cosmos.base.reflection.v2alpha1.Reflection.TxDescriptor DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new cosmos.base.reflection.v2alpha1.Reflection.TxDescriptor();
}
public static cosmos.base.reflection.v2alpha1.Reflection.TxDescriptor getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public TxDescriptor parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new TxDescriptor(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public cosmos.base.reflection.v2alpha1.Reflection.TxDescriptor getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface AuthnDescriptorOrBuilder extends
// @@protoc_insertion_point(interface_extends:cosmos.base.reflection.v2alpha1.AuthnDescriptor)
com.google.protobuf.MessageOrBuilder {
/**
*
* sign_modes defines the supported signature algorithm
*
*
* repeated .cosmos.base.reflection.v2alpha1.SigningModeDescriptor sign_modes = 1;
*/
java.util.List
getSignModesList();
/**
*
* sign_modes defines the supported signature algorithm
*
*
* repeated .cosmos.base.reflection.v2alpha1.SigningModeDescriptor sign_modes = 1;
*/
cosmos.base.reflection.v2alpha1.Reflection.SigningModeDescriptor getSignModes(int index);
/**
*
* sign_modes defines the supported signature algorithm
*
*
* repeated .cosmos.base.reflection.v2alpha1.SigningModeDescriptor sign_modes = 1;
*/
int getSignModesCount();
/**
*
* sign_modes defines the supported signature algorithm
*
*
* repeated .cosmos.base.reflection.v2alpha1.SigningModeDescriptor sign_modes = 1;
*/
java.util.List extends cosmos.base.reflection.v2alpha1.Reflection.SigningModeDescriptorOrBuilder>
getSignModesOrBuilderList();
/**
*
* sign_modes defines the supported signature algorithm
*
*
* repeated .cosmos.base.reflection.v2alpha1.SigningModeDescriptor sign_modes = 1;
*/
cosmos.base.reflection.v2alpha1.Reflection.SigningModeDescriptorOrBuilder getSignModesOrBuilder(
int index);
}
/**
*
* AuthnDescriptor provides information on how to sign transactions without relying
* on the online RPCs GetTxMetadata and CombineUnsignedTxAndSignatures
*
*
* Protobuf type {@code cosmos.base.reflection.v2alpha1.AuthnDescriptor}
*/
public static final class AuthnDescriptor extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:cosmos.base.reflection.v2alpha1.AuthnDescriptor)
AuthnDescriptorOrBuilder {
private static final long serialVersionUID = 0L;
// Use AuthnDescriptor.newBuilder() to construct.
private AuthnDescriptor(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private AuthnDescriptor() {
signModes_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new AuthnDescriptor();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private AuthnDescriptor(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
signModes_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000001;
}
signModes_.add(
input.readMessage(cosmos.base.reflection.v2alpha1.Reflection.SigningModeDescriptor.parser(), extensionRegistry));
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000001) != 0)) {
signModes_ = java.util.Collections.unmodifiableList(signModes_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return cosmos.base.reflection.v2alpha1.Reflection.internal_static_cosmos_base_reflection_v2alpha1_AuthnDescriptor_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cosmos.base.reflection.v2alpha1.Reflection.internal_static_cosmos_base_reflection_v2alpha1_AuthnDescriptor_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cosmos.base.reflection.v2alpha1.Reflection.AuthnDescriptor.class, cosmos.base.reflection.v2alpha1.Reflection.AuthnDescriptor.Builder.class);
}
public static final int SIGN_MODES_FIELD_NUMBER = 1;
private java.util.List signModes_;
/**
*
* sign_modes defines the supported signature algorithm
*
*
* repeated .cosmos.base.reflection.v2alpha1.SigningModeDescriptor sign_modes = 1;
*/
@java.lang.Override
public java.util.List getSignModesList() {
return signModes_;
}
/**
*
* sign_modes defines the supported signature algorithm
*
*
* repeated .cosmos.base.reflection.v2alpha1.SigningModeDescriptor sign_modes = 1;
*/
@java.lang.Override
public java.util.List extends cosmos.base.reflection.v2alpha1.Reflection.SigningModeDescriptorOrBuilder>
getSignModesOrBuilderList() {
return signModes_;
}
/**
*
* sign_modes defines the supported signature algorithm
*
*
* repeated .cosmos.base.reflection.v2alpha1.SigningModeDescriptor sign_modes = 1;
*/
@java.lang.Override
public int getSignModesCount() {
return signModes_.size();
}
/**
*
* sign_modes defines the supported signature algorithm
*
*
* repeated .cosmos.base.reflection.v2alpha1.SigningModeDescriptor sign_modes = 1;
*/
@java.lang.Override
public cosmos.base.reflection.v2alpha1.Reflection.SigningModeDescriptor getSignModes(int index) {
return signModes_.get(index);
}
/**
*
* sign_modes defines the supported signature algorithm
*
*
* repeated .cosmos.base.reflection.v2alpha1.SigningModeDescriptor sign_modes = 1;
*/
@java.lang.Override
public cosmos.base.reflection.v2alpha1.Reflection.SigningModeDescriptorOrBuilder getSignModesOrBuilder(
int index) {
return signModes_.get(index);
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
for (int i = 0; i < signModes_.size(); i++) {
output.writeMessage(1, signModes_.get(i));
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
for (int i = 0; i < signModes_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, signModes_.get(i));
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof cosmos.base.reflection.v2alpha1.Reflection.AuthnDescriptor)) {
return super.equals(obj);
}
cosmos.base.reflection.v2alpha1.Reflection.AuthnDescriptor other = (cosmos.base.reflection.v2alpha1.Reflection.AuthnDescriptor) obj;
if (!getSignModesList()
.equals(other.getSignModesList())) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (getSignModesCount() > 0) {
hash = (37 * hash) + SIGN_MODES_FIELD_NUMBER;
hash = (53 * hash) + getSignModesList().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static cosmos.base.reflection.v2alpha1.Reflection.AuthnDescriptor parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cosmos.base.reflection.v2alpha1.Reflection.AuthnDescriptor parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cosmos.base.reflection.v2alpha1.Reflection.AuthnDescriptor parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cosmos.base.reflection.v2alpha1.Reflection.AuthnDescriptor parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cosmos.base.reflection.v2alpha1.Reflection.AuthnDescriptor parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cosmos.base.reflection.v2alpha1.Reflection.AuthnDescriptor parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cosmos.base.reflection.v2alpha1.Reflection.AuthnDescriptor parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cosmos.base.reflection.v2alpha1.Reflection.AuthnDescriptor parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static cosmos.base.reflection.v2alpha1.Reflection.AuthnDescriptor parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static cosmos.base.reflection.v2alpha1.Reflection.AuthnDescriptor parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static cosmos.base.reflection.v2alpha1.Reflection.AuthnDescriptor parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cosmos.base.reflection.v2alpha1.Reflection.AuthnDescriptor parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(cosmos.base.reflection.v2alpha1.Reflection.AuthnDescriptor prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
*
* AuthnDescriptor provides information on how to sign transactions without relying
* on the online RPCs GetTxMetadata and CombineUnsignedTxAndSignatures
*
*
* Protobuf type {@code cosmos.base.reflection.v2alpha1.AuthnDescriptor}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:cosmos.base.reflection.v2alpha1.AuthnDescriptor)
cosmos.base.reflection.v2alpha1.Reflection.AuthnDescriptorOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return cosmos.base.reflection.v2alpha1.Reflection.internal_static_cosmos_base_reflection_v2alpha1_AuthnDescriptor_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cosmos.base.reflection.v2alpha1.Reflection.internal_static_cosmos_base_reflection_v2alpha1_AuthnDescriptor_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cosmos.base.reflection.v2alpha1.Reflection.AuthnDescriptor.class, cosmos.base.reflection.v2alpha1.Reflection.AuthnDescriptor.Builder.class);
}
// Construct using cosmos.base.reflection.v2alpha1.Reflection.AuthnDescriptor.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getSignModesFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
if (signModesBuilder_ == null) {
signModes_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
} else {
signModesBuilder_.clear();
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return cosmos.base.reflection.v2alpha1.Reflection.internal_static_cosmos_base_reflection_v2alpha1_AuthnDescriptor_descriptor;
}
@java.lang.Override
public cosmos.base.reflection.v2alpha1.Reflection.AuthnDescriptor getDefaultInstanceForType() {
return cosmos.base.reflection.v2alpha1.Reflection.AuthnDescriptor.getDefaultInstance();
}
@java.lang.Override
public cosmos.base.reflection.v2alpha1.Reflection.AuthnDescriptor build() {
cosmos.base.reflection.v2alpha1.Reflection.AuthnDescriptor result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public cosmos.base.reflection.v2alpha1.Reflection.AuthnDescriptor buildPartial() {
cosmos.base.reflection.v2alpha1.Reflection.AuthnDescriptor result = new cosmos.base.reflection.v2alpha1.Reflection.AuthnDescriptor(this);
int from_bitField0_ = bitField0_;
if (signModesBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
signModes_ = java.util.Collections.unmodifiableList(signModes_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.signModes_ = signModes_;
} else {
result.signModes_ = signModesBuilder_.build();
}
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof cosmos.base.reflection.v2alpha1.Reflection.AuthnDescriptor) {
return mergeFrom((cosmos.base.reflection.v2alpha1.Reflection.AuthnDescriptor)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(cosmos.base.reflection.v2alpha1.Reflection.AuthnDescriptor other) {
if (other == cosmos.base.reflection.v2alpha1.Reflection.AuthnDescriptor.getDefaultInstance()) return this;
if (signModesBuilder_ == null) {
if (!other.signModes_.isEmpty()) {
if (signModes_.isEmpty()) {
signModes_ = other.signModes_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureSignModesIsMutable();
signModes_.addAll(other.signModes_);
}
onChanged();
}
} else {
if (!other.signModes_.isEmpty()) {
if (signModesBuilder_.isEmpty()) {
signModesBuilder_.dispose();
signModesBuilder_ = null;
signModes_ = other.signModes_;
bitField0_ = (bitField0_ & ~0x00000001);
signModesBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getSignModesFieldBuilder() : null;
} else {
signModesBuilder_.addAllMessages(other.signModes_);
}
}
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
cosmos.base.reflection.v2alpha1.Reflection.AuthnDescriptor parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (cosmos.base.reflection.v2alpha1.Reflection.AuthnDescriptor) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.util.List signModes_ =
java.util.Collections.emptyList();
private void ensureSignModesIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
signModes_ = new java.util.ArrayList(signModes_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
cosmos.base.reflection.v2alpha1.Reflection.SigningModeDescriptor, cosmos.base.reflection.v2alpha1.Reflection.SigningModeDescriptor.Builder, cosmos.base.reflection.v2alpha1.Reflection.SigningModeDescriptorOrBuilder> signModesBuilder_;
/**
*
* sign_modes defines the supported signature algorithm
*
*
* repeated .cosmos.base.reflection.v2alpha1.SigningModeDescriptor sign_modes = 1;
*/
public java.util.List getSignModesList() {
if (signModesBuilder_ == null) {
return java.util.Collections.unmodifiableList(signModes_);
} else {
return signModesBuilder_.getMessageList();
}
}
/**
*
* sign_modes defines the supported signature algorithm
*
*
* repeated .cosmos.base.reflection.v2alpha1.SigningModeDescriptor sign_modes = 1;
*/
public int getSignModesCount() {
if (signModesBuilder_ == null) {
return signModes_.size();
} else {
return signModesBuilder_.getCount();
}
}
/**
*
* sign_modes defines the supported signature algorithm
*
*
* repeated .cosmos.base.reflection.v2alpha1.SigningModeDescriptor sign_modes = 1;
*/
public cosmos.base.reflection.v2alpha1.Reflection.SigningModeDescriptor getSignModes(int index) {
if (signModesBuilder_ == null) {
return signModes_.get(index);
} else {
return signModesBuilder_.getMessage(index);
}
}
/**
*
* sign_modes defines the supported signature algorithm
*
*
* repeated .cosmos.base.reflection.v2alpha1.SigningModeDescriptor sign_modes = 1;
*/
public Builder setSignModes(
int index, cosmos.base.reflection.v2alpha1.Reflection.SigningModeDescriptor value) {
if (signModesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureSignModesIsMutable();
signModes_.set(index, value);
onChanged();
} else {
signModesBuilder_.setMessage(index, value);
}
return this;
}
/**
*
* sign_modes defines the supported signature algorithm
*
*
* repeated .cosmos.base.reflection.v2alpha1.SigningModeDescriptor sign_modes = 1;
*/
public Builder setSignModes(
int index, cosmos.base.reflection.v2alpha1.Reflection.SigningModeDescriptor.Builder builderForValue) {
if (signModesBuilder_ == null) {
ensureSignModesIsMutable();
signModes_.set(index, builderForValue.build());
onChanged();
} else {
signModesBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
*
* sign_modes defines the supported signature algorithm
*
*
* repeated .cosmos.base.reflection.v2alpha1.SigningModeDescriptor sign_modes = 1;
*/
public Builder addSignModes(cosmos.base.reflection.v2alpha1.Reflection.SigningModeDescriptor value) {
if (signModesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureSignModesIsMutable();
signModes_.add(value);
onChanged();
} else {
signModesBuilder_.addMessage(value);
}
return this;
}
/**
*
* sign_modes defines the supported signature algorithm
*
*
* repeated .cosmos.base.reflection.v2alpha1.SigningModeDescriptor sign_modes = 1;
*/
public Builder addSignModes(
int index, cosmos.base.reflection.v2alpha1.Reflection.SigningModeDescriptor value) {
if (signModesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureSignModesIsMutable();
signModes_.add(index, value);
onChanged();
} else {
signModesBuilder_.addMessage(index, value);
}
return this;
}
/**
*
* sign_modes defines the supported signature algorithm
*
*
* repeated .cosmos.base.reflection.v2alpha1.SigningModeDescriptor sign_modes = 1;
*/
public Builder addSignModes(
cosmos.base.reflection.v2alpha1.Reflection.SigningModeDescriptor.Builder builderForValue) {
if (signModesBuilder_ == null) {
ensureSignModesIsMutable();
signModes_.add(builderForValue.build());
onChanged();
} else {
signModesBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
*
* sign_modes defines the supported signature algorithm
*
*
* repeated .cosmos.base.reflection.v2alpha1.SigningModeDescriptor sign_modes = 1;
*/
public Builder addSignModes(
int index, cosmos.base.reflection.v2alpha1.Reflection.SigningModeDescriptor.Builder builderForValue) {
if (signModesBuilder_ == null) {
ensureSignModesIsMutable();
signModes_.add(index, builderForValue.build());
onChanged();
} else {
signModesBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
*
* sign_modes defines the supported signature algorithm
*
*
* repeated .cosmos.base.reflection.v2alpha1.SigningModeDescriptor sign_modes = 1;
*/
public Builder addAllSignModes(
java.lang.Iterable extends cosmos.base.reflection.v2alpha1.Reflection.SigningModeDescriptor> values) {
if (signModesBuilder_ == null) {
ensureSignModesIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, signModes_);
onChanged();
} else {
signModesBuilder_.addAllMessages(values);
}
return this;
}
/**
*
* sign_modes defines the supported signature algorithm
*
*
* repeated .cosmos.base.reflection.v2alpha1.SigningModeDescriptor sign_modes = 1;
*/
public Builder clearSignModes() {
if (signModesBuilder_ == null) {
signModes_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
signModesBuilder_.clear();
}
return this;
}
/**
*
* sign_modes defines the supported signature algorithm
*
*
* repeated .cosmos.base.reflection.v2alpha1.SigningModeDescriptor sign_modes = 1;
*/
public Builder removeSignModes(int index) {
if (signModesBuilder_ == null) {
ensureSignModesIsMutable();
signModes_.remove(index);
onChanged();
} else {
signModesBuilder_.remove(index);
}
return this;
}
/**
*
* sign_modes defines the supported signature algorithm
*
*
* repeated .cosmos.base.reflection.v2alpha1.SigningModeDescriptor sign_modes = 1;
*/
public cosmos.base.reflection.v2alpha1.Reflection.SigningModeDescriptor.Builder getSignModesBuilder(
int index) {
return getSignModesFieldBuilder().getBuilder(index);
}
/**
*
* sign_modes defines the supported signature algorithm
*
*
* repeated .cosmos.base.reflection.v2alpha1.SigningModeDescriptor sign_modes = 1;
*/
public cosmos.base.reflection.v2alpha1.Reflection.SigningModeDescriptorOrBuilder getSignModesOrBuilder(
int index) {
if (signModesBuilder_ == null) {
return signModes_.get(index); } else {
return signModesBuilder_.getMessageOrBuilder(index);
}
}
/**
*
* sign_modes defines the supported signature algorithm
*
*
* repeated .cosmos.base.reflection.v2alpha1.SigningModeDescriptor sign_modes = 1;
*/
public java.util.List extends cosmos.base.reflection.v2alpha1.Reflection.SigningModeDescriptorOrBuilder>
getSignModesOrBuilderList() {
if (signModesBuilder_ != null) {
return signModesBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(signModes_);
}
}
/**
*
* sign_modes defines the supported signature algorithm
*
*
* repeated .cosmos.base.reflection.v2alpha1.SigningModeDescriptor sign_modes = 1;
*/
public cosmos.base.reflection.v2alpha1.Reflection.SigningModeDescriptor.Builder addSignModesBuilder() {
return getSignModesFieldBuilder().addBuilder(
cosmos.base.reflection.v2alpha1.Reflection.SigningModeDescriptor.getDefaultInstance());
}
/**
*
* sign_modes defines the supported signature algorithm
*
*
* repeated .cosmos.base.reflection.v2alpha1.SigningModeDescriptor sign_modes = 1;
*/
public cosmos.base.reflection.v2alpha1.Reflection.SigningModeDescriptor.Builder addSignModesBuilder(
int index) {
return getSignModesFieldBuilder().addBuilder(
index, cosmos.base.reflection.v2alpha1.Reflection.SigningModeDescriptor.getDefaultInstance());
}
/**
*
* sign_modes defines the supported signature algorithm
*
*
* repeated .cosmos.base.reflection.v2alpha1.SigningModeDescriptor sign_modes = 1;
*/
public java.util.List
getSignModesBuilderList() {
return getSignModesFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
cosmos.base.reflection.v2alpha1.Reflection.SigningModeDescriptor, cosmos.base.reflection.v2alpha1.Reflection.SigningModeDescriptor.Builder, cosmos.base.reflection.v2alpha1.Reflection.SigningModeDescriptorOrBuilder>
getSignModesFieldBuilder() {
if (signModesBuilder_ == null) {
signModesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
cosmos.base.reflection.v2alpha1.Reflection.SigningModeDescriptor, cosmos.base.reflection.v2alpha1.Reflection.SigningModeDescriptor.Builder, cosmos.base.reflection.v2alpha1.Reflection.SigningModeDescriptorOrBuilder>(
signModes_,
((bitField0_ & 0x00000001) != 0),
getParentForChildren(),
isClean());
signModes_ = null;
}
return signModesBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:cosmos.base.reflection.v2alpha1.AuthnDescriptor)
}
// @@protoc_insertion_point(class_scope:cosmos.base.reflection.v2alpha1.AuthnDescriptor)
private static final cosmos.base.reflection.v2alpha1.Reflection.AuthnDescriptor DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new cosmos.base.reflection.v2alpha1.Reflection.AuthnDescriptor();
}
public static cosmos.base.reflection.v2alpha1.Reflection.AuthnDescriptor getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public AuthnDescriptor parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new AuthnDescriptor(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public cosmos.base.reflection.v2alpha1.Reflection.AuthnDescriptor getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface SigningModeDescriptorOrBuilder extends
// @@protoc_insertion_point(interface_extends:cosmos.base.reflection.v2alpha1.SigningModeDescriptor)
com.google.protobuf.MessageOrBuilder {
/**
*
* name defines the unique name of the signing mode
*
*
* string name = 1;
* @return The name.
*/
java.lang.String getName();
/**
*
* name defines the unique name of the signing mode
*
*
* string name = 1;
* @return The bytes for name.
*/
com.google.protobuf.ByteString
getNameBytes();
/**
*
* number is the unique int32 identifier for the sign_mode enum
*
*
* int32 number = 2;
* @return The number.
*/
int getNumber();
/**
*
* authn_info_provider_method_fullname defines the fullname of the method to call to get
* the metadata required to authenticate using the provided sign_modes
*
*
* string authn_info_provider_method_fullname = 3;
* @return The authnInfoProviderMethodFullname.
*/
java.lang.String getAuthnInfoProviderMethodFullname();
/**
*
* authn_info_provider_method_fullname defines the fullname of the method to call to get
* the metadata required to authenticate using the provided sign_modes
*
*
* string authn_info_provider_method_fullname = 3;
* @return The bytes for authnInfoProviderMethodFullname.
*/
com.google.protobuf.ByteString
getAuthnInfoProviderMethodFullnameBytes();
}
/**
*
* SigningModeDescriptor provides information on a signing flow of the application
* NOTE(fdymylja): here we could go as far as providing an entire flow on how
* to sign a message given a SigningModeDescriptor, but it's better to think about
* this another time
*
*
* Protobuf type {@code cosmos.base.reflection.v2alpha1.SigningModeDescriptor}
*/
public static final class SigningModeDescriptor extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:cosmos.base.reflection.v2alpha1.SigningModeDescriptor)
SigningModeDescriptorOrBuilder {
private static final long serialVersionUID = 0L;
// Use SigningModeDescriptor.newBuilder() to construct.
private SigningModeDescriptor(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private SigningModeDescriptor() {
name_ = "";
authnInfoProviderMethodFullname_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new SigningModeDescriptor();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private SigningModeDescriptor(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
java.lang.String s = input.readStringRequireUtf8();
name_ = s;
break;
}
case 16: {
number_ = input.readInt32();
break;
}
case 26: {
java.lang.String s = input.readStringRequireUtf8();
authnInfoProviderMethodFullname_ = s;
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return cosmos.base.reflection.v2alpha1.Reflection.internal_static_cosmos_base_reflection_v2alpha1_SigningModeDescriptor_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cosmos.base.reflection.v2alpha1.Reflection.internal_static_cosmos_base_reflection_v2alpha1_SigningModeDescriptor_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cosmos.base.reflection.v2alpha1.Reflection.SigningModeDescriptor.class, cosmos.base.reflection.v2alpha1.Reflection.SigningModeDescriptor.Builder.class);
}
public static final int NAME_FIELD_NUMBER = 1;
private volatile java.lang.Object name_;
/**
*
* name defines the unique name of the signing mode
*
*
* string name = 1;
* @return The name.
*/
@java.lang.Override
public java.lang.String getName() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
name_ = s;
return s;
}
}
/**
*
* name defines the unique name of the signing mode
*
*
* string name = 1;
* @return The bytes for name.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
name_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int NUMBER_FIELD_NUMBER = 2;
private int number_;
/**
*
* number is the unique int32 identifier for the sign_mode enum
*
*
* int32 number = 2;
* @return The number.
*/
@java.lang.Override
public int getNumber() {
return number_;
}
public static final int AUTHN_INFO_PROVIDER_METHOD_FULLNAME_FIELD_NUMBER = 3;
private volatile java.lang.Object authnInfoProviderMethodFullname_;
/**
*
* authn_info_provider_method_fullname defines the fullname of the method to call to get
* the metadata required to authenticate using the provided sign_modes
*
*
* string authn_info_provider_method_fullname = 3;
* @return The authnInfoProviderMethodFullname.
*/
@java.lang.Override
public java.lang.String getAuthnInfoProviderMethodFullname() {
java.lang.Object ref = authnInfoProviderMethodFullname_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
authnInfoProviderMethodFullname_ = s;
return s;
}
}
/**
*
* authn_info_provider_method_fullname defines the fullname of the method to call to get
* the metadata required to authenticate using the provided sign_modes
*
*
* string authn_info_provider_method_fullname = 3;
* @return The bytes for authnInfoProviderMethodFullname.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getAuthnInfoProviderMethodFullnameBytes() {
java.lang.Object ref = authnInfoProviderMethodFullname_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
authnInfoProviderMethodFullname_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
}
if (number_ != 0) {
output.writeInt32(2, number_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(authnInfoProviderMethodFullname_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, authnInfoProviderMethodFullname_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_);
}
if (number_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(2, number_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(authnInfoProviderMethodFullname_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, authnInfoProviderMethodFullname_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof cosmos.base.reflection.v2alpha1.Reflection.SigningModeDescriptor)) {
return super.equals(obj);
}
cosmos.base.reflection.v2alpha1.Reflection.SigningModeDescriptor other = (cosmos.base.reflection.v2alpha1.Reflection.SigningModeDescriptor) obj;
if (!getName()
.equals(other.getName())) return false;
if (getNumber()
!= other.getNumber()) return false;
if (!getAuthnInfoProviderMethodFullname()
.equals(other.getAuthnInfoProviderMethodFullname())) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + NAME_FIELD_NUMBER;
hash = (53 * hash) + getName().hashCode();
hash = (37 * hash) + NUMBER_FIELD_NUMBER;
hash = (53 * hash) + getNumber();
hash = (37 * hash) + AUTHN_INFO_PROVIDER_METHOD_FULLNAME_FIELD_NUMBER;
hash = (53 * hash) + getAuthnInfoProviderMethodFullname().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static cosmos.base.reflection.v2alpha1.Reflection.SigningModeDescriptor parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cosmos.base.reflection.v2alpha1.Reflection.SigningModeDescriptor parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cosmos.base.reflection.v2alpha1.Reflection.SigningModeDescriptor parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cosmos.base.reflection.v2alpha1.Reflection.SigningModeDescriptor parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cosmos.base.reflection.v2alpha1.Reflection.SigningModeDescriptor parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cosmos.base.reflection.v2alpha1.Reflection.SigningModeDescriptor parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cosmos.base.reflection.v2alpha1.Reflection.SigningModeDescriptor parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cosmos.base.reflection.v2alpha1.Reflection.SigningModeDescriptor parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static cosmos.base.reflection.v2alpha1.Reflection.SigningModeDescriptor parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static cosmos.base.reflection.v2alpha1.Reflection.SigningModeDescriptor parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static cosmos.base.reflection.v2alpha1.Reflection.SigningModeDescriptor parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cosmos.base.reflection.v2alpha1.Reflection.SigningModeDescriptor parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(cosmos.base.reflection.v2alpha1.Reflection.SigningModeDescriptor prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
*
* SigningModeDescriptor provides information on a signing flow of the application
* NOTE(fdymylja): here we could go as far as providing an entire flow on how
* to sign a message given a SigningModeDescriptor, but it's better to think about
* this another time
*
*
* Protobuf type {@code cosmos.base.reflection.v2alpha1.SigningModeDescriptor}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:cosmos.base.reflection.v2alpha1.SigningModeDescriptor)
cosmos.base.reflection.v2alpha1.Reflection.SigningModeDescriptorOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return cosmos.base.reflection.v2alpha1.Reflection.internal_static_cosmos_base_reflection_v2alpha1_SigningModeDescriptor_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cosmos.base.reflection.v2alpha1.Reflection.internal_static_cosmos_base_reflection_v2alpha1_SigningModeDescriptor_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cosmos.base.reflection.v2alpha1.Reflection.SigningModeDescriptor.class, cosmos.base.reflection.v2alpha1.Reflection.SigningModeDescriptor.Builder.class);
}
// Construct using cosmos.base.reflection.v2alpha1.Reflection.SigningModeDescriptor.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@java.lang.Override
public Builder clear() {
super.clear();
name_ = "";
number_ = 0;
authnInfoProviderMethodFullname_ = "";
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return cosmos.base.reflection.v2alpha1.Reflection.internal_static_cosmos_base_reflection_v2alpha1_SigningModeDescriptor_descriptor;
}
@java.lang.Override
public cosmos.base.reflection.v2alpha1.Reflection.SigningModeDescriptor getDefaultInstanceForType() {
return cosmos.base.reflection.v2alpha1.Reflection.SigningModeDescriptor.getDefaultInstance();
}
@java.lang.Override
public cosmos.base.reflection.v2alpha1.Reflection.SigningModeDescriptor build() {
cosmos.base.reflection.v2alpha1.Reflection.SigningModeDescriptor result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public cosmos.base.reflection.v2alpha1.Reflection.SigningModeDescriptor buildPartial() {
cosmos.base.reflection.v2alpha1.Reflection.SigningModeDescriptor result = new cosmos.base.reflection.v2alpha1.Reflection.SigningModeDescriptor(this);
result.name_ = name_;
result.number_ = number_;
result.authnInfoProviderMethodFullname_ = authnInfoProviderMethodFullname_;
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof cosmos.base.reflection.v2alpha1.Reflection.SigningModeDescriptor) {
return mergeFrom((cosmos.base.reflection.v2alpha1.Reflection.SigningModeDescriptor)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(cosmos.base.reflection.v2alpha1.Reflection.SigningModeDescriptor other) {
if (other == cosmos.base.reflection.v2alpha1.Reflection.SigningModeDescriptor.getDefaultInstance()) return this;
if (!other.getName().isEmpty()) {
name_ = other.name_;
onChanged();
}
if (other.getNumber() != 0) {
setNumber(other.getNumber());
}
if (!other.getAuthnInfoProviderMethodFullname().isEmpty()) {
authnInfoProviderMethodFullname_ = other.authnInfoProviderMethodFullname_;
onChanged();
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
cosmos.base.reflection.v2alpha1.Reflection.SigningModeDescriptor parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (cosmos.base.reflection.v2alpha1.Reflection.SigningModeDescriptor) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private java.lang.Object name_ = "";
/**
*
* name defines the unique name of the signing mode
*
*
* string name = 1;
* @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
name_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* name defines the unique name of the signing mode
*
*
* string name = 1;
* @return The bytes for name.
*/
public com.google.protobuf.ByteString
getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
name_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* name defines the unique name of the signing mode
*
*
* string name = 1;
* @param value The name to set.
* @return This builder for chaining.
*/
public Builder setName(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
name_ = value;
onChanged();
return this;
}
/**
*
* name defines the unique name of the signing mode
*
*
* string name = 1;
* @return This builder for chaining.
*/
public Builder clearName() {
name_ = getDefaultInstance().getName();
onChanged();
return this;
}
/**
*
* name defines the unique name of the signing mode
*
*
* string name = 1;
* @param value The bytes for name to set.
* @return This builder for chaining.
*/
public Builder setNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
name_ = value;
onChanged();
return this;
}
private int number_ ;
/**
*
* number is the unique int32 identifier for the sign_mode enum
*
*
* int32 number = 2;
* @return The number.
*/
@java.lang.Override
public int getNumber() {
return number_;
}
/**
*
* number is the unique int32 identifier for the sign_mode enum
*
*
* int32 number = 2;
* @param value The number to set.
* @return This builder for chaining.
*/
public Builder setNumber(int value) {
number_ = value;
onChanged();
return this;
}
/**
*
* number is the unique int32 identifier for the sign_mode enum
*
*
* int32 number = 2;
* @return This builder for chaining.
*/
public Builder clearNumber() {
number_ = 0;
onChanged();
return this;
}
private java.lang.Object authnInfoProviderMethodFullname_ = "";
/**
*
* authn_info_provider_method_fullname defines the fullname of the method to call to get
* the metadata required to authenticate using the provided sign_modes
*
*
* string authn_info_provider_method_fullname = 3;
* @return The authnInfoProviderMethodFullname.
*/
public java.lang.String getAuthnInfoProviderMethodFullname() {
java.lang.Object ref = authnInfoProviderMethodFullname_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
authnInfoProviderMethodFullname_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* authn_info_provider_method_fullname defines the fullname of the method to call to get
* the metadata required to authenticate using the provided sign_modes
*
*
* string authn_info_provider_method_fullname = 3;
* @return The bytes for authnInfoProviderMethodFullname.
*/
public com.google.protobuf.ByteString
getAuthnInfoProviderMethodFullnameBytes() {
java.lang.Object ref = authnInfoProviderMethodFullname_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
authnInfoProviderMethodFullname_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* authn_info_provider_method_fullname defines the fullname of the method to call to get
* the metadata required to authenticate using the provided sign_modes
*
*
* string authn_info_provider_method_fullname = 3;
* @param value The authnInfoProviderMethodFullname to set.
* @return This builder for chaining.
*/
public Builder setAuthnInfoProviderMethodFullname(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
authnInfoProviderMethodFullname_ = value;
onChanged();
return this;
}
/**
*
* authn_info_provider_method_fullname defines the fullname of the method to call to get
* the metadata required to authenticate using the provided sign_modes
*
*
* string authn_info_provider_method_fullname = 3;
* @return This builder for chaining.
*/
public Builder clearAuthnInfoProviderMethodFullname() {
authnInfoProviderMethodFullname_ = getDefaultInstance().getAuthnInfoProviderMethodFullname();
onChanged();
return this;
}
/**
*
* authn_info_provider_method_fullname defines the fullname of the method to call to get
* the metadata required to authenticate using the provided sign_modes
*
*
* string authn_info_provider_method_fullname = 3;
* @param value The bytes for authnInfoProviderMethodFullname to set.
* @return This builder for chaining.
*/
public Builder setAuthnInfoProviderMethodFullnameBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
authnInfoProviderMethodFullname_ = value;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:cosmos.base.reflection.v2alpha1.SigningModeDescriptor)
}
// @@protoc_insertion_point(class_scope:cosmos.base.reflection.v2alpha1.SigningModeDescriptor)
private static final cosmos.base.reflection.v2alpha1.Reflection.SigningModeDescriptor DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new cosmos.base.reflection.v2alpha1.Reflection.SigningModeDescriptor();
}
public static cosmos.base.reflection.v2alpha1.Reflection.SigningModeDescriptor getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public SigningModeDescriptor parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new SigningModeDescriptor(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public cosmos.base.reflection.v2alpha1.Reflection.SigningModeDescriptor getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface ChainDescriptorOrBuilder extends
// @@protoc_insertion_point(interface_extends:cosmos.base.reflection.v2alpha1.ChainDescriptor)
com.google.protobuf.MessageOrBuilder {
/**
*
* id is the chain id
*
*
* string id = 1;
* @return The id.
*/
java.lang.String getId();
/**
*
* id is the chain id
*
*
* string id = 1;
* @return The bytes for id.
*/
com.google.protobuf.ByteString
getIdBytes();
}
/**
*
* ChainDescriptor describes chain information of the application
*
*
* Protobuf type {@code cosmos.base.reflection.v2alpha1.ChainDescriptor}
*/
public static final class ChainDescriptor extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:cosmos.base.reflection.v2alpha1.ChainDescriptor)
ChainDescriptorOrBuilder {
private static final long serialVersionUID = 0L;
// Use ChainDescriptor.newBuilder() to construct.
private ChainDescriptor(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private ChainDescriptor() {
id_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new ChainDescriptor();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private ChainDescriptor(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
java.lang.String s = input.readStringRequireUtf8();
id_ = s;
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return cosmos.base.reflection.v2alpha1.Reflection.internal_static_cosmos_base_reflection_v2alpha1_ChainDescriptor_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cosmos.base.reflection.v2alpha1.Reflection.internal_static_cosmos_base_reflection_v2alpha1_ChainDescriptor_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cosmos.base.reflection.v2alpha1.Reflection.ChainDescriptor.class, cosmos.base.reflection.v2alpha1.Reflection.ChainDescriptor.Builder.class);
}
public static final int ID_FIELD_NUMBER = 1;
private volatile java.lang.Object id_;
/**
*
* id is the chain id
*
*
* string id = 1;
* @return The id.
*/
@java.lang.Override
public java.lang.String getId() {
java.lang.Object ref = id_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
id_ = s;
return s;
}
}
/**
*
* id is the chain id
*
*
* string id = 1;
* @return The bytes for id.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getIdBytes() {
java.lang.Object ref = id_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
id_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(id_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, id_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(id_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, id_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof cosmos.base.reflection.v2alpha1.Reflection.ChainDescriptor)) {
return super.equals(obj);
}
cosmos.base.reflection.v2alpha1.Reflection.ChainDescriptor other = (cosmos.base.reflection.v2alpha1.Reflection.ChainDescriptor) obj;
if (!getId()
.equals(other.getId())) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + ID_FIELD_NUMBER;
hash = (53 * hash) + getId().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static cosmos.base.reflection.v2alpha1.Reflection.ChainDescriptor parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cosmos.base.reflection.v2alpha1.Reflection.ChainDescriptor parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cosmos.base.reflection.v2alpha1.Reflection.ChainDescriptor parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cosmos.base.reflection.v2alpha1.Reflection.ChainDescriptor parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cosmos.base.reflection.v2alpha1.Reflection.ChainDescriptor parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cosmos.base.reflection.v2alpha1.Reflection.ChainDescriptor parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cosmos.base.reflection.v2alpha1.Reflection.ChainDescriptor parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cosmos.base.reflection.v2alpha1.Reflection.ChainDescriptor parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static cosmos.base.reflection.v2alpha1.Reflection.ChainDescriptor parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static cosmos.base.reflection.v2alpha1.Reflection.ChainDescriptor parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static cosmos.base.reflection.v2alpha1.Reflection.ChainDescriptor parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cosmos.base.reflection.v2alpha1.Reflection.ChainDescriptor parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(cosmos.base.reflection.v2alpha1.Reflection.ChainDescriptor prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
*
* ChainDescriptor describes chain information of the application
*
*
* Protobuf type {@code cosmos.base.reflection.v2alpha1.ChainDescriptor}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:cosmos.base.reflection.v2alpha1.ChainDescriptor)
cosmos.base.reflection.v2alpha1.Reflection.ChainDescriptorOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return cosmos.base.reflection.v2alpha1.Reflection.internal_static_cosmos_base_reflection_v2alpha1_ChainDescriptor_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cosmos.base.reflection.v2alpha1.Reflection.internal_static_cosmos_base_reflection_v2alpha1_ChainDescriptor_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cosmos.base.reflection.v2alpha1.Reflection.ChainDescriptor.class, cosmos.base.reflection.v2alpha1.Reflection.ChainDescriptor.Builder.class);
}
// Construct using cosmos.base.reflection.v2alpha1.Reflection.ChainDescriptor.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@java.lang.Override
public Builder clear() {
super.clear();
id_ = "";
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return cosmos.base.reflection.v2alpha1.Reflection.internal_static_cosmos_base_reflection_v2alpha1_ChainDescriptor_descriptor;
}
@java.lang.Override
public cosmos.base.reflection.v2alpha1.Reflection.ChainDescriptor getDefaultInstanceForType() {
return cosmos.base.reflection.v2alpha1.Reflection.ChainDescriptor.getDefaultInstance();
}
@java.lang.Override
public cosmos.base.reflection.v2alpha1.Reflection.ChainDescriptor build() {
cosmos.base.reflection.v2alpha1.Reflection.ChainDescriptor result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public cosmos.base.reflection.v2alpha1.Reflection.ChainDescriptor buildPartial() {
cosmos.base.reflection.v2alpha1.Reflection.ChainDescriptor result = new cosmos.base.reflection.v2alpha1.Reflection.ChainDescriptor(this);
result.id_ = id_;
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof cosmos.base.reflection.v2alpha1.Reflection.ChainDescriptor) {
return mergeFrom((cosmos.base.reflection.v2alpha1.Reflection.ChainDescriptor)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(cosmos.base.reflection.v2alpha1.Reflection.ChainDescriptor other) {
if (other == cosmos.base.reflection.v2alpha1.Reflection.ChainDescriptor.getDefaultInstance()) return this;
if (!other.getId().isEmpty()) {
id_ = other.id_;
onChanged();
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
cosmos.base.reflection.v2alpha1.Reflection.ChainDescriptor parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (cosmos.base.reflection.v2alpha1.Reflection.ChainDescriptor) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private java.lang.Object id_ = "";
/**
*
* id is the chain id
*
*
* string id = 1;
* @return The id.
*/
public java.lang.String getId() {
java.lang.Object ref = id_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
id_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* id is the chain id
*
*
* string id = 1;
* @return The bytes for id.
*/
public com.google.protobuf.ByteString
getIdBytes() {
java.lang.Object ref = id_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
id_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* id is the chain id
*
*
* string id = 1;
* @param value The id to set.
* @return This builder for chaining.
*/
public Builder setId(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
id_ = value;
onChanged();
return this;
}
/**
*
* id is the chain id
*
*
* string id = 1;
* @return This builder for chaining.
*/
public Builder clearId() {
id_ = getDefaultInstance().getId();
onChanged();
return this;
}
/**
*
* id is the chain id
*
*
* string id = 1;
* @param value The bytes for id to set.
* @return This builder for chaining.
*/
public Builder setIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
id_ = value;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:cosmos.base.reflection.v2alpha1.ChainDescriptor)
}
// @@protoc_insertion_point(class_scope:cosmos.base.reflection.v2alpha1.ChainDescriptor)
private static final cosmos.base.reflection.v2alpha1.Reflection.ChainDescriptor DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new cosmos.base.reflection.v2alpha1.Reflection.ChainDescriptor();
}
public static cosmos.base.reflection.v2alpha1.Reflection.ChainDescriptor getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public ChainDescriptor parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new ChainDescriptor(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public cosmos.base.reflection.v2alpha1.Reflection.ChainDescriptor getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface CodecDescriptorOrBuilder extends
// @@protoc_insertion_point(interface_extends:cosmos.base.reflection.v2alpha1.CodecDescriptor)
com.google.protobuf.MessageOrBuilder {
/**
*
* interfaces is a list of the registerted interfaces descriptors
*
*
* repeated .cosmos.base.reflection.v2alpha1.InterfaceDescriptor interfaces = 1;
*/
java.util.List
getInterfacesList();
/**
*
* interfaces is a list of the registerted interfaces descriptors
*
*
* repeated .cosmos.base.reflection.v2alpha1.InterfaceDescriptor interfaces = 1;
*/
cosmos.base.reflection.v2alpha1.Reflection.InterfaceDescriptor getInterfaces(int index);
/**
*
* interfaces is a list of the registerted interfaces descriptors
*
*
* repeated .cosmos.base.reflection.v2alpha1.InterfaceDescriptor interfaces = 1;
*/
int getInterfacesCount();
/**
*
* interfaces is a list of the registerted interfaces descriptors
*
*
* repeated .cosmos.base.reflection.v2alpha1.InterfaceDescriptor interfaces = 1;
*/
java.util.List extends cosmos.base.reflection.v2alpha1.Reflection.InterfaceDescriptorOrBuilder>
getInterfacesOrBuilderList();
/**
*
* interfaces is a list of the registerted interfaces descriptors
*
*
* repeated .cosmos.base.reflection.v2alpha1.InterfaceDescriptor interfaces = 1;
*/
cosmos.base.reflection.v2alpha1.Reflection.InterfaceDescriptorOrBuilder getInterfacesOrBuilder(
int index);
}
/**
*
* CodecDescriptor describes the registered interfaces and provides metadata information on the types
*
*
* Protobuf type {@code cosmos.base.reflection.v2alpha1.CodecDescriptor}
*/
public static final class CodecDescriptor extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:cosmos.base.reflection.v2alpha1.CodecDescriptor)
CodecDescriptorOrBuilder {
private static final long serialVersionUID = 0L;
// Use CodecDescriptor.newBuilder() to construct.
private CodecDescriptor(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private CodecDescriptor() {
interfaces_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new CodecDescriptor();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private CodecDescriptor(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
interfaces_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000001;
}
interfaces_.add(
input.readMessage(cosmos.base.reflection.v2alpha1.Reflection.InterfaceDescriptor.parser(), extensionRegistry));
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000001) != 0)) {
interfaces_ = java.util.Collections.unmodifiableList(interfaces_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return cosmos.base.reflection.v2alpha1.Reflection.internal_static_cosmos_base_reflection_v2alpha1_CodecDescriptor_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cosmos.base.reflection.v2alpha1.Reflection.internal_static_cosmos_base_reflection_v2alpha1_CodecDescriptor_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cosmos.base.reflection.v2alpha1.Reflection.CodecDescriptor.class, cosmos.base.reflection.v2alpha1.Reflection.CodecDescriptor.Builder.class);
}
public static final int INTERFACES_FIELD_NUMBER = 1;
private java.util.List interfaces_;
/**
*
* interfaces is a list of the registerted interfaces descriptors
*
*
* repeated .cosmos.base.reflection.v2alpha1.InterfaceDescriptor interfaces = 1;
*/
@java.lang.Override
public java.util.List getInterfacesList() {
return interfaces_;
}
/**
*
* interfaces is a list of the registerted interfaces descriptors
*
*
* repeated .cosmos.base.reflection.v2alpha1.InterfaceDescriptor interfaces = 1;
*/
@java.lang.Override
public java.util.List extends cosmos.base.reflection.v2alpha1.Reflection.InterfaceDescriptorOrBuilder>
getInterfacesOrBuilderList() {
return interfaces_;
}
/**
*
* interfaces is a list of the registerted interfaces descriptors
*
*
* repeated .cosmos.base.reflection.v2alpha1.InterfaceDescriptor interfaces = 1;
*/
@java.lang.Override
public int getInterfacesCount() {
return interfaces_.size();
}
/**
*
* interfaces is a list of the registerted interfaces descriptors
*
*
* repeated .cosmos.base.reflection.v2alpha1.InterfaceDescriptor interfaces = 1;
*/
@java.lang.Override
public cosmos.base.reflection.v2alpha1.Reflection.InterfaceDescriptor getInterfaces(int index) {
return interfaces_.get(index);
}
/**
*
* interfaces is a list of the registerted interfaces descriptors
*
*
* repeated .cosmos.base.reflection.v2alpha1.InterfaceDescriptor interfaces = 1;
*/
@java.lang.Override
public cosmos.base.reflection.v2alpha1.Reflection.InterfaceDescriptorOrBuilder getInterfacesOrBuilder(
int index) {
return interfaces_.get(index);
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
for (int i = 0; i < interfaces_.size(); i++) {
output.writeMessage(1, interfaces_.get(i));
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
for (int i = 0; i < interfaces_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, interfaces_.get(i));
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof cosmos.base.reflection.v2alpha1.Reflection.CodecDescriptor)) {
return super.equals(obj);
}
cosmos.base.reflection.v2alpha1.Reflection.CodecDescriptor other = (cosmos.base.reflection.v2alpha1.Reflection.CodecDescriptor) obj;
if (!getInterfacesList()
.equals(other.getInterfacesList())) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (getInterfacesCount() > 0) {
hash = (37 * hash) + INTERFACES_FIELD_NUMBER;
hash = (53 * hash) + getInterfacesList().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static cosmos.base.reflection.v2alpha1.Reflection.CodecDescriptor parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cosmos.base.reflection.v2alpha1.Reflection.CodecDescriptor parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cosmos.base.reflection.v2alpha1.Reflection.CodecDescriptor parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cosmos.base.reflection.v2alpha1.Reflection.CodecDescriptor parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cosmos.base.reflection.v2alpha1.Reflection.CodecDescriptor parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cosmos.base.reflection.v2alpha1.Reflection.CodecDescriptor parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cosmos.base.reflection.v2alpha1.Reflection.CodecDescriptor parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cosmos.base.reflection.v2alpha1.Reflection.CodecDescriptor parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static cosmos.base.reflection.v2alpha1.Reflection.CodecDescriptor parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static cosmos.base.reflection.v2alpha1.Reflection.CodecDescriptor parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static cosmos.base.reflection.v2alpha1.Reflection.CodecDescriptor parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cosmos.base.reflection.v2alpha1.Reflection.CodecDescriptor parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(cosmos.base.reflection.v2alpha1.Reflection.CodecDescriptor prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
*
* CodecDescriptor describes the registered interfaces and provides metadata information on the types
*
*
* Protobuf type {@code cosmos.base.reflection.v2alpha1.CodecDescriptor}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:cosmos.base.reflection.v2alpha1.CodecDescriptor)
cosmos.base.reflection.v2alpha1.Reflection.CodecDescriptorOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return cosmos.base.reflection.v2alpha1.Reflection.internal_static_cosmos_base_reflection_v2alpha1_CodecDescriptor_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cosmos.base.reflection.v2alpha1.Reflection.internal_static_cosmos_base_reflection_v2alpha1_CodecDescriptor_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cosmos.base.reflection.v2alpha1.Reflection.CodecDescriptor.class, cosmos.base.reflection.v2alpha1.Reflection.CodecDescriptor.Builder.class);
}
// Construct using cosmos.base.reflection.v2alpha1.Reflection.CodecDescriptor.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getInterfacesFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
if (interfacesBuilder_ == null) {
interfaces_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
} else {
interfacesBuilder_.clear();
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return cosmos.base.reflection.v2alpha1.Reflection.internal_static_cosmos_base_reflection_v2alpha1_CodecDescriptor_descriptor;
}
@java.lang.Override
public cosmos.base.reflection.v2alpha1.Reflection.CodecDescriptor getDefaultInstanceForType() {
return cosmos.base.reflection.v2alpha1.Reflection.CodecDescriptor.getDefaultInstance();
}
@java.lang.Override
public cosmos.base.reflection.v2alpha1.Reflection.CodecDescriptor build() {
cosmos.base.reflection.v2alpha1.Reflection.CodecDescriptor result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public cosmos.base.reflection.v2alpha1.Reflection.CodecDescriptor buildPartial() {
cosmos.base.reflection.v2alpha1.Reflection.CodecDescriptor result = new cosmos.base.reflection.v2alpha1.Reflection.CodecDescriptor(this);
int from_bitField0_ = bitField0_;
if (interfacesBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
interfaces_ = java.util.Collections.unmodifiableList(interfaces_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.interfaces_ = interfaces_;
} else {
result.interfaces_ = interfacesBuilder_.build();
}
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof cosmos.base.reflection.v2alpha1.Reflection.CodecDescriptor) {
return mergeFrom((cosmos.base.reflection.v2alpha1.Reflection.CodecDescriptor)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(cosmos.base.reflection.v2alpha1.Reflection.CodecDescriptor other) {
if (other == cosmos.base.reflection.v2alpha1.Reflection.CodecDescriptor.getDefaultInstance()) return this;
if (interfacesBuilder_ == null) {
if (!other.interfaces_.isEmpty()) {
if (interfaces_.isEmpty()) {
interfaces_ = other.interfaces_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureInterfacesIsMutable();
interfaces_.addAll(other.interfaces_);
}
onChanged();
}
} else {
if (!other.interfaces_.isEmpty()) {
if (interfacesBuilder_.isEmpty()) {
interfacesBuilder_.dispose();
interfacesBuilder_ = null;
interfaces_ = other.interfaces_;
bitField0_ = (bitField0_ & ~0x00000001);
interfacesBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getInterfacesFieldBuilder() : null;
} else {
interfacesBuilder_.addAllMessages(other.interfaces_);
}
}
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
cosmos.base.reflection.v2alpha1.Reflection.CodecDescriptor parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (cosmos.base.reflection.v2alpha1.Reflection.CodecDescriptor) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.util.List interfaces_ =
java.util.Collections.emptyList();
private void ensureInterfacesIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
interfaces_ = new java.util.ArrayList(interfaces_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
cosmos.base.reflection.v2alpha1.Reflection.InterfaceDescriptor, cosmos.base.reflection.v2alpha1.Reflection.InterfaceDescriptor.Builder, cosmos.base.reflection.v2alpha1.Reflection.InterfaceDescriptorOrBuilder> interfacesBuilder_;
/**
*
* interfaces is a list of the registerted interfaces descriptors
*
*
* repeated .cosmos.base.reflection.v2alpha1.InterfaceDescriptor interfaces = 1;
*/
public java.util.List getInterfacesList() {
if (interfacesBuilder_ == null) {
return java.util.Collections.unmodifiableList(interfaces_);
} else {
return interfacesBuilder_.getMessageList();
}
}
/**
*
* interfaces is a list of the registerted interfaces descriptors
*
*
* repeated .cosmos.base.reflection.v2alpha1.InterfaceDescriptor interfaces = 1;
*/
public int getInterfacesCount() {
if (interfacesBuilder_ == null) {
return interfaces_.size();
} else {
return interfacesBuilder_.getCount();
}
}
/**
*
* interfaces is a list of the registerted interfaces descriptors
*
*
* repeated .cosmos.base.reflection.v2alpha1.InterfaceDescriptor interfaces = 1;
*/
public cosmos.base.reflection.v2alpha1.Reflection.InterfaceDescriptor getInterfaces(int index) {
if (interfacesBuilder_ == null) {
return interfaces_.get(index);
} else {
return interfacesBuilder_.getMessage(index);
}
}
/**
*
* interfaces is a list of the registerted interfaces descriptors
*
*
* repeated .cosmos.base.reflection.v2alpha1.InterfaceDescriptor interfaces = 1;
*/
public Builder setInterfaces(
int index, cosmos.base.reflection.v2alpha1.Reflection.InterfaceDescriptor value) {
if (interfacesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureInterfacesIsMutable();
interfaces_.set(index, value);
onChanged();
} else {
interfacesBuilder_.setMessage(index, value);
}
return this;
}
/**
*
* interfaces is a list of the registerted interfaces descriptors
*
*
* repeated .cosmos.base.reflection.v2alpha1.InterfaceDescriptor interfaces = 1;
*/
public Builder setInterfaces(
int index, cosmos.base.reflection.v2alpha1.Reflection.InterfaceDescriptor.Builder builderForValue) {
if (interfacesBuilder_ == null) {
ensureInterfacesIsMutable();
interfaces_.set(index, builderForValue.build());
onChanged();
} else {
interfacesBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
*
* interfaces is a list of the registerted interfaces descriptors
*
*
* repeated .cosmos.base.reflection.v2alpha1.InterfaceDescriptor interfaces = 1;
*/
public Builder addInterfaces(cosmos.base.reflection.v2alpha1.Reflection.InterfaceDescriptor value) {
if (interfacesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureInterfacesIsMutable();
interfaces_.add(value);
onChanged();
} else {
interfacesBuilder_.addMessage(value);
}
return this;
}
/**
*
* interfaces is a list of the registerted interfaces descriptors
*
*
* repeated .cosmos.base.reflection.v2alpha1.InterfaceDescriptor interfaces = 1;
*/
public Builder addInterfaces(
int index, cosmos.base.reflection.v2alpha1.Reflection.InterfaceDescriptor value) {
if (interfacesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureInterfacesIsMutable();
interfaces_.add(index, value);
onChanged();
} else {
interfacesBuilder_.addMessage(index, value);
}
return this;
}
/**
*
* interfaces is a list of the registerted interfaces descriptors
*
*
* repeated .cosmos.base.reflection.v2alpha1.InterfaceDescriptor interfaces = 1;
*/
public Builder addInterfaces(
cosmos.base.reflection.v2alpha1.Reflection.InterfaceDescriptor.Builder builderForValue) {
if (interfacesBuilder_ == null) {
ensureInterfacesIsMutable();
interfaces_.add(builderForValue.build());
onChanged();
} else {
interfacesBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
*
* interfaces is a list of the registerted interfaces descriptors
*
*
* repeated .cosmos.base.reflection.v2alpha1.InterfaceDescriptor interfaces = 1;
*/
public Builder addInterfaces(
int index, cosmos.base.reflection.v2alpha1.Reflection.InterfaceDescriptor.Builder builderForValue) {
if (interfacesBuilder_ == null) {
ensureInterfacesIsMutable();
interfaces_.add(index, builderForValue.build());
onChanged();
} else {
interfacesBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
*
* interfaces is a list of the registerted interfaces descriptors
*
*
* repeated .cosmos.base.reflection.v2alpha1.InterfaceDescriptor interfaces = 1;
*/
public Builder addAllInterfaces(
java.lang.Iterable extends cosmos.base.reflection.v2alpha1.Reflection.InterfaceDescriptor> values) {
if (interfacesBuilder_ == null) {
ensureInterfacesIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, interfaces_);
onChanged();
} else {
interfacesBuilder_.addAllMessages(values);
}
return this;
}
/**
*
* interfaces is a list of the registerted interfaces descriptors
*
*
* repeated .cosmos.base.reflection.v2alpha1.InterfaceDescriptor interfaces = 1;
*/
public Builder clearInterfaces() {
if (interfacesBuilder_ == null) {
interfaces_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
interfacesBuilder_.clear();
}
return this;
}
/**
*
* interfaces is a list of the registerted interfaces descriptors
*
*
* repeated .cosmos.base.reflection.v2alpha1.InterfaceDescriptor interfaces = 1;
*/
public Builder removeInterfaces(int index) {
if (interfacesBuilder_ == null) {
ensureInterfacesIsMutable();
interfaces_.remove(index);
onChanged();
} else {
interfacesBuilder_.remove(index);
}
return this;
}
/**
*
* interfaces is a list of the registerted interfaces descriptors
*
*
* repeated .cosmos.base.reflection.v2alpha1.InterfaceDescriptor interfaces = 1;
*/
public cosmos.base.reflection.v2alpha1.Reflection.InterfaceDescriptor.Builder getInterfacesBuilder(
int index) {
return getInterfacesFieldBuilder().getBuilder(index);
}
/**
*
* interfaces is a list of the registerted interfaces descriptors
*
*
* repeated .cosmos.base.reflection.v2alpha1.InterfaceDescriptor interfaces = 1;
*/
public cosmos.base.reflection.v2alpha1.Reflection.InterfaceDescriptorOrBuilder getInterfacesOrBuilder(
int index) {
if (interfacesBuilder_ == null) {
return interfaces_.get(index); } else {
return interfacesBuilder_.getMessageOrBuilder(index);
}
}
/**
*
* interfaces is a list of the registerted interfaces descriptors
*
*
* repeated .cosmos.base.reflection.v2alpha1.InterfaceDescriptor interfaces = 1;
*/
public java.util.List extends cosmos.base.reflection.v2alpha1.Reflection.InterfaceDescriptorOrBuilder>
getInterfacesOrBuilderList() {
if (interfacesBuilder_ != null) {
return interfacesBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(interfaces_);
}
}
/**
*
* interfaces is a list of the registerted interfaces descriptors
*
*
* repeated .cosmos.base.reflection.v2alpha1.InterfaceDescriptor interfaces = 1;
*/
public cosmos.base.reflection.v2alpha1.Reflection.InterfaceDescriptor.Builder addInterfacesBuilder() {
return getInterfacesFieldBuilder().addBuilder(
cosmos.base.reflection.v2alpha1.Reflection.InterfaceDescriptor.getDefaultInstance());
}
/**
*
* interfaces is a list of the registerted interfaces descriptors
*
*
* repeated .cosmos.base.reflection.v2alpha1.InterfaceDescriptor interfaces = 1;
*/
public cosmos.base.reflection.v2alpha1.Reflection.InterfaceDescriptor.Builder addInterfacesBuilder(
int index) {
return getInterfacesFieldBuilder().addBuilder(
index, cosmos.base.reflection.v2alpha1.Reflection.InterfaceDescriptor.getDefaultInstance());
}
/**
*
* interfaces is a list of the registerted interfaces descriptors
*
*
* repeated .cosmos.base.reflection.v2alpha1.InterfaceDescriptor interfaces = 1;
*/
public java.util.List
getInterfacesBuilderList() {
return getInterfacesFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
cosmos.base.reflection.v2alpha1.Reflection.InterfaceDescriptor, cosmos.base.reflection.v2alpha1.Reflection.InterfaceDescriptor.Builder, cosmos.base.reflection.v2alpha1.Reflection.InterfaceDescriptorOrBuilder>
getInterfacesFieldBuilder() {
if (interfacesBuilder_ == null) {
interfacesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
cosmos.base.reflection.v2alpha1.Reflection.InterfaceDescriptor, cosmos.base.reflection.v2alpha1.Reflection.InterfaceDescriptor.Builder, cosmos.base.reflection.v2alpha1.Reflection.InterfaceDescriptorOrBuilder>(
interfaces_,
((bitField0_ & 0x00000001) != 0),
getParentForChildren(),
isClean());
interfaces_ = null;
}
return interfacesBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:cosmos.base.reflection.v2alpha1.CodecDescriptor)
}
// @@protoc_insertion_point(class_scope:cosmos.base.reflection.v2alpha1.CodecDescriptor)
private static final cosmos.base.reflection.v2alpha1.Reflection.CodecDescriptor DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new cosmos.base.reflection.v2alpha1.Reflection.CodecDescriptor();
}
public static cosmos.base.reflection.v2alpha1.Reflection.CodecDescriptor getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public CodecDescriptor parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new CodecDescriptor(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public cosmos.base.reflection.v2alpha1.Reflection.CodecDescriptor getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface InterfaceDescriptorOrBuilder extends
// @@protoc_insertion_point(interface_extends:cosmos.base.reflection.v2alpha1.InterfaceDescriptor)
com.google.protobuf.MessageOrBuilder {
/**
*
* fullname is the name of the interface
*
*
* string fullname = 1;
* @return The fullname.
*/
java.lang.String getFullname();
/**
*
* fullname is the name of the interface
*
*
* string fullname = 1;
* @return The bytes for fullname.
*/
com.google.protobuf.ByteString
getFullnameBytes();
/**
*
* interface_accepting_messages contains information regarding the proto messages which contain the interface as
* google.protobuf.Any field
*
*
* repeated .cosmos.base.reflection.v2alpha1.InterfaceAcceptingMessageDescriptor interface_accepting_messages = 2;
*/
java.util.List
getInterfaceAcceptingMessagesList();
/**
*
* interface_accepting_messages contains information regarding the proto messages which contain the interface as
* google.protobuf.Any field
*
*
* repeated .cosmos.base.reflection.v2alpha1.InterfaceAcceptingMessageDescriptor interface_accepting_messages = 2;
*/
cosmos.base.reflection.v2alpha1.Reflection.InterfaceAcceptingMessageDescriptor getInterfaceAcceptingMessages(int index);
/**
*
* interface_accepting_messages contains information regarding the proto messages which contain the interface as
* google.protobuf.Any field
*
*
* repeated .cosmos.base.reflection.v2alpha1.InterfaceAcceptingMessageDescriptor interface_accepting_messages = 2;
*/
int getInterfaceAcceptingMessagesCount();
/**
*
* interface_accepting_messages contains information regarding the proto messages which contain the interface as
* google.protobuf.Any field
*
*
* repeated .cosmos.base.reflection.v2alpha1.InterfaceAcceptingMessageDescriptor interface_accepting_messages = 2;
*/
java.util.List extends cosmos.base.reflection.v2alpha1.Reflection.InterfaceAcceptingMessageDescriptorOrBuilder>
getInterfaceAcceptingMessagesOrBuilderList();
/**
*
* interface_accepting_messages contains information regarding the proto messages which contain the interface as
* google.protobuf.Any field
*
*
* repeated .cosmos.base.reflection.v2alpha1.InterfaceAcceptingMessageDescriptor interface_accepting_messages = 2;
*/
cosmos.base.reflection.v2alpha1.Reflection.InterfaceAcceptingMessageDescriptorOrBuilder getInterfaceAcceptingMessagesOrBuilder(
int index);
/**
*
* interface_implementers is a list of the descriptors of the interface implementers
*
*
* repeated .cosmos.base.reflection.v2alpha1.InterfaceImplementerDescriptor interface_implementers = 3;
*/
java.util.List
getInterfaceImplementersList();
/**
*
* interface_implementers is a list of the descriptors of the interface implementers
*
*
* repeated .cosmos.base.reflection.v2alpha1.InterfaceImplementerDescriptor interface_implementers = 3;
*/
cosmos.base.reflection.v2alpha1.Reflection.InterfaceImplementerDescriptor getInterfaceImplementers(int index);
/**
*
* interface_implementers is a list of the descriptors of the interface implementers
*
*
* repeated .cosmos.base.reflection.v2alpha1.InterfaceImplementerDescriptor interface_implementers = 3;
*/
int getInterfaceImplementersCount();
/**
*
* interface_implementers is a list of the descriptors of the interface implementers
*
*
* repeated .cosmos.base.reflection.v2alpha1.InterfaceImplementerDescriptor interface_implementers = 3;
*/
java.util.List extends cosmos.base.reflection.v2alpha1.Reflection.InterfaceImplementerDescriptorOrBuilder>
getInterfaceImplementersOrBuilderList();
/**
*
* interface_implementers is a list of the descriptors of the interface implementers
*
*
* repeated .cosmos.base.reflection.v2alpha1.InterfaceImplementerDescriptor interface_implementers = 3;
*/
cosmos.base.reflection.v2alpha1.Reflection.InterfaceImplementerDescriptorOrBuilder getInterfaceImplementersOrBuilder(
int index);
}
/**
*
* InterfaceDescriptor describes the implementation of an interface
*
*
* Protobuf type {@code cosmos.base.reflection.v2alpha1.InterfaceDescriptor}
*/
public static final class InterfaceDescriptor extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:cosmos.base.reflection.v2alpha1.InterfaceDescriptor)
InterfaceDescriptorOrBuilder {
private static final long serialVersionUID = 0L;
// Use InterfaceDescriptor.newBuilder() to construct.
private InterfaceDescriptor(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private InterfaceDescriptor() {
fullname_ = "";
interfaceAcceptingMessages_ = java.util.Collections.emptyList();
interfaceImplementers_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new InterfaceDescriptor();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private InterfaceDescriptor(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
java.lang.String s = input.readStringRequireUtf8();
fullname_ = s;
break;
}
case 18: {
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
interfaceAcceptingMessages_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000001;
}
interfaceAcceptingMessages_.add(
input.readMessage(cosmos.base.reflection.v2alpha1.Reflection.InterfaceAcceptingMessageDescriptor.parser(), extensionRegistry));
break;
}
case 26: {
if (!((mutable_bitField0_ & 0x00000002) != 0)) {
interfaceImplementers_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000002;
}
interfaceImplementers_.add(
input.readMessage(cosmos.base.reflection.v2alpha1.Reflection.InterfaceImplementerDescriptor.parser(), extensionRegistry));
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000001) != 0)) {
interfaceAcceptingMessages_ = java.util.Collections.unmodifiableList(interfaceAcceptingMessages_);
}
if (((mutable_bitField0_ & 0x00000002) != 0)) {
interfaceImplementers_ = java.util.Collections.unmodifiableList(interfaceImplementers_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return cosmos.base.reflection.v2alpha1.Reflection.internal_static_cosmos_base_reflection_v2alpha1_InterfaceDescriptor_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cosmos.base.reflection.v2alpha1.Reflection.internal_static_cosmos_base_reflection_v2alpha1_InterfaceDescriptor_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cosmos.base.reflection.v2alpha1.Reflection.InterfaceDescriptor.class, cosmos.base.reflection.v2alpha1.Reflection.InterfaceDescriptor.Builder.class);
}
public static final int FULLNAME_FIELD_NUMBER = 1;
private volatile java.lang.Object fullname_;
/**
*
* fullname is the name of the interface
*
*
* string fullname = 1;
* @return The fullname.
*/
@java.lang.Override
public java.lang.String getFullname() {
java.lang.Object ref = fullname_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
fullname_ = s;
return s;
}
}
/**
*
* fullname is the name of the interface
*
*
* string fullname = 1;
* @return The bytes for fullname.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getFullnameBytes() {
java.lang.Object ref = fullname_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
fullname_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int INTERFACE_ACCEPTING_MESSAGES_FIELD_NUMBER = 2;
private java.util.List interfaceAcceptingMessages_;
/**
*
* interface_accepting_messages contains information regarding the proto messages which contain the interface as
* google.protobuf.Any field
*
*
* repeated .cosmos.base.reflection.v2alpha1.InterfaceAcceptingMessageDescriptor interface_accepting_messages = 2;
*/
@java.lang.Override
public java.util.List getInterfaceAcceptingMessagesList() {
return interfaceAcceptingMessages_;
}
/**
*
* interface_accepting_messages contains information regarding the proto messages which contain the interface as
* google.protobuf.Any field
*
*
* repeated .cosmos.base.reflection.v2alpha1.InterfaceAcceptingMessageDescriptor interface_accepting_messages = 2;
*/
@java.lang.Override
public java.util.List extends cosmos.base.reflection.v2alpha1.Reflection.InterfaceAcceptingMessageDescriptorOrBuilder>
getInterfaceAcceptingMessagesOrBuilderList() {
return interfaceAcceptingMessages_;
}
/**
*
* interface_accepting_messages contains information regarding the proto messages which contain the interface as
* google.protobuf.Any field
*
*
* repeated .cosmos.base.reflection.v2alpha1.InterfaceAcceptingMessageDescriptor interface_accepting_messages = 2;
*/
@java.lang.Override
public int getInterfaceAcceptingMessagesCount() {
return interfaceAcceptingMessages_.size();
}
/**
*
* interface_accepting_messages contains information regarding the proto messages which contain the interface as
* google.protobuf.Any field
*
*
* repeated .cosmos.base.reflection.v2alpha1.InterfaceAcceptingMessageDescriptor interface_accepting_messages = 2;
*/
@java.lang.Override
public cosmos.base.reflection.v2alpha1.Reflection.InterfaceAcceptingMessageDescriptor getInterfaceAcceptingMessages(int index) {
return interfaceAcceptingMessages_.get(index);
}
/**
*
* interface_accepting_messages contains information regarding the proto messages which contain the interface as
* google.protobuf.Any field
*
*
* repeated .cosmos.base.reflection.v2alpha1.InterfaceAcceptingMessageDescriptor interface_accepting_messages = 2;
*/
@java.lang.Override
public cosmos.base.reflection.v2alpha1.Reflection.InterfaceAcceptingMessageDescriptorOrBuilder getInterfaceAcceptingMessagesOrBuilder(
int index) {
return interfaceAcceptingMessages_.get(index);
}
public static final int INTERFACE_IMPLEMENTERS_FIELD_NUMBER = 3;
private java.util.List interfaceImplementers_;
/**
*
* interface_implementers is a list of the descriptors of the interface implementers
*
*
* repeated .cosmos.base.reflection.v2alpha1.InterfaceImplementerDescriptor interface_implementers = 3;
*/
@java.lang.Override
public java.util.List getInterfaceImplementersList() {
return interfaceImplementers_;
}
/**
*
* interface_implementers is a list of the descriptors of the interface implementers
*
*
* repeated .cosmos.base.reflection.v2alpha1.InterfaceImplementerDescriptor interface_implementers = 3;
*/
@java.lang.Override
public java.util.List extends cosmos.base.reflection.v2alpha1.Reflection.InterfaceImplementerDescriptorOrBuilder>
getInterfaceImplementersOrBuilderList() {
return interfaceImplementers_;
}
/**
*
* interface_implementers is a list of the descriptors of the interface implementers
*
*
* repeated .cosmos.base.reflection.v2alpha1.InterfaceImplementerDescriptor interface_implementers = 3;
*/
@java.lang.Override
public int getInterfaceImplementersCount() {
return interfaceImplementers_.size();
}
/**
*
* interface_implementers is a list of the descriptors of the interface implementers
*
*
* repeated .cosmos.base.reflection.v2alpha1.InterfaceImplementerDescriptor interface_implementers = 3;
*/
@java.lang.Override
public cosmos.base.reflection.v2alpha1.Reflection.InterfaceImplementerDescriptor getInterfaceImplementers(int index) {
return interfaceImplementers_.get(index);
}
/**
*
* interface_implementers is a list of the descriptors of the interface implementers
*
*
* repeated .cosmos.base.reflection.v2alpha1.InterfaceImplementerDescriptor interface_implementers = 3;
*/
@java.lang.Override
public cosmos.base.reflection.v2alpha1.Reflection.InterfaceImplementerDescriptorOrBuilder getInterfaceImplementersOrBuilder(
int index) {
return interfaceImplementers_.get(index);
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(fullname_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, fullname_);
}
for (int i = 0; i < interfaceAcceptingMessages_.size(); i++) {
output.writeMessage(2, interfaceAcceptingMessages_.get(i));
}
for (int i = 0; i < interfaceImplementers_.size(); i++) {
output.writeMessage(3, interfaceImplementers_.get(i));
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(fullname_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, fullname_);
}
for (int i = 0; i < interfaceAcceptingMessages_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, interfaceAcceptingMessages_.get(i));
}
for (int i = 0; i < interfaceImplementers_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, interfaceImplementers_.get(i));
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof cosmos.base.reflection.v2alpha1.Reflection.InterfaceDescriptor)) {
return super.equals(obj);
}
cosmos.base.reflection.v2alpha1.Reflection.InterfaceDescriptor other = (cosmos.base.reflection.v2alpha1.Reflection.InterfaceDescriptor) obj;
if (!getFullname()
.equals(other.getFullname())) return false;
if (!getInterfaceAcceptingMessagesList()
.equals(other.getInterfaceAcceptingMessagesList())) return false;
if (!getInterfaceImplementersList()
.equals(other.getInterfaceImplementersList())) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + FULLNAME_FIELD_NUMBER;
hash = (53 * hash) + getFullname().hashCode();
if (getInterfaceAcceptingMessagesCount() > 0) {
hash = (37 * hash) + INTERFACE_ACCEPTING_MESSAGES_FIELD_NUMBER;
hash = (53 * hash) + getInterfaceAcceptingMessagesList().hashCode();
}
if (getInterfaceImplementersCount() > 0) {
hash = (37 * hash) + INTERFACE_IMPLEMENTERS_FIELD_NUMBER;
hash = (53 * hash) + getInterfaceImplementersList().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static cosmos.base.reflection.v2alpha1.Reflection.InterfaceDescriptor parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cosmos.base.reflection.v2alpha1.Reflection.InterfaceDescriptor parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cosmos.base.reflection.v2alpha1.Reflection.InterfaceDescriptor parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cosmos.base.reflection.v2alpha1.Reflection.InterfaceDescriptor parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cosmos.base.reflection.v2alpha1.Reflection.InterfaceDescriptor parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cosmos.base.reflection.v2alpha1.Reflection.InterfaceDescriptor parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cosmos.base.reflection.v2alpha1.Reflection.InterfaceDescriptor parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cosmos.base.reflection.v2alpha1.Reflection.InterfaceDescriptor parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static cosmos.base.reflection.v2alpha1.Reflection.InterfaceDescriptor parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static cosmos.base.reflection.v2alpha1.Reflection.InterfaceDescriptor parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static cosmos.base.reflection.v2alpha1.Reflection.InterfaceDescriptor parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cosmos.base.reflection.v2alpha1.Reflection.InterfaceDescriptor parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(cosmos.base.reflection.v2alpha1.Reflection.InterfaceDescriptor prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
*
* InterfaceDescriptor describes the implementation of an interface
*
*
* Protobuf type {@code cosmos.base.reflection.v2alpha1.InterfaceDescriptor}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:cosmos.base.reflection.v2alpha1.InterfaceDescriptor)
cosmos.base.reflection.v2alpha1.Reflection.InterfaceDescriptorOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return cosmos.base.reflection.v2alpha1.Reflection.internal_static_cosmos_base_reflection_v2alpha1_InterfaceDescriptor_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cosmos.base.reflection.v2alpha1.Reflection.internal_static_cosmos_base_reflection_v2alpha1_InterfaceDescriptor_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cosmos.base.reflection.v2alpha1.Reflection.InterfaceDescriptor.class, cosmos.base.reflection.v2alpha1.Reflection.InterfaceDescriptor.Builder.class);
}
// Construct using cosmos.base.reflection.v2alpha1.Reflection.InterfaceDescriptor.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getInterfaceAcceptingMessagesFieldBuilder();
getInterfaceImplementersFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
fullname_ = "";
if (interfaceAcceptingMessagesBuilder_ == null) {
interfaceAcceptingMessages_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
} else {
interfaceAcceptingMessagesBuilder_.clear();
}
if (interfaceImplementersBuilder_ == null) {
interfaceImplementers_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
} else {
interfaceImplementersBuilder_.clear();
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return cosmos.base.reflection.v2alpha1.Reflection.internal_static_cosmos_base_reflection_v2alpha1_InterfaceDescriptor_descriptor;
}
@java.lang.Override
public cosmos.base.reflection.v2alpha1.Reflection.InterfaceDescriptor getDefaultInstanceForType() {
return cosmos.base.reflection.v2alpha1.Reflection.InterfaceDescriptor.getDefaultInstance();
}
@java.lang.Override
public cosmos.base.reflection.v2alpha1.Reflection.InterfaceDescriptor build() {
cosmos.base.reflection.v2alpha1.Reflection.InterfaceDescriptor result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public cosmos.base.reflection.v2alpha1.Reflection.InterfaceDescriptor buildPartial() {
cosmos.base.reflection.v2alpha1.Reflection.InterfaceDescriptor result = new cosmos.base.reflection.v2alpha1.Reflection.InterfaceDescriptor(this);
int from_bitField0_ = bitField0_;
result.fullname_ = fullname_;
if (interfaceAcceptingMessagesBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
interfaceAcceptingMessages_ = java.util.Collections.unmodifiableList(interfaceAcceptingMessages_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.interfaceAcceptingMessages_ = interfaceAcceptingMessages_;
} else {
result.interfaceAcceptingMessages_ = interfaceAcceptingMessagesBuilder_.build();
}
if (interfaceImplementersBuilder_ == null) {
if (((bitField0_ & 0x00000002) != 0)) {
interfaceImplementers_ = java.util.Collections.unmodifiableList(interfaceImplementers_);
bitField0_ = (bitField0_ & ~0x00000002);
}
result.interfaceImplementers_ = interfaceImplementers_;
} else {
result.interfaceImplementers_ = interfaceImplementersBuilder_.build();
}
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof cosmos.base.reflection.v2alpha1.Reflection.InterfaceDescriptor) {
return mergeFrom((cosmos.base.reflection.v2alpha1.Reflection.InterfaceDescriptor)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(cosmos.base.reflection.v2alpha1.Reflection.InterfaceDescriptor other) {
if (other == cosmos.base.reflection.v2alpha1.Reflection.InterfaceDescriptor.getDefaultInstance()) return this;
if (!other.getFullname().isEmpty()) {
fullname_ = other.fullname_;
onChanged();
}
if (interfaceAcceptingMessagesBuilder_ == null) {
if (!other.interfaceAcceptingMessages_.isEmpty()) {
if (interfaceAcceptingMessages_.isEmpty()) {
interfaceAcceptingMessages_ = other.interfaceAcceptingMessages_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureInterfaceAcceptingMessagesIsMutable();
interfaceAcceptingMessages_.addAll(other.interfaceAcceptingMessages_);
}
onChanged();
}
} else {
if (!other.interfaceAcceptingMessages_.isEmpty()) {
if (interfaceAcceptingMessagesBuilder_.isEmpty()) {
interfaceAcceptingMessagesBuilder_.dispose();
interfaceAcceptingMessagesBuilder_ = null;
interfaceAcceptingMessages_ = other.interfaceAcceptingMessages_;
bitField0_ = (bitField0_ & ~0x00000001);
interfaceAcceptingMessagesBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getInterfaceAcceptingMessagesFieldBuilder() : null;
} else {
interfaceAcceptingMessagesBuilder_.addAllMessages(other.interfaceAcceptingMessages_);
}
}
}
if (interfaceImplementersBuilder_ == null) {
if (!other.interfaceImplementers_.isEmpty()) {
if (interfaceImplementers_.isEmpty()) {
interfaceImplementers_ = other.interfaceImplementers_;
bitField0_ = (bitField0_ & ~0x00000002);
} else {
ensureInterfaceImplementersIsMutable();
interfaceImplementers_.addAll(other.interfaceImplementers_);
}
onChanged();
}
} else {
if (!other.interfaceImplementers_.isEmpty()) {
if (interfaceImplementersBuilder_.isEmpty()) {
interfaceImplementersBuilder_.dispose();
interfaceImplementersBuilder_ = null;
interfaceImplementers_ = other.interfaceImplementers_;
bitField0_ = (bitField0_ & ~0x00000002);
interfaceImplementersBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getInterfaceImplementersFieldBuilder() : null;
} else {
interfaceImplementersBuilder_.addAllMessages(other.interfaceImplementers_);
}
}
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
cosmos.base.reflection.v2alpha1.Reflection.InterfaceDescriptor parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (cosmos.base.reflection.v2alpha1.Reflection.InterfaceDescriptor) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.lang.Object fullname_ = "";
/**
*
* fullname is the name of the interface
*
*
* string fullname = 1;
* @return The fullname.
*/
public java.lang.String getFullname() {
java.lang.Object ref = fullname_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
fullname_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* fullname is the name of the interface
*
*
* string fullname = 1;
* @return The bytes for fullname.
*/
public com.google.protobuf.ByteString
getFullnameBytes() {
java.lang.Object ref = fullname_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
fullname_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* fullname is the name of the interface
*
*
* string fullname = 1;
* @param value The fullname to set.
* @return This builder for chaining.
*/
public Builder setFullname(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
fullname_ = value;
onChanged();
return this;
}
/**
*
* fullname is the name of the interface
*
*
* string fullname = 1;
* @return This builder for chaining.
*/
public Builder clearFullname() {
fullname_ = getDefaultInstance().getFullname();
onChanged();
return this;
}
/**
*
* fullname is the name of the interface
*
*
* string fullname = 1;
* @param value The bytes for fullname to set.
* @return This builder for chaining.
*/
public Builder setFullnameBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
fullname_ = value;
onChanged();
return this;
}
private java.util.List interfaceAcceptingMessages_ =
java.util.Collections.emptyList();
private void ensureInterfaceAcceptingMessagesIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
interfaceAcceptingMessages_ = new java.util.ArrayList(interfaceAcceptingMessages_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
cosmos.base.reflection.v2alpha1.Reflection.InterfaceAcceptingMessageDescriptor, cosmos.base.reflection.v2alpha1.Reflection.InterfaceAcceptingMessageDescriptor.Builder, cosmos.base.reflection.v2alpha1.Reflection.InterfaceAcceptingMessageDescriptorOrBuilder> interfaceAcceptingMessagesBuilder_;
/**
*
* interface_accepting_messages contains information regarding the proto messages which contain the interface as
* google.protobuf.Any field
*
*
* repeated .cosmos.base.reflection.v2alpha1.InterfaceAcceptingMessageDescriptor interface_accepting_messages = 2;
*/
public java.util.List getInterfaceAcceptingMessagesList() {
if (interfaceAcceptingMessagesBuilder_ == null) {
return java.util.Collections.unmodifiableList(interfaceAcceptingMessages_);
} else {
return interfaceAcceptingMessagesBuilder_.getMessageList();
}
}
/**
*
* interface_accepting_messages contains information regarding the proto messages which contain the interface as
* google.protobuf.Any field
*
*
* repeated .cosmos.base.reflection.v2alpha1.InterfaceAcceptingMessageDescriptor interface_accepting_messages = 2;
*/
public int getInterfaceAcceptingMessagesCount() {
if (interfaceAcceptingMessagesBuilder_ == null) {
return interfaceAcceptingMessages_.size();
} else {
return interfaceAcceptingMessagesBuilder_.getCount();
}
}
/**
*
* interface_accepting_messages contains information regarding the proto messages which contain the interface as
* google.protobuf.Any field
*
*
* repeated .cosmos.base.reflection.v2alpha1.InterfaceAcceptingMessageDescriptor interface_accepting_messages = 2;
*/
public cosmos.base.reflection.v2alpha1.Reflection.InterfaceAcceptingMessageDescriptor getInterfaceAcceptingMessages(int index) {
if (interfaceAcceptingMessagesBuilder_ == null) {
return interfaceAcceptingMessages_.get(index);
} else {
return interfaceAcceptingMessagesBuilder_.getMessage(index);
}
}
/**
*
* interface_accepting_messages contains information regarding the proto messages which contain the interface as
* google.protobuf.Any field
*
*
* repeated .cosmos.base.reflection.v2alpha1.InterfaceAcceptingMessageDescriptor interface_accepting_messages = 2;
*/
public Builder setInterfaceAcceptingMessages(
int index, cosmos.base.reflection.v2alpha1.Reflection.InterfaceAcceptingMessageDescriptor value) {
if (interfaceAcceptingMessagesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureInterfaceAcceptingMessagesIsMutable();
interfaceAcceptingMessages_.set(index, value);
onChanged();
} else {
interfaceAcceptingMessagesBuilder_.setMessage(index, value);
}
return this;
}
/**
*
* interface_accepting_messages contains information regarding the proto messages which contain the interface as
* google.protobuf.Any field
*
*
* repeated .cosmos.base.reflection.v2alpha1.InterfaceAcceptingMessageDescriptor interface_accepting_messages = 2;
*/
public Builder setInterfaceAcceptingMessages(
int index, cosmos.base.reflection.v2alpha1.Reflection.InterfaceAcceptingMessageDescriptor.Builder builderForValue) {
if (interfaceAcceptingMessagesBuilder_ == null) {
ensureInterfaceAcceptingMessagesIsMutable();
interfaceAcceptingMessages_.set(index, builderForValue.build());
onChanged();
} else {
interfaceAcceptingMessagesBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
*
* interface_accepting_messages contains information regarding the proto messages which contain the interface as
* google.protobuf.Any field
*
*
* repeated .cosmos.base.reflection.v2alpha1.InterfaceAcceptingMessageDescriptor interface_accepting_messages = 2;
*/
public Builder addInterfaceAcceptingMessages(cosmos.base.reflection.v2alpha1.Reflection.InterfaceAcceptingMessageDescriptor value) {
if (interfaceAcceptingMessagesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureInterfaceAcceptingMessagesIsMutable();
interfaceAcceptingMessages_.add(value);
onChanged();
} else {
interfaceAcceptingMessagesBuilder_.addMessage(value);
}
return this;
}
/**
*
* interface_accepting_messages contains information regarding the proto messages which contain the interface as
* google.protobuf.Any field
*
*
* repeated .cosmos.base.reflection.v2alpha1.InterfaceAcceptingMessageDescriptor interface_accepting_messages = 2;
*/
public Builder addInterfaceAcceptingMessages(
int index, cosmos.base.reflection.v2alpha1.Reflection.InterfaceAcceptingMessageDescriptor value) {
if (interfaceAcceptingMessagesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureInterfaceAcceptingMessagesIsMutable();
interfaceAcceptingMessages_.add(index, value);
onChanged();
} else {
interfaceAcceptingMessagesBuilder_.addMessage(index, value);
}
return this;
}
/**
*
* interface_accepting_messages contains information regarding the proto messages which contain the interface as
* google.protobuf.Any field
*
*
* repeated .cosmos.base.reflection.v2alpha1.InterfaceAcceptingMessageDescriptor interface_accepting_messages = 2;
*/
public Builder addInterfaceAcceptingMessages(
cosmos.base.reflection.v2alpha1.Reflection.InterfaceAcceptingMessageDescriptor.Builder builderForValue) {
if (interfaceAcceptingMessagesBuilder_ == null) {
ensureInterfaceAcceptingMessagesIsMutable();
interfaceAcceptingMessages_.add(builderForValue.build());
onChanged();
} else {
interfaceAcceptingMessagesBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
*
* interface_accepting_messages contains information regarding the proto messages which contain the interface as
* google.protobuf.Any field
*
*
* repeated .cosmos.base.reflection.v2alpha1.InterfaceAcceptingMessageDescriptor interface_accepting_messages = 2;
*/
public Builder addInterfaceAcceptingMessages(
int index, cosmos.base.reflection.v2alpha1.Reflection.InterfaceAcceptingMessageDescriptor.Builder builderForValue) {
if (interfaceAcceptingMessagesBuilder_ == null) {
ensureInterfaceAcceptingMessagesIsMutable();
interfaceAcceptingMessages_.add(index, builderForValue.build());
onChanged();
} else {
interfaceAcceptingMessagesBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
*
* interface_accepting_messages contains information regarding the proto messages which contain the interface as
* google.protobuf.Any field
*
*
* repeated .cosmos.base.reflection.v2alpha1.InterfaceAcceptingMessageDescriptor interface_accepting_messages = 2;
*/
public Builder addAllInterfaceAcceptingMessages(
java.lang.Iterable extends cosmos.base.reflection.v2alpha1.Reflection.InterfaceAcceptingMessageDescriptor> values) {
if (interfaceAcceptingMessagesBuilder_ == null) {
ensureInterfaceAcceptingMessagesIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, interfaceAcceptingMessages_);
onChanged();
} else {
interfaceAcceptingMessagesBuilder_.addAllMessages(values);
}
return this;
}
/**
*
* interface_accepting_messages contains information regarding the proto messages which contain the interface as
* google.protobuf.Any field
*
*
* repeated .cosmos.base.reflection.v2alpha1.InterfaceAcceptingMessageDescriptor interface_accepting_messages = 2;
*/
public Builder clearInterfaceAcceptingMessages() {
if (interfaceAcceptingMessagesBuilder_ == null) {
interfaceAcceptingMessages_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
interfaceAcceptingMessagesBuilder_.clear();
}
return this;
}
/**
*
* interface_accepting_messages contains information regarding the proto messages which contain the interface as
* google.protobuf.Any field
*
*
* repeated .cosmos.base.reflection.v2alpha1.InterfaceAcceptingMessageDescriptor interface_accepting_messages = 2;
*/
public Builder removeInterfaceAcceptingMessages(int index) {
if (interfaceAcceptingMessagesBuilder_ == null) {
ensureInterfaceAcceptingMessagesIsMutable();
interfaceAcceptingMessages_.remove(index);
onChanged();
} else {
interfaceAcceptingMessagesBuilder_.remove(index);
}
return this;
}
/**
*
* interface_accepting_messages contains information regarding the proto messages which contain the interface as
* google.protobuf.Any field
*
*
* repeated .cosmos.base.reflection.v2alpha1.InterfaceAcceptingMessageDescriptor interface_accepting_messages = 2;
*/
public cosmos.base.reflection.v2alpha1.Reflection.InterfaceAcceptingMessageDescriptor.Builder getInterfaceAcceptingMessagesBuilder(
int index) {
return getInterfaceAcceptingMessagesFieldBuilder().getBuilder(index);
}
/**
*
* interface_accepting_messages contains information regarding the proto messages which contain the interface as
* google.protobuf.Any field
*
*
* repeated .cosmos.base.reflection.v2alpha1.InterfaceAcceptingMessageDescriptor interface_accepting_messages = 2;
*/
public cosmos.base.reflection.v2alpha1.Reflection.InterfaceAcceptingMessageDescriptorOrBuilder getInterfaceAcceptingMessagesOrBuilder(
int index) {
if (interfaceAcceptingMessagesBuilder_ == null) {
return interfaceAcceptingMessages_.get(index); } else {
return interfaceAcceptingMessagesBuilder_.getMessageOrBuilder(index);
}
}
/**
*
* interface_accepting_messages contains information regarding the proto messages which contain the interface as
* google.protobuf.Any field
*
*
* repeated .cosmos.base.reflection.v2alpha1.InterfaceAcceptingMessageDescriptor interface_accepting_messages = 2;
*/
public java.util.List extends cosmos.base.reflection.v2alpha1.Reflection.InterfaceAcceptingMessageDescriptorOrBuilder>
getInterfaceAcceptingMessagesOrBuilderList() {
if (interfaceAcceptingMessagesBuilder_ != null) {
return interfaceAcceptingMessagesBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(interfaceAcceptingMessages_);
}
}
/**
*
* interface_accepting_messages contains information regarding the proto messages which contain the interface as
* google.protobuf.Any field
*
*
* repeated .cosmos.base.reflection.v2alpha1.InterfaceAcceptingMessageDescriptor interface_accepting_messages = 2;
*/
public cosmos.base.reflection.v2alpha1.Reflection.InterfaceAcceptingMessageDescriptor.Builder addInterfaceAcceptingMessagesBuilder() {
return getInterfaceAcceptingMessagesFieldBuilder().addBuilder(
cosmos.base.reflection.v2alpha1.Reflection.InterfaceAcceptingMessageDescriptor.getDefaultInstance());
}
/**
*
* interface_accepting_messages contains information regarding the proto messages which contain the interface as
* google.protobuf.Any field
*
*
* repeated .cosmos.base.reflection.v2alpha1.InterfaceAcceptingMessageDescriptor interface_accepting_messages = 2;
*/
public cosmos.base.reflection.v2alpha1.Reflection.InterfaceAcceptingMessageDescriptor.Builder addInterfaceAcceptingMessagesBuilder(
int index) {
return getInterfaceAcceptingMessagesFieldBuilder().addBuilder(
index, cosmos.base.reflection.v2alpha1.Reflection.InterfaceAcceptingMessageDescriptor.getDefaultInstance());
}
/**
*
* interface_accepting_messages contains information regarding the proto messages which contain the interface as
* google.protobuf.Any field
*
*
* repeated .cosmos.base.reflection.v2alpha1.InterfaceAcceptingMessageDescriptor interface_accepting_messages = 2;
*/
public java.util.List
getInterfaceAcceptingMessagesBuilderList() {
return getInterfaceAcceptingMessagesFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
cosmos.base.reflection.v2alpha1.Reflection.InterfaceAcceptingMessageDescriptor, cosmos.base.reflection.v2alpha1.Reflection.InterfaceAcceptingMessageDescriptor.Builder, cosmos.base.reflection.v2alpha1.Reflection.InterfaceAcceptingMessageDescriptorOrBuilder>
getInterfaceAcceptingMessagesFieldBuilder() {
if (interfaceAcceptingMessagesBuilder_ == null) {
interfaceAcceptingMessagesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
cosmos.base.reflection.v2alpha1.Reflection.InterfaceAcceptingMessageDescriptor, cosmos.base.reflection.v2alpha1.Reflection.InterfaceAcceptingMessageDescriptor.Builder, cosmos.base.reflection.v2alpha1.Reflection.InterfaceAcceptingMessageDescriptorOrBuilder>(
interfaceAcceptingMessages_,
((bitField0_ & 0x00000001) != 0),
getParentForChildren(),
isClean());
interfaceAcceptingMessages_ = null;
}
return interfaceAcceptingMessagesBuilder_;
}
private java.util.List interfaceImplementers_ =
java.util.Collections.emptyList();
private void ensureInterfaceImplementersIsMutable() {
if (!((bitField0_ & 0x00000002) != 0)) {
interfaceImplementers_ = new java.util.ArrayList(interfaceImplementers_);
bitField0_ |= 0x00000002;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
cosmos.base.reflection.v2alpha1.Reflection.InterfaceImplementerDescriptor, cosmos.base.reflection.v2alpha1.Reflection.InterfaceImplementerDescriptor.Builder, cosmos.base.reflection.v2alpha1.Reflection.InterfaceImplementerDescriptorOrBuilder> interfaceImplementersBuilder_;
/**
*
* interface_implementers is a list of the descriptors of the interface implementers
*
*
* repeated .cosmos.base.reflection.v2alpha1.InterfaceImplementerDescriptor interface_implementers = 3;
*/
public java.util.List getInterfaceImplementersList() {
if (interfaceImplementersBuilder_ == null) {
return java.util.Collections.unmodifiableList(interfaceImplementers_);
} else {
return interfaceImplementersBuilder_.getMessageList();
}
}
/**
*
* interface_implementers is a list of the descriptors of the interface implementers
*
*
* repeated .cosmos.base.reflection.v2alpha1.InterfaceImplementerDescriptor interface_implementers = 3;
*/
public int getInterfaceImplementersCount() {
if (interfaceImplementersBuilder_ == null) {
return interfaceImplementers_.size();
} else {
return interfaceImplementersBuilder_.getCount();
}
}
/**
*
* interface_implementers is a list of the descriptors of the interface implementers
*
*
* repeated .cosmos.base.reflection.v2alpha1.InterfaceImplementerDescriptor interface_implementers = 3;
*/
public cosmos.base.reflection.v2alpha1.Reflection.InterfaceImplementerDescriptor getInterfaceImplementers(int index) {
if (interfaceImplementersBuilder_ == null) {
return interfaceImplementers_.get(index);
} else {
return interfaceImplementersBuilder_.getMessage(index);
}
}
/**
*
* interface_implementers is a list of the descriptors of the interface implementers
*
*
* repeated .cosmos.base.reflection.v2alpha1.InterfaceImplementerDescriptor interface_implementers = 3;
*/
public Builder setInterfaceImplementers(
int index, cosmos.base.reflection.v2alpha1.Reflection.InterfaceImplementerDescriptor value) {
if (interfaceImplementersBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureInterfaceImplementersIsMutable();
interfaceImplementers_.set(index, value);
onChanged();
} else {
interfaceImplementersBuilder_.setMessage(index, value);
}
return this;
}
/**
*
* interface_implementers is a list of the descriptors of the interface implementers
*
*
* repeated .cosmos.base.reflection.v2alpha1.InterfaceImplementerDescriptor interface_implementers = 3;
*/
public Builder setInterfaceImplementers(
int index, cosmos.base.reflection.v2alpha1.Reflection.InterfaceImplementerDescriptor.Builder builderForValue) {
if (interfaceImplementersBuilder_ == null) {
ensureInterfaceImplementersIsMutable();
interfaceImplementers_.set(index, builderForValue.build());
onChanged();
} else {
interfaceImplementersBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
*
* interface_implementers is a list of the descriptors of the interface implementers
*
*
* repeated .cosmos.base.reflection.v2alpha1.InterfaceImplementerDescriptor interface_implementers = 3;
*/
public Builder addInterfaceImplementers(cosmos.base.reflection.v2alpha1.Reflection.InterfaceImplementerDescriptor value) {
if (interfaceImplementersBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureInterfaceImplementersIsMutable();
interfaceImplementers_.add(value);
onChanged();
} else {
interfaceImplementersBuilder_.addMessage(value);
}
return this;
}
/**
*
* interface_implementers is a list of the descriptors of the interface implementers
*
*
* repeated .cosmos.base.reflection.v2alpha1.InterfaceImplementerDescriptor interface_implementers = 3;
*/
public Builder addInterfaceImplementers(
int index, cosmos.base.reflection.v2alpha1.Reflection.InterfaceImplementerDescriptor value) {
if (interfaceImplementersBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureInterfaceImplementersIsMutable();
interfaceImplementers_.add(index, value);
onChanged();
} else {
interfaceImplementersBuilder_.addMessage(index, value);
}
return this;
}
/**
*
* interface_implementers is a list of the descriptors of the interface implementers
*
*
* repeated .cosmos.base.reflection.v2alpha1.InterfaceImplementerDescriptor interface_implementers = 3;
*/
public Builder addInterfaceImplementers(
cosmos.base.reflection.v2alpha1.Reflection.InterfaceImplementerDescriptor.Builder builderForValue) {
if (interfaceImplementersBuilder_ == null) {
ensureInterfaceImplementersIsMutable();
interfaceImplementers_.add(builderForValue.build());
onChanged();
} else {
interfaceImplementersBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
*
* interface_implementers is a list of the descriptors of the interface implementers
*
*
* repeated .cosmos.base.reflection.v2alpha1.InterfaceImplementerDescriptor interface_implementers = 3;
*/
public Builder addInterfaceImplementers(
int index, cosmos.base.reflection.v2alpha1.Reflection.InterfaceImplementerDescriptor.Builder builderForValue) {
if (interfaceImplementersBuilder_ == null) {
ensureInterfaceImplementersIsMutable();
interfaceImplementers_.add(index, builderForValue.build());
onChanged();
} else {
interfaceImplementersBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
*
* interface_implementers is a list of the descriptors of the interface implementers
*
*
* repeated .cosmos.base.reflection.v2alpha1.InterfaceImplementerDescriptor interface_implementers = 3;
*/
public Builder addAllInterfaceImplementers(
java.lang.Iterable extends cosmos.base.reflection.v2alpha1.Reflection.InterfaceImplementerDescriptor> values) {
if (interfaceImplementersBuilder_ == null) {
ensureInterfaceImplementersIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, interfaceImplementers_);
onChanged();
} else {
interfaceImplementersBuilder_.addAllMessages(values);
}
return this;
}
/**
*
* interface_implementers is a list of the descriptors of the interface implementers
*
*
* repeated .cosmos.base.reflection.v2alpha1.InterfaceImplementerDescriptor interface_implementers = 3;
*/
public Builder clearInterfaceImplementers() {
if (interfaceImplementersBuilder_ == null) {
interfaceImplementers_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
} else {
interfaceImplementersBuilder_.clear();
}
return this;
}
/**
*
* interface_implementers is a list of the descriptors of the interface implementers
*
*
* repeated .cosmos.base.reflection.v2alpha1.InterfaceImplementerDescriptor interface_implementers = 3;
*/
public Builder removeInterfaceImplementers(int index) {
if (interfaceImplementersBuilder_ == null) {
ensureInterfaceImplementersIsMutable();
interfaceImplementers_.remove(index);
onChanged();
} else {
interfaceImplementersBuilder_.remove(index);
}
return this;
}
/**
*
* interface_implementers is a list of the descriptors of the interface implementers
*
*
* repeated .cosmos.base.reflection.v2alpha1.InterfaceImplementerDescriptor interface_implementers = 3;
*/
public cosmos.base.reflection.v2alpha1.Reflection.InterfaceImplementerDescriptor.Builder getInterfaceImplementersBuilder(
int index) {
return getInterfaceImplementersFieldBuilder().getBuilder(index);
}
/**
*
* interface_implementers is a list of the descriptors of the interface implementers
*
*
* repeated .cosmos.base.reflection.v2alpha1.InterfaceImplementerDescriptor interface_implementers = 3;
*/
public cosmos.base.reflection.v2alpha1.Reflection.InterfaceImplementerDescriptorOrBuilder getInterfaceImplementersOrBuilder(
int index) {
if (interfaceImplementersBuilder_ == null) {
return interfaceImplementers_.get(index); } else {
return interfaceImplementersBuilder_.getMessageOrBuilder(index);
}
}
/**
*
* interface_implementers is a list of the descriptors of the interface implementers
*
*
* repeated .cosmos.base.reflection.v2alpha1.InterfaceImplementerDescriptor interface_implementers = 3;
*/
public java.util.List extends cosmos.base.reflection.v2alpha1.Reflection.InterfaceImplementerDescriptorOrBuilder>
getInterfaceImplementersOrBuilderList() {
if (interfaceImplementersBuilder_ != null) {
return interfaceImplementersBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(interfaceImplementers_);
}
}
/**
*
* interface_implementers is a list of the descriptors of the interface implementers
*
*
* repeated .cosmos.base.reflection.v2alpha1.InterfaceImplementerDescriptor interface_implementers = 3;
*/
public cosmos.base.reflection.v2alpha1.Reflection.InterfaceImplementerDescriptor.Builder addInterfaceImplementersBuilder() {
return getInterfaceImplementersFieldBuilder().addBuilder(
cosmos.base.reflection.v2alpha1.Reflection.InterfaceImplementerDescriptor.getDefaultInstance());
}
/**
*
* interface_implementers is a list of the descriptors of the interface implementers
*
*
* repeated .cosmos.base.reflection.v2alpha1.InterfaceImplementerDescriptor interface_implementers = 3;
*/
public cosmos.base.reflection.v2alpha1.Reflection.InterfaceImplementerDescriptor.Builder addInterfaceImplementersBuilder(
int index) {
return getInterfaceImplementersFieldBuilder().addBuilder(
index, cosmos.base.reflection.v2alpha1.Reflection.InterfaceImplementerDescriptor.getDefaultInstance());
}
/**
*
* interface_implementers is a list of the descriptors of the interface implementers
*
*
* repeated .cosmos.base.reflection.v2alpha1.InterfaceImplementerDescriptor interface_implementers = 3;
*/
public java.util.List
getInterfaceImplementersBuilderList() {
return getInterfaceImplementersFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
cosmos.base.reflection.v2alpha1.Reflection.InterfaceImplementerDescriptor, cosmos.base.reflection.v2alpha1.Reflection.InterfaceImplementerDescriptor.Builder, cosmos.base.reflection.v2alpha1.Reflection.InterfaceImplementerDescriptorOrBuilder>
getInterfaceImplementersFieldBuilder() {
if (interfaceImplementersBuilder_ == null) {
interfaceImplementersBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
cosmos.base.reflection.v2alpha1.Reflection.InterfaceImplementerDescriptor, cosmos.base.reflection.v2alpha1.Reflection.InterfaceImplementerDescriptor.Builder, cosmos.base.reflection.v2alpha1.Reflection.InterfaceImplementerDescriptorOrBuilder>(
interfaceImplementers_,
((bitField0_ & 0x00000002) != 0),
getParentForChildren(),
isClean());
interfaceImplementers_ = null;
}
return interfaceImplementersBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:cosmos.base.reflection.v2alpha1.InterfaceDescriptor)
}
// @@protoc_insertion_point(class_scope:cosmos.base.reflection.v2alpha1.InterfaceDescriptor)
private static final cosmos.base.reflection.v2alpha1.Reflection.InterfaceDescriptor DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new cosmos.base.reflection.v2alpha1.Reflection.InterfaceDescriptor();
}
public static cosmos.base.reflection.v2alpha1.Reflection.InterfaceDescriptor getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public InterfaceDescriptor parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new InterfaceDescriptor(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public cosmos.base.reflection.v2alpha1.Reflection.InterfaceDescriptor getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface InterfaceImplementerDescriptorOrBuilder extends
// @@protoc_insertion_point(interface_extends:cosmos.base.reflection.v2alpha1.InterfaceImplementerDescriptor)
com.google.protobuf.MessageOrBuilder {
/**
*
* fullname is the protobuf queryable name of the interface implementer
*
*
* string fullname = 1;
* @return The fullname.
*/
java.lang.String getFullname();
/**
*
* fullname is the protobuf queryable name of the interface implementer
*
*
* string fullname = 1;
* @return The bytes for fullname.
*/
com.google.protobuf.ByteString
getFullnameBytes();
/**
*
* type_url defines the type URL used when marshalling the type as any
* this is required so we can provide type safe google.protobuf.Any marshalling and
* unmarshalling, making sure that we don't accept just 'any' type
* in our interface fields
*
*
* string type_url = 2;
* @return The typeUrl.
*/
java.lang.String getTypeUrl();
/**
*
* type_url defines the type URL used when marshalling the type as any
* this is required so we can provide type safe google.protobuf.Any marshalling and
* unmarshalling, making sure that we don't accept just 'any' type
* in our interface fields
*
*
* string type_url = 2;
* @return The bytes for typeUrl.
*/
com.google.protobuf.ByteString
getTypeUrlBytes();
}
/**
*
* InterfaceImplementerDescriptor describes an interface implementer
*
*
* Protobuf type {@code cosmos.base.reflection.v2alpha1.InterfaceImplementerDescriptor}
*/
public static final class InterfaceImplementerDescriptor extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:cosmos.base.reflection.v2alpha1.InterfaceImplementerDescriptor)
InterfaceImplementerDescriptorOrBuilder {
private static final long serialVersionUID = 0L;
// Use InterfaceImplementerDescriptor.newBuilder() to construct.
private InterfaceImplementerDescriptor(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private InterfaceImplementerDescriptor() {
fullname_ = "";
typeUrl_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new InterfaceImplementerDescriptor();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private InterfaceImplementerDescriptor(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
java.lang.String s = input.readStringRequireUtf8();
fullname_ = s;
break;
}
case 18: {
java.lang.String s = input.readStringRequireUtf8();
typeUrl_ = s;
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return cosmos.base.reflection.v2alpha1.Reflection.internal_static_cosmos_base_reflection_v2alpha1_InterfaceImplementerDescriptor_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cosmos.base.reflection.v2alpha1.Reflection.internal_static_cosmos_base_reflection_v2alpha1_InterfaceImplementerDescriptor_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cosmos.base.reflection.v2alpha1.Reflection.InterfaceImplementerDescriptor.class, cosmos.base.reflection.v2alpha1.Reflection.InterfaceImplementerDescriptor.Builder.class);
}
public static final int FULLNAME_FIELD_NUMBER = 1;
private volatile java.lang.Object fullname_;
/**
*
* fullname is the protobuf queryable name of the interface implementer
*
*
* string fullname = 1;
* @return The fullname.
*/
@java.lang.Override
public java.lang.String getFullname() {
java.lang.Object ref = fullname_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
fullname_ = s;
return s;
}
}
/**
*
* fullname is the protobuf queryable name of the interface implementer
*
*
* string fullname = 1;
* @return The bytes for fullname.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getFullnameBytes() {
java.lang.Object ref = fullname_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
fullname_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int TYPE_URL_FIELD_NUMBER = 2;
private volatile java.lang.Object typeUrl_;
/**
*
* type_url defines the type URL used when marshalling the type as any
* this is required so we can provide type safe google.protobuf.Any marshalling and
* unmarshalling, making sure that we don't accept just 'any' type
* in our interface fields
*
*
* string type_url = 2;
* @return The typeUrl.
*/
@java.lang.Override
public java.lang.String getTypeUrl() {
java.lang.Object ref = typeUrl_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
typeUrl_ = s;
return s;
}
}
/**
*
* type_url defines the type URL used when marshalling the type as any
* this is required so we can provide type safe google.protobuf.Any marshalling and
* unmarshalling, making sure that we don't accept just 'any' type
* in our interface fields
*
*
* string type_url = 2;
* @return The bytes for typeUrl.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getTypeUrlBytes() {
java.lang.Object ref = typeUrl_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
typeUrl_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(fullname_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, fullname_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(typeUrl_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, typeUrl_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(fullname_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, fullname_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(typeUrl_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, typeUrl_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof cosmos.base.reflection.v2alpha1.Reflection.InterfaceImplementerDescriptor)) {
return super.equals(obj);
}
cosmos.base.reflection.v2alpha1.Reflection.InterfaceImplementerDescriptor other = (cosmos.base.reflection.v2alpha1.Reflection.InterfaceImplementerDescriptor) obj;
if (!getFullname()
.equals(other.getFullname())) return false;
if (!getTypeUrl()
.equals(other.getTypeUrl())) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + FULLNAME_FIELD_NUMBER;
hash = (53 * hash) + getFullname().hashCode();
hash = (37 * hash) + TYPE_URL_FIELD_NUMBER;
hash = (53 * hash) + getTypeUrl().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static cosmos.base.reflection.v2alpha1.Reflection.InterfaceImplementerDescriptor parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cosmos.base.reflection.v2alpha1.Reflection.InterfaceImplementerDescriptor parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cosmos.base.reflection.v2alpha1.Reflection.InterfaceImplementerDescriptor parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cosmos.base.reflection.v2alpha1.Reflection.InterfaceImplementerDescriptor parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cosmos.base.reflection.v2alpha1.Reflection.InterfaceImplementerDescriptor parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cosmos.base.reflection.v2alpha1.Reflection.InterfaceImplementerDescriptor parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cosmos.base.reflection.v2alpha1.Reflection.InterfaceImplementerDescriptor parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cosmos.base.reflection.v2alpha1.Reflection.InterfaceImplementerDescriptor parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static cosmos.base.reflection.v2alpha1.Reflection.InterfaceImplementerDescriptor parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static cosmos.base.reflection.v2alpha1.Reflection.InterfaceImplementerDescriptor parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static cosmos.base.reflection.v2alpha1.Reflection.InterfaceImplementerDescriptor parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cosmos.base.reflection.v2alpha1.Reflection.InterfaceImplementerDescriptor parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(cosmos.base.reflection.v2alpha1.Reflection.InterfaceImplementerDescriptor prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
*
* InterfaceImplementerDescriptor describes an interface implementer
*
*
* Protobuf type {@code cosmos.base.reflection.v2alpha1.InterfaceImplementerDescriptor}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:cosmos.base.reflection.v2alpha1.InterfaceImplementerDescriptor)
cosmos.base.reflection.v2alpha1.Reflection.InterfaceImplementerDescriptorOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return cosmos.base.reflection.v2alpha1.Reflection.internal_static_cosmos_base_reflection_v2alpha1_InterfaceImplementerDescriptor_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cosmos.base.reflection.v2alpha1.Reflection.internal_static_cosmos_base_reflection_v2alpha1_InterfaceImplementerDescriptor_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cosmos.base.reflection.v2alpha1.Reflection.InterfaceImplementerDescriptor.class, cosmos.base.reflection.v2alpha1.Reflection.InterfaceImplementerDescriptor.Builder.class);
}
// Construct using cosmos.base.reflection.v2alpha1.Reflection.InterfaceImplementerDescriptor.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@java.lang.Override
public Builder clear() {
super.clear();
fullname_ = "";
typeUrl_ = "";
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return cosmos.base.reflection.v2alpha1.Reflection.internal_static_cosmos_base_reflection_v2alpha1_InterfaceImplementerDescriptor_descriptor;
}
@java.lang.Override
public cosmos.base.reflection.v2alpha1.Reflection.InterfaceImplementerDescriptor getDefaultInstanceForType() {
return cosmos.base.reflection.v2alpha1.Reflection.InterfaceImplementerDescriptor.getDefaultInstance();
}
@java.lang.Override
public cosmos.base.reflection.v2alpha1.Reflection.InterfaceImplementerDescriptor build() {
cosmos.base.reflection.v2alpha1.Reflection.InterfaceImplementerDescriptor result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public cosmos.base.reflection.v2alpha1.Reflection.InterfaceImplementerDescriptor buildPartial() {
cosmos.base.reflection.v2alpha1.Reflection.InterfaceImplementerDescriptor result = new cosmos.base.reflection.v2alpha1.Reflection.InterfaceImplementerDescriptor(this);
result.fullname_ = fullname_;
result.typeUrl_ = typeUrl_;
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof cosmos.base.reflection.v2alpha1.Reflection.InterfaceImplementerDescriptor) {
return mergeFrom((cosmos.base.reflection.v2alpha1.Reflection.InterfaceImplementerDescriptor)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(cosmos.base.reflection.v2alpha1.Reflection.InterfaceImplementerDescriptor other) {
if (other == cosmos.base.reflection.v2alpha1.Reflection.InterfaceImplementerDescriptor.getDefaultInstance()) return this;
if (!other.getFullname().isEmpty()) {
fullname_ = other.fullname_;
onChanged();
}
if (!other.getTypeUrl().isEmpty()) {
typeUrl_ = other.typeUrl_;
onChanged();
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
cosmos.base.reflection.v2alpha1.Reflection.InterfaceImplementerDescriptor parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (cosmos.base.reflection.v2alpha1.Reflection.InterfaceImplementerDescriptor) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private java.lang.Object fullname_ = "";
/**
*
* fullname is the protobuf queryable name of the interface implementer
*
*
* string fullname = 1;
* @return The fullname.
*/
public java.lang.String getFullname() {
java.lang.Object ref = fullname_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
fullname_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* fullname is the protobuf queryable name of the interface implementer
*
*
* string fullname = 1;
* @return The bytes for fullname.
*/
public com.google.protobuf.ByteString
getFullnameBytes() {
java.lang.Object ref = fullname_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
fullname_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* fullname is the protobuf queryable name of the interface implementer
*
*
* string fullname = 1;
* @param value The fullname to set.
* @return This builder for chaining.
*/
public Builder setFullname(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
fullname_ = value;
onChanged();
return this;
}
/**
*
* fullname is the protobuf queryable name of the interface implementer
*
*
* string fullname = 1;
* @return This builder for chaining.
*/
public Builder clearFullname() {
fullname_ = getDefaultInstance().getFullname();
onChanged();
return this;
}
/**
*
* fullname is the protobuf queryable name of the interface implementer
*
*
* string fullname = 1;
* @param value The bytes for fullname to set.
* @return This builder for chaining.
*/
public Builder setFullnameBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
fullname_ = value;
onChanged();
return this;
}
private java.lang.Object typeUrl_ = "";
/**
*
* type_url defines the type URL used when marshalling the type as any
* this is required so we can provide type safe google.protobuf.Any marshalling and
* unmarshalling, making sure that we don't accept just 'any' type
* in our interface fields
*
*
* string type_url = 2;
* @return The typeUrl.
*/
public java.lang.String getTypeUrl() {
java.lang.Object ref = typeUrl_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
typeUrl_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* type_url defines the type URL used when marshalling the type as any
* this is required so we can provide type safe google.protobuf.Any marshalling and
* unmarshalling, making sure that we don't accept just 'any' type
* in our interface fields
*
*
* string type_url = 2;
* @return The bytes for typeUrl.
*/
public com.google.protobuf.ByteString
getTypeUrlBytes() {
java.lang.Object ref = typeUrl_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
typeUrl_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* type_url defines the type URL used when marshalling the type as any
* this is required so we can provide type safe google.protobuf.Any marshalling and
* unmarshalling, making sure that we don't accept just 'any' type
* in our interface fields
*
*
* string type_url = 2;
* @param value The typeUrl to set.
* @return This builder for chaining.
*/
public Builder setTypeUrl(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
typeUrl_ = value;
onChanged();
return this;
}
/**
*
* type_url defines the type URL used when marshalling the type as any
* this is required so we can provide type safe google.protobuf.Any marshalling and
* unmarshalling, making sure that we don't accept just 'any' type
* in our interface fields
*
*
* string type_url = 2;
* @return This builder for chaining.
*/
public Builder clearTypeUrl() {
typeUrl_ = getDefaultInstance().getTypeUrl();
onChanged();
return this;
}
/**
*
* type_url defines the type URL used when marshalling the type as any
* this is required so we can provide type safe google.protobuf.Any marshalling and
* unmarshalling, making sure that we don't accept just 'any' type
* in our interface fields
*
*
* string type_url = 2;
* @param value The bytes for typeUrl to set.
* @return This builder for chaining.
*/
public Builder setTypeUrlBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
typeUrl_ = value;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:cosmos.base.reflection.v2alpha1.InterfaceImplementerDescriptor)
}
// @@protoc_insertion_point(class_scope:cosmos.base.reflection.v2alpha1.InterfaceImplementerDescriptor)
private static final cosmos.base.reflection.v2alpha1.Reflection.InterfaceImplementerDescriptor DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new cosmos.base.reflection.v2alpha1.Reflection.InterfaceImplementerDescriptor();
}
public static cosmos.base.reflection.v2alpha1.Reflection.InterfaceImplementerDescriptor getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public InterfaceImplementerDescriptor parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new InterfaceImplementerDescriptor(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public cosmos.base.reflection.v2alpha1.Reflection.InterfaceImplementerDescriptor getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface InterfaceAcceptingMessageDescriptorOrBuilder extends
// @@protoc_insertion_point(interface_extends:cosmos.base.reflection.v2alpha1.InterfaceAcceptingMessageDescriptor)
com.google.protobuf.MessageOrBuilder {
/**
*
* fullname is the protobuf fullname of the type containing the interface
*
*
* string fullname = 1;
* @return The fullname.
*/
java.lang.String getFullname();
/**
*
* fullname is the protobuf fullname of the type containing the interface
*
*
* string fullname = 1;
* @return The bytes for fullname.
*/
com.google.protobuf.ByteString
getFullnameBytes();
/**
*
* field_descriptor_names is a list of the protobuf name (not fullname) of the field
* which contains the interface as google.protobuf.Any (the interface is the same, but
* it can be in multiple fields of the same proto message)
*
*
* repeated string field_descriptor_names = 2;
* @return A list containing the fieldDescriptorNames.
*/
java.util.List
getFieldDescriptorNamesList();
/**
*
* field_descriptor_names is a list of the protobuf name (not fullname) of the field
* which contains the interface as google.protobuf.Any (the interface is the same, but
* it can be in multiple fields of the same proto message)
*
*
* repeated string field_descriptor_names = 2;
* @return The count of fieldDescriptorNames.
*/
int getFieldDescriptorNamesCount();
/**
*
* field_descriptor_names is a list of the protobuf name (not fullname) of the field
* which contains the interface as google.protobuf.Any (the interface is the same, but
* it can be in multiple fields of the same proto message)
*
*
* repeated string field_descriptor_names = 2;
* @param index The index of the element to return.
* @return The fieldDescriptorNames at the given index.
*/
java.lang.String getFieldDescriptorNames(int index);
/**
*
* field_descriptor_names is a list of the protobuf name (not fullname) of the field
* which contains the interface as google.protobuf.Any (the interface is the same, but
* it can be in multiple fields of the same proto message)
*
*
* repeated string field_descriptor_names = 2;
* @param index The index of the value to return.
* @return The bytes of the fieldDescriptorNames at the given index.
*/
com.google.protobuf.ByteString
getFieldDescriptorNamesBytes(int index);
}
/**
*
* InterfaceAcceptingMessageDescriptor describes a protobuf message which contains
* an interface represented as a google.protobuf.Any
*
*
* Protobuf type {@code cosmos.base.reflection.v2alpha1.InterfaceAcceptingMessageDescriptor}
*/
public static final class InterfaceAcceptingMessageDescriptor extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:cosmos.base.reflection.v2alpha1.InterfaceAcceptingMessageDescriptor)
InterfaceAcceptingMessageDescriptorOrBuilder {
private static final long serialVersionUID = 0L;
// Use InterfaceAcceptingMessageDescriptor.newBuilder() to construct.
private InterfaceAcceptingMessageDescriptor(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private InterfaceAcceptingMessageDescriptor() {
fullname_ = "";
fieldDescriptorNames_ = com.google.protobuf.LazyStringArrayList.EMPTY;
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new InterfaceAcceptingMessageDescriptor();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private InterfaceAcceptingMessageDescriptor(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
java.lang.String s = input.readStringRequireUtf8();
fullname_ = s;
break;
}
case 18: {
java.lang.String s = input.readStringRequireUtf8();
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
fieldDescriptorNames_ = new com.google.protobuf.LazyStringArrayList();
mutable_bitField0_ |= 0x00000001;
}
fieldDescriptorNames_.add(s);
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000001) != 0)) {
fieldDescriptorNames_ = fieldDescriptorNames_.getUnmodifiableView();
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return cosmos.base.reflection.v2alpha1.Reflection.internal_static_cosmos_base_reflection_v2alpha1_InterfaceAcceptingMessageDescriptor_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cosmos.base.reflection.v2alpha1.Reflection.internal_static_cosmos_base_reflection_v2alpha1_InterfaceAcceptingMessageDescriptor_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cosmos.base.reflection.v2alpha1.Reflection.InterfaceAcceptingMessageDescriptor.class, cosmos.base.reflection.v2alpha1.Reflection.InterfaceAcceptingMessageDescriptor.Builder.class);
}
public static final int FULLNAME_FIELD_NUMBER = 1;
private volatile java.lang.Object fullname_;
/**
*
* fullname is the protobuf fullname of the type containing the interface
*
*
* string fullname = 1;
* @return The fullname.
*/
@java.lang.Override
public java.lang.String getFullname() {
java.lang.Object ref = fullname_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
fullname_ = s;
return s;
}
}
/**
*
* fullname is the protobuf fullname of the type containing the interface
*
*
* string fullname = 1;
* @return The bytes for fullname.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getFullnameBytes() {
java.lang.Object ref = fullname_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
fullname_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int FIELD_DESCRIPTOR_NAMES_FIELD_NUMBER = 2;
private com.google.protobuf.LazyStringList fieldDescriptorNames_;
/**
*
* field_descriptor_names is a list of the protobuf name (not fullname) of the field
* which contains the interface as google.protobuf.Any (the interface is the same, but
* it can be in multiple fields of the same proto message)
*
*
* repeated string field_descriptor_names = 2;
* @return A list containing the fieldDescriptorNames.
*/
public com.google.protobuf.ProtocolStringList
getFieldDescriptorNamesList() {
return fieldDescriptorNames_;
}
/**
*
* field_descriptor_names is a list of the protobuf name (not fullname) of the field
* which contains the interface as google.protobuf.Any (the interface is the same, but
* it can be in multiple fields of the same proto message)
*
*
* repeated string field_descriptor_names = 2;
* @return The count of fieldDescriptorNames.
*/
public int getFieldDescriptorNamesCount() {
return fieldDescriptorNames_.size();
}
/**
*
* field_descriptor_names is a list of the protobuf name (not fullname) of the field
* which contains the interface as google.protobuf.Any (the interface is the same, but
* it can be in multiple fields of the same proto message)
*
*
* repeated string field_descriptor_names = 2;
* @param index The index of the element to return.
* @return The fieldDescriptorNames at the given index.
*/
public java.lang.String getFieldDescriptorNames(int index) {
return fieldDescriptorNames_.get(index);
}
/**
*
* field_descriptor_names is a list of the protobuf name (not fullname) of the field
* which contains the interface as google.protobuf.Any (the interface is the same, but
* it can be in multiple fields of the same proto message)
*
*
* repeated string field_descriptor_names = 2;
* @param index The index of the value to return.
* @return The bytes of the fieldDescriptorNames at the given index.
*/
public com.google.protobuf.ByteString
getFieldDescriptorNamesBytes(int index) {
return fieldDescriptorNames_.getByteString(index);
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(fullname_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, fullname_);
}
for (int i = 0; i < fieldDescriptorNames_.size(); i++) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, fieldDescriptorNames_.getRaw(i));
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(fullname_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, fullname_);
}
{
int dataSize = 0;
for (int i = 0; i < fieldDescriptorNames_.size(); i++) {
dataSize += computeStringSizeNoTag(fieldDescriptorNames_.getRaw(i));
}
size += dataSize;
size += 1 * getFieldDescriptorNamesList().size();
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof cosmos.base.reflection.v2alpha1.Reflection.InterfaceAcceptingMessageDescriptor)) {
return super.equals(obj);
}
cosmos.base.reflection.v2alpha1.Reflection.InterfaceAcceptingMessageDescriptor other = (cosmos.base.reflection.v2alpha1.Reflection.InterfaceAcceptingMessageDescriptor) obj;
if (!getFullname()
.equals(other.getFullname())) return false;
if (!getFieldDescriptorNamesList()
.equals(other.getFieldDescriptorNamesList())) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + FULLNAME_FIELD_NUMBER;
hash = (53 * hash) + getFullname().hashCode();
if (getFieldDescriptorNamesCount() > 0) {
hash = (37 * hash) + FIELD_DESCRIPTOR_NAMES_FIELD_NUMBER;
hash = (53 * hash) + getFieldDescriptorNamesList().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static cosmos.base.reflection.v2alpha1.Reflection.InterfaceAcceptingMessageDescriptor parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cosmos.base.reflection.v2alpha1.Reflection.InterfaceAcceptingMessageDescriptor parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cosmos.base.reflection.v2alpha1.Reflection.InterfaceAcceptingMessageDescriptor parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cosmos.base.reflection.v2alpha1.Reflection.InterfaceAcceptingMessageDescriptor parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cosmos.base.reflection.v2alpha1.Reflection.InterfaceAcceptingMessageDescriptor parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cosmos.base.reflection.v2alpha1.Reflection.InterfaceAcceptingMessageDescriptor parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cosmos.base.reflection.v2alpha1.Reflection.InterfaceAcceptingMessageDescriptor parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cosmos.base.reflection.v2alpha1.Reflection.InterfaceAcceptingMessageDescriptor parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static cosmos.base.reflection.v2alpha1.Reflection.InterfaceAcceptingMessageDescriptor parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static cosmos.base.reflection.v2alpha1.Reflection.InterfaceAcceptingMessageDescriptor parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static cosmos.base.reflection.v2alpha1.Reflection.InterfaceAcceptingMessageDescriptor parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cosmos.base.reflection.v2alpha1.Reflection.InterfaceAcceptingMessageDescriptor parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(cosmos.base.reflection.v2alpha1.Reflection.InterfaceAcceptingMessageDescriptor prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
*
* InterfaceAcceptingMessageDescriptor describes a protobuf message which contains
* an interface represented as a google.protobuf.Any
*
*
* Protobuf type {@code cosmos.base.reflection.v2alpha1.InterfaceAcceptingMessageDescriptor}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:cosmos.base.reflection.v2alpha1.InterfaceAcceptingMessageDescriptor)
cosmos.base.reflection.v2alpha1.Reflection.InterfaceAcceptingMessageDescriptorOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return cosmos.base.reflection.v2alpha1.Reflection.internal_static_cosmos_base_reflection_v2alpha1_InterfaceAcceptingMessageDescriptor_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cosmos.base.reflection.v2alpha1.Reflection.internal_static_cosmos_base_reflection_v2alpha1_InterfaceAcceptingMessageDescriptor_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cosmos.base.reflection.v2alpha1.Reflection.InterfaceAcceptingMessageDescriptor.class, cosmos.base.reflection.v2alpha1.Reflection.InterfaceAcceptingMessageDescriptor.Builder.class);
}
// Construct using cosmos.base.reflection.v2alpha1.Reflection.InterfaceAcceptingMessageDescriptor.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@java.lang.Override
public Builder clear() {
super.clear();
fullname_ = "";
fieldDescriptorNames_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000001);
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return cosmos.base.reflection.v2alpha1.Reflection.internal_static_cosmos_base_reflection_v2alpha1_InterfaceAcceptingMessageDescriptor_descriptor;
}
@java.lang.Override
public cosmos.base.reflection.v2alpha1.Reflection.InterfaceAcceptingMessageDescriptor getDefaultInstanceForType() {
return cosmos.base.reflection.v2alpha1.Reflection.InterfaceAcceptingMessageDescriptor.getDefaultInstance();
}
@java.lang.Override
public cosmos.base.reflection.v2alpha1.Reflection.InterfaceAcceptingMessageDescriptor build() {
cosmos.base.reflection.v2alpha1.Reflection.InterfaceAcceptingMessageDescriptor result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public cosmos.base.reflection.v2alpha1.Reflection.InterfaceAcceptingMessageDescriptor buildPartial() {
cosmos.base.reflection.v2alpha1.Reflection.InterfaceAcceptingMessageDescriptor result = new cosmos.base.reflection.v2alpha1.Reflection.InterfaceAcceptingMessageDescriptor(this);
int from_bitField0_ = bitField0_;
result.fullname_ = fullname_;
if (((bitField0_ & 0x00000001) != 0)) {
fieldDescriptorNames_ = fieldDescriptorNames_.getUnmodifiableView();
bitField0_ = (bitField0_ & ~0x00000001);
}
result.fieldDescriptorNames_ = fieldDescriptorNames_;
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof cosmos.base.reflection.v2alpha1.Reflection.InterfaceAcceptingMessageDescriptor) {
return mergeFrom((cosmos.base.reflection.v2alpha1.Reflection.InterfaceAcceptingMessageDescriptor)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(cosmos.base.reflection.v2alpha1.Reflection.InterfaceAcceptingMessageDescriptor other) {
if (other == cosmos.base.reflection.v2alpha1.Reflection.InterfaceAcceptingMessageDescriptor.getDefaultInstance()) return this;
if (!other.getFullname().isEmpty()) {
fullname_ = other.fullname_;
onChanged();
}
if (!other.fieldDescriptorNames_.isEmpty()) {
if (fieldDescriptorNames_.isEmpty()) {
fieldDescriptorNames_ = other.fieldDescriptorNames_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureFieldDescriptorNamesIsMutable();
fieldDescriptorNames_.addAll(other.fieldDescriptorNames_);
}
onChanged();
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
cosmos.base.reflection.v2alpha1.Reflection.InterfaceAcceptingMessageDescriptor parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (cosmos.base.reflection.v2alpha1.Reflection.InterfaceAcceptingMessageDescriptor) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.lang.Object fullname_ = "";
/**
*
* fullname is the protobuf fullname of the type containing the interface
*
*
* string fullname = 1;
* @return The fullname.
*/
public java.lang.String getFullname() {
java.lang.Object ref = fullname_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
fullname_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* fullname is the protobuf fullname of the type containing the interface
*
*
* string fullname = 1;
* @return The bytes for fullname.
*/
public com.google.protobuf.ByteString
getFullnameBytes() {
java.lang.Object ref = fullname_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
fullname_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* fullname is the protobuf fullname of the type containing the interface
*
*
* string fullname = 1;
* @param value The fullname to set.
* @return This builder for chaining.
*/
public Builder setFullname(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
fullname_ = value;
onChanged();
return this;
}
/**
*
* fullname is the protobuf fullname of the type containing the interface
*
*
* string fullname = 1;
* @return This builder for chaining.
*/
public Builder clearFullname() {
fullname_ = getDefaultInstance().getFullname();
onChanged();
return this;
}
/**
*
* fullname is the protobuf fullname of the type containing the interface
*
*
* string fullname = 1;
* @param value The bytes for fullname to set.
* @return This builder for chaining.
*/
public Builder setFullnameBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
fullname_ = value;
onChanged();
return this;
}
private com.google.protobuf.LazyStringList fieldDescriptorNames_ = com.google.protobuf.LazyStringArrayList.EMPTY;
private void ensureFieldDescriptorNamesIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
fieldDescriptorNames_ = new com.google.protobuf.LazyStringArrayList(fieldDescriptorNames_);
bitField0_ |= 0x00000001;
}
}
/**
*
* field_descriptor_names is a list of the protobuf name (not fullname) of the field
* which contains the interface as google.protobuf.Any (the interface is the same, but
* it can be in multiple fields of the same proto message)
*
*
* repeated string field_descriptor_names = 2;
* @return A list containing the fieldDescriptorNames.
*/
public com.google.protobuf.ProtocolStringList
getFieldDescriptorNamesList() {
return fieldDescriptorNames_.getUnmodifiableView();
}
/**
*
* field_descriptor_names is a list of the protobuf name (not fullname) of the field
* which contains the interface as google.protobuf.Any (the interface is the same, but
* it can be in multiple fields of the same proto message)
*
*
* repeated string field_descriptor_names = 2;
* @return The count of fieldDescriptorNames.
*/
public int getFieldDescriptorNamesCount() {
return fieldDescriptorNames_.size();
}
/**
*
* field_descriptor_names is a list of the protobuf name (not fullname) of the field
* which contains the interface as google.protobuf.Any (the interface is the same, but
* it can be in multiple fields of the same proto message)
*
*
* repeated string field_descriptor_names = 2;
* @param index The index of the element to return.
* @return The fieldDescriptorNames at the given index.
*/
public java.lang.String getFieldDescriptorNames(int index) {
return fieldDescriptorNames_.get(index);
}
/**
*
* field_descriptor_names is a list of the protobuf name (not fullname) of the field
* which contains the interface as google.protobuf.Any (the interface is the same, but
* it can be in multiple fields of the same proto message)
*
*
* repeated string field_descriptor_names = 2;
* @param index The index of the value to return.
* @return The bytes of the fieldDescriptorNames at the given index.
*/
public com.google.protobuf.ByteString
getFieldDescriptorNamesBytes(int index) {
return fieldDescriptorNames_.getByteString(index);
}
/**
*
* field_descriptor_names is a list of the protobuf name (not fullname) of the field
* which contains the interface as google.protobuf.Any (the interface is the same, but
* it can be in multiple fields of the same proto message)
*
*
* repeated string field_descriptor_names = 2;
* @param index The index to set the value at.
* @param value The fieldDescriptorNames to set.
* @return This builder for chaining.
*/
public Builder setFieldDescriptorNames(
int index, java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureFieldDescriptorNamesIsMutable();
fieldDescriptorNames_.set(index, value);
onChanged();
return this;
}
/**
*
* field_descriptor_names is a list of the protobuf name (not fullname) of the field
* which contains the interface as google.protobuf.Any (the interface is the same, but
* it can be in multiple fields of the same proto message)
*
*
* repeated string field_descriptor_names = 2;
* @param value The fieldDescriptorNames to add.
* @return This builder for chaining.
*/
public Builder addFieldDescriptorNames(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureFieldDescriptorNamesIsMutable();
fieldDescriptorNames_.add(value);
onChanged();
return this;
}
/**
*
* field_descriptor_names is a list of the protobuf name (not fullname) of the field
* which contains the interface as google.protobuf.Any (the interface is the same, but
* it can be in multiple fields of the same proto message)
*
*
* repeated string field_descriptor_names = 2;
* @param values The fieldDescriptorNames to add.
* @return This builder for chaining.
*/
public Builder addAllFieldDescriptorNames(
java.lang.Iterable values) {
ensureFieldDescriptorNamesIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, fieldDescriptorNames_);
onChanged();
return this;
}
/**
*
* field_descriptor_names is a list of the protobuf name (not fullname) of the field
* which contains the interface as google.protobuf.Any (the interface is the same, but
* it can be in multiple fields of the same proto message)
*
*
* repeated string field_descriptor_names = 2;
* @return This builder for chaining.
*/
public Builder clearFieldDescriptorNames() {
fieldDescriptorNames_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
/**
*
* field_descriptor_names is a list of the protobuf name (not fullname) of the field
* which contains the interface as google.protobuf.Any (the interface is the same, but
* it can be in multiple fields of the same proto message)
*
*
* repeated string field_descriptor_names = 2;
* @param value The bytes of the fieldDescriptorNames to add.
* @return This builder for chaining.
*/
public Builder addFieldDescriptorNamesBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
ensureFieldDescriptorNamesIsMutable();
fieldDescriptorNames_.add(value);
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:cosmos.base.reflection.v2alpha1.InterfaceAcceptingMessageDescriptor)
}
// @@protoc_insertion_point(class_scope:cosmos.base.reflection.v2alpha1.InterfaceAcceptingMessageDescriptor)
private static final cosmos.base.reflection.v2alpha1.Reflection.InterfaceAcceptingMessageDescriptor DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new cosmos.base.reflection.v2alpha1.Reflection.InterfaceAcceptingMessageDescriptor();
}
public static cosmos.base.reflection.v2alpha1.Reflection.InterfaceAcceptingMessageDescriptor getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public InterfaceAcceptingMessageDescriptor parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new InterfaceAcceptingMessageDescriptor(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public cosmos.base.reflection.v2alpha1.Reflection.InterfaceAcceptingMessageDescriptor getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface ConfigurationDescriptorOrBuilder extends
// @@protoc_insertion_point(interface_extends:cosmos.base.reflection.v2alpha1.ConfigurationDescriptor)
com.google.protobuf.MessageOrBuilder {
/**
*
* bech32_account_address_prefix is the account address prefix
*
*
* string bech32_account_address_prefix = 1;
* @return The bech32AccountAddressPrefix.
*/
java.lang.String getBech32AccountAddressPrefix();
/**
*
* bech32_account_address_prefix is the account address prefix
*
*
* string bech32_account_address_prefix = 1;
* @return The bytes for bech32AccountAddressPrefix.
*/
com.google.protobuf.ByteString
getBech32AccountAddressPrefixBytes();
}
/**
*
* ConfigurationDescriptor contains metadata information on the sdk.Config
*
*
* Protobuf type {@code cosmos.base.reflection.v2alpha1.ConfigurationDescriptor}
*/
public static final class ConfigurationDescriptor extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:cosmos.base.reflection.v2alpha1.ConfigurationDescriptor)
ConfigurationDescriptorOrBuilder {
private static final long serialVersionUID = 0L;
// Use ConfigurationDescriptor.newBuilder() to construct.
private ConfigurationDescriptor(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private ConfigurationDescriptor() {
bech32AccountAddressPrefix_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new ConfigurationDescriptor();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private ConfigurationDescriptor(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
java.lang.String s = input.readStringRequireUtf8();
bech32AccountAddressPrefix_ = s;
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return cosmos.base.reflection.v2alpha1.Reflection.internal_static_cosmos_base_reflection_v2alpha1_ConfigurationDescriptor_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cosmos.base.reflection.v2alpha1.Reflection.internal_static_cosmos_base_reflection_v2alpha1_ConfigurationDescriptor_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cosmos.base.reflection.v2alpha1.Reflection.ConfigurationDescriptor.class, cosmos.base.reflection.v2alpha1.Reflection.ConfigurationDescriptor.Builder.class);
}
public static final int BECH32_ACCOUNT_ADDRESS_PREFIX_FIELD_NUMBER = 1;
private volatile java.lang.Object bech32AccountAddressPrefix_;
/**
*
* bech32_account_address_prefix is the account address prefix
*
*
* string bech32_account_address_prefix = 1;
* @return The bech32AccountAddressPrefix.
*/
@java.lang.Override
public java.lang.String getBech32AccountAddressPrefix() {
java.lang.Object ref = bech32AccountAddressPrefix_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
bech32AccountAddressPrefix_ = s;
return s;
}
}
/**
*
* bech32_account_address_prefix is the account address prefix
*
*
* string bech32_account_address_prefix = 1;
* @return The bytes for bech32AccountAddressPrefix.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getBech32AccountAddressPrefixBytes() {
java.lang.Object ref = bech32AccountAddressPrefix_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
bech32AccountAddressPrefix_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(bech32AccountAddressPrefix_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, bech32AccountAddressPrefix_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(bech32AccountAddressPrefix_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, bech32AccountAddressPrefix_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof cosmos.base.reflection.v2alpha1.Reflection.ConfigurationDescriptor)) {
return super.equals(obj);
}
cosmos.base.reflection.v2alpha1.Reflection.ConfigurationDescriptor other = (cosmos.base.reflection.v2alpha1.Reflection.ConfigurationDescriptor) obj;
if (!getBech32AccountAddressPrefix()
.equals(other.getBech32AccountAddressPrefix())) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + BECH32_ACCOUNT_ADDRESS_PREFIX_FIELD_NUMBER;
hash = (53 * hash) + getBech32AccountAddressPrefix().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static cosmos.base.reflection.v2alpha1.Reflection.ConfigurationDescriptor parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cosmos.base.reflection.v2alpha1.Reflection.ConfigurationDescriptor parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cosmos.base.reflection.v2alpha1.Reflection.ConfigurationDescriptor parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cosmos.base.reflection.v2alpha1.Reflection.ConfigurationDescriptor parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cosmos.base.reflection.v2alpha1.Reflection.ConfigurationDescriptor parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cosmos.base.reflection.v2alpha1.Reflection.ConfigurationDescriptor parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cosmos.base.reflection.v2alpha1.Reflection.ConfigurationDescriptor parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cosmos.base.reflection.v2alpha1.Reflection.ConfigurationDescriptor parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static cosmos.base.reflection.v2alpha1.Reflection.ConfigurationDescriptor parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static cosmos.base.reflection.v2alpha1.Reflection.ConfigurationDescriptor parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static cosmos.base.reflection.v2alpha1.Reflection.ConfigurationDescriptor parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cosmos.base.reflection.v2alpha1.Reflection.ConfigurationDescriptor parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(cosmos.base.reflection.v2alpha1.Reflection.ConfigurationDescriptor prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
*
* ConfigurationDescriptor contains metadata information on the sdk.Config
*
*
* Protobuf type {@code cosmos.base.reflection.v2alpha1.ConfigurationDescriptor}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:cosmos.base.reflection.v2alpha1.ConfigurationDescriptor)
cosmos.base.reflection.v2alpha1.Reflection.ConfigurationDescriptorOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return cosmos.base.reflection.v2alpha1.Reflection.internal_static_cosmos_base_reflection_v2alpha1_ConfigurationDescriptor_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cosmos.base.reflection.v2alpha1.Reflection.internal_static_cosmos_base_reflection_v2alpha1_ConfigurationDescriptor_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cosmos.base.reflection.v2alpha1.Reflection.ConfigurationDescriptor.class, cosmos.base.reflection.v2alpha1.Reflection.ConfigurationDescriptor.Builder.class);
}
// Construct using cosmos.base.reflection.v2alpha1.Reflection.ConfigurationDescriptor.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@java.lang.Override
public Builder clear() {
super.clear();
bech32AccountAddressPrefix_ = "";
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return cosmos.base.reflection.v2alpha1.Reflection.internal_static_cosmos_base_reflection_v2alpha1_ConfigurationDescriptor_descriptor;
}
@java.lang.Override
public cosmos.base.reflection.v2alpha1.Reflection.ConfigurationDescriptor getDefaultInstanceForType() {
return cosmos.base.reflection.v2alpha1.Reflection.ConfigurationDescriptor.getDefaultInstance();
}
@java.lang.Override
public cosmos.base.reflection.v2alpha1.Reflection.ConfigurationDescriptor build() {
cosmos.base.reflection.v2alpha1.Reflection.ConfigurationDescriptor result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public cosmos.base.reflection.v2alpha1.Reflection.ConfigurationDescriptor buildPartial() {
cosmos.base.reflection.v2alpha1.Reflection.ConfigurationDescriptor result = new cosmos.base.reflection.v2alpha1.Reflection.ConfigurationDescriptor(this);
result.bech32AccountAddressPrefix_ = bech32AccountAddressPrefix_;
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof cosmos.base.reflection.v2alpha1.Reflection.ConfigurationDescriptor) {
return mergeFrom((cosmos.base.reflection.v2alpha1.Reflection.ConfigurationDescriptor)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(cosmos.base.reflection.v2alpha1.Reflection.ConfigurationDescriptor other) {
if (other == cosmos.base.reflection.v2alpha1.Reflection.ConfigurationDescriptor.getDefaultInstance()) return this;
if (!other.getBech32AccountAddressPrefix().isEmpty()) {
bech32AccountAddressPrefix_ = other.bech32AccountAddressPrefix_;
onChanged();
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
cosmos.base.reflection.v2alpha1.Reflection.ConfigurationDescriptor parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (cosmos.base.reflection.v2alpha1.Reflection.ConfigurationDescriptor) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private java.lang.Object bech32AccountAddressPrefix_ = "";
/**
*
* bech32_account_address_prefix is the account address prefix
*
*
* string bech32_account_address_prefix = 1;
* @return The bech32AccountAddressPrefix.
*/
public java.lang.String getBech32AccountAddressPrefix() {
java.lang.Object ref = bech32AccountAddressPrefix_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
bech32AccountAddressPrefix_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* bech32_account_address_prefix is the account address prefix
*
*
* string bech32_account_address_prefix = 1;
* @return The bytes for bech32AccountAddressPrefix.
*/
public com.google.protobuf.ByteString
getBech32AccountAddressPrefixBytes() {
java.lang.Object ref = bech32AccountAddressPrefix_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
bech32AccountAddressPrefix_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* bech32_account_address_prefix is the account address prefix
*
*
* string bech32_account_address_prefix = 1;
* @param value The bech32AccountAddressPrefix to set.
* @return This builder for chaining.
*/
public Builder setBech32AccountAddressPrefix(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bech32AccountAddressPrefix_ = value;
onChanged();
return this;
}
/**
*
* bech32_account_address_prefix is the account address prefix
*
*
* string bech32_account_address_prefix = 1;
* @return This builder for chaining.
*/
public Builder clearBech32AccountAddressPrefix() {
bech32AccountAddressPrefix_ = getDefaultInstance().getBech32AccountAddressPrefix();
onChanged();
return this;
}
/**
*
* bech32_account_address_prefix is the account address prefix
*
*
* string bech32_account_address_prefix = 1;
* @param value The bytes for bech32AccountAddressPrefix to set.
* @return This builder for chaining.
*/
public Builder setBech32AccountAddressPrefixBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
bech32AccountAddressPrefix_ = value;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:cosmos.base.reflection.v2alpha1.ConfigurationDescriptor)
}
// @@protoc_insertion_point(class_scope:cosmos.base.reflection.v2alpha1.ConfigurationDescriptor)
private static final cosmos.base.reflection.v2alpha1.Reflection.ConfigurationDescriptor DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new cosmos.base.reflection.v2alpha1.Reflection.ConfigurationDescriptor();
}
public static cosmos.base.reflection.v2alpha1.Reflection.ConfigurationDescriptor getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public ConfigurationDescriptor parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new ConfigurationDescriptor(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public cosmos.base.reflection.v2alpha1.Reflection.ConfigurationDescriptor getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface MsgDescriptorOrBuilder extends
// @@protoc_insertion_point(interface_extends:cosmos.base.reflection.v2alpha1.MsgDescriptor)
com.google.protobuf.MessageOrBuilder {
/**
*
* msg_type_url contains the TypeURL of a sdk.Msg.
*
*
* string msg_type_url = 1;
* @return The msgTypeUrl.
*/
java.lang.String getMsgTypeUrl();
/**
*
* msg_type_url contains the TypeURL of a sdk.Msg.
*
*
* string msg_type_url = 1;
* @return The bytes for msgTypeUrl.
*/
com.google.protobuf.ByteString
getMsgTypeUrlBytes();
}
/**
*
* MsgDescriptor describes a cosmos-sdk message that can be delivered with a transaction
*
*
* Protobuf type {@code cosmos.base.reflection.v2alpha1.MsgDescriptor}
*/
public static final class MsgDescriptor extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:cosmos.base.reflection.v2alpha1.MsgDescriptor)
MsgDescriptorOrBuilder {
private static final long serialVersionUID = 0L;
// Use MsgDescriptor.newBuilder() to construct.
private MsgDescriptor(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private MsgDescriptor() {
msgTypeUrl_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new MsgDescriptor();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private MsgDescriptor(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
java.lang.String s = input.readStringRequireUtf8();
msgTypeUrl_ = s;
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return cosmos.base.reflection.v2alpha1.Reflection.internal_static_cosmos_base_reflection_v2alpha1_MsgDescriptor_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cosmos.base.reflection.v2alpha1.Reflection.internal_static_cosmos_base_reflection_v2alpha1_MsgDescriptor_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cosmos.base.reflection.v2alpha1.Reflection.MsgDescriptor.class, cosmos.base.reflection.v2alpha1.Reflection.MsgDescriptor.Builder.class);
}
public static final int MSG_TYPE_URL_FIELD_NUMBER = 1;
private volatile java.lang.Object msgTypeUrl_;
/**
*
* msg_type_url contains the TypeURL of a sdk.Msg.
*
*
* string msg_type_url = 1;
* @return The msgTypeUrl.
*/
@java.lang.Override
public java.lang.String getMsgTypeUrl() {
java.lang.Object ref = msgTypeUrl_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
msgTypeUrl_ = s;
return s;
}
}
/**
*
* msg_type_url contains the TypeURL of a sdk.Msg.
*
*
* string msg_type_url = 1;
* @return The bytes for msgTypeUrl.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getMsgTypeUrlBytes() {
java.lang.Object ref = msgTypeUrl_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
msgTypeUrl_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(msgTypeUrl_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, msgTypeUrl_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(msgTypeUrl_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, msgTypeUrl_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof cosmos.base.reflection.v2alpha1.Reflection.MsgDescriptor)) {
return super.equals(obj);
}
cosmos.base.reflection.v2alpha1.Reflection.MsgDescriptor other = (cosmos.base.reflection.v2alpha1.Reflection.MsgDescriptor) obj;
if (!getMsgTypeUrl()
.equals(other.getMsgTypeUrl())) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + MSG_TYPE_URL_FIELD_NUMBER;
hash = (53 * hash) + getMsgTypeUrl().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static cosmos.base.reflection.v2alpha1.Reflection.MsgDescriptor parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cosmos.base.reflection.v2alpha1.Reflection.MsgDescriptor parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cosmos.base.reflection.v2alpha1.Reflection.MsgDescriptor parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cosmos.base.reflection.v2alpha1.Reflection.MsgDescriptor parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cosmos.base.reflection.v2alpha1.Reflection.MsgDescriptor parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cosmos.base.reflection.v2alpha1.Reflection.MsgDescriptor parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cosmos.base.reflection.v2alpha1.Reflection.MsgDescriptor parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cosmos.base.reflection.v2alpha1.Reflection.MsgDescriptor parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static cosmos.base.reflection.v2alpha1.Reflection.MsgDescriptor parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static cosmos.base.reflection.v2alpha1.Reflection.MsgDescriptor parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static cosmos.base.reflection.v2alpha1.Reflection.MsgDescriptor parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cosmos.base.reflection.v2alpha1.Reflection.MsgDescriptor parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(cosmos.base.reflection.v2alpha1.Reflection.MsgDescriptor prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
*
* MsgDescriptor describes a cosmos-sdk message that can be delivered with a transaction
*
*
* Protobuf type {@code cosmos.base.reflection.v2alpha1.MsgDescriptor}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:cosmos.base.reflection.v2alpha1.MsgDescriptor)
cosmos.base.reflection.v2alpha1.Reflection.MsgDescriptorOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return cosmos.base.reflection.v2alpha1.Reflection.internal_static_cosmos_base_reflection_v2alpha1_MsgDescriptor_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cosmos.base.reflection.v2alpha1.Reflection.internal_static_cosmos_base_reflection_v2alpha1_MsgDescriptor_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cosmos.base.reflection.v2alpha1.Reflection.MsgDescriptor.class, cosmos.base.reflection.v2alpha1.Reflection.MsgDescriptor.Builder.class);
}
// Construct using cosmos.base.reflection.v2alpha1.Reflection.MsgDescriptor.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@java.lang.Override
public Builder clear() {
super.clear();
msgTypeUrl_ = "";
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return cosmos.base.reflection.v2alpha1.Reflection.internal_static_cosmos_base_reflection_v2alpha1_MsgDescriptor_descriptor;
}
@java.lang.Override
public cosmos.base.reflection.v2alpha1.Reflection.MsgDescriptor getDefaultInstanceForType() {
return cosmos.base.reflection.v2alpha1.Reflection.MsgDescriptor.getDefaultInstance();
}
@java.lang.Override
public cosmos.base.reflection.v2alpha1.Reflection.MsgDescriptor build() {
cosmos.base.reflection.v2alpha1.Reflection.MsgDescriptor result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public cosmos.base.reflection.v2alpha1.Reflection.MsgDescriptor buildPartial() {
cosmos.base.reflection.v2alpha1.Reflection.MsgDescriptor result = new cosmos.base.reflection.v2alpha1.Reflection.MsgDescriptor(this);
result.msgTypeUrl_ = msgTypeUrl_;
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof cosmos.base.reflection.v2alpha1.Reflection.MsgDescriptor) {
return mergeFrom((cosmos.base.reflection.v2alpha1.Reflection.MsgDescriptor)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(cosmos.base.reflection.v2alpha1.Reflection.MsgDescriptor other) {
if (other == cosmos.base.reflection.v2alpha1.Reflection.MsgDescriptor.getDefaultInstance()) return this;
if (!other.getMsgTypeUrl().isEmpty()) {
msgTypeUrl_ = other.msgTypeUrl_;
onChanged();
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
cosmos.base.reflection.v2alpha1.Reflection.MsgDescriptor parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (cosmos.base.reflection.v2alpha1.Reflection.MsgDescriptor) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private java.lang.Object msgTypeUrl_ = "";
/**
*
* msg_type_url contains the TypeURL of a sdk.Msg.
*
*
* string msg_type_url = 1;
* @return The msgTypeUrl.
*/
public java.lang.String getMsgTypeUrl() {
java.lang.Object ref = msgTypeUrl_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
msgTypeUrl_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* msg_type_url contains the TypeURL of a sdk.Msg.
*
*
* string msg_type_url = 1;
* @return The bytes for msgTypeUrl.
*/
public com.google.protobuf.ByteString
getMsgTypeUrlBytes() {
java.lang.Object ref = msgTypeUrl_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
msgTypeUrl_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* msg_type_url contains the TypeURL of a sdk.Msg.
*
*
* string msg_type_url = 1;
* @param value The msgTypeUrl to set.
* @return This builder for chaining.
*/
public Builder setMsgTypeUrl(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
msgTypeUrl_ = value;
onChanged();
return this;
}
/**
*
* msg_type_url contains the TypeURL of a sdk.Msg.
*
*
* string msg_type_url = 1;
* @return This builder for chaining.
*/
public Builder clearMsgTypeUrl() {
msgTypeUrl_ = getDefaultInstance().getMsgTypeUrl();
onChanged();
return this;
}
/**
*
* msg_type_url contains the TypeURL of a sdk.Msg.
*
*
* string msg_type_url = 1;
* @param value The bytes for msgTypeUrl to set.
* @return This builder for chaining.
*/
public Builder setMsgTypeUrlBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
msgTypeUrl_ = value;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:cosmos.base.reflection.v2alpha1.MsgDescriptor)
}
// @@protoc_insertion_point(class_scope:cosmos.base.reflection.v2alpha1.MsgDescriptor)
private static final cosmos.base.reflection.v2alpha1.Reflection.MsgDescriptor DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new cosmos.base.reflection.v2alpha1.Reflection.MsgDescriptor();
}
public static cosmos.base.reflection.v2alpha1.Reflection.MsgDescriptor getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public MsgDescriptor parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new MsgDescriptor(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public cosmos.base.reflection.v2alpha1.Reflection.MsgDescriptor getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface GetAuthnDescriptorRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:cosmos.base.reflection.v2alpha1.GetAuthnDescriptorRequest)
com.google.protobuf.MessageOrBuilder {
}
/**
*
* GetAuthnDescriptorRequest is the request used for the GetAuthnDescriptor RPC
*
*
* Protobuf type {@code cosmos.base.reflection.v2alpha1.GetAuthnDescriptorRequest}
*/
public static final class GetAuthnDescriptorRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:cosmos.base.reflection.v2alpha1.GetAuthnDescriptorRequest)
GetAuthnDescriptorRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use GetAuthnDescriptorRequest.newBuilder() to construct.
private GetAuthnDescriptorRequest(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private GetAuthnDescriptorRequest() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new GetAuthnDescriptorRequest();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private GetAuthnDescriptorRequest(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
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 (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return cosmos.base.reflection.v2alpha1.Reflection.internal_static_cosmos_base_reflection_v2alpha1_GetAuthnDescriptorRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cosmos.base.reflection.v2alpha1.Reflection.internal_static_cosmos_base_reflection_v2alpha1_GetAuthnDescriptorRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cosmos.base.reflection.v2alpha1.Reflection.GetAuthnDescriptorRequest.class, cosmos.base.reflection.v2alpha1.Reflection.GetAuthnDescriptorRequest.Builder.class);
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof cosmos.base.reflection.v2alpha1.Reflection.GetAuthnDescriptorRequest)) {
return super.equals(obj);
}
cosmos.base.reflection.v2alpha1.Reflection.GetAuthnDescriptorRequest other = (cosmos.base.reflection.v2alpha1.Reflection.GetAuthnDescriptorRequest) obj;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static cosmos.base.reflection.v2alpha1.Reflection.GetAuthnDescriptorRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cosmos.base.reflection.v2alpha1.Reflection.GetAuthnDescriptorRequest parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cosmos.base.reflection.v2alpha1.Reflection.GetAuthnDescriptorRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cosmos.base.reflection.v2alpha1.Reflection.GetAuthnDescriptorRequest parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cosmos.base.reflection.v2alpha1.Reflection.GetAuthnDescriptorRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cosmos.base.reflection.v2alpha1.Reflection.GetAuthnDescriptorRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cosmos.base.reflection.v2alpha1.Reflection.GetAuthnDescriptorRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cosmos.base.reflection.v2alpha1.Reflection.GetAuthnDescriptorRequest parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static cosmos.base.reflection.v2alpha1.Reflection.GetAuthnDescriptorRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static cosmos.base.reflection.v2alpha1.Reflection.GetAuthnDescriptorRequest parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static cosmos.base.reflection.v2alpha1.Reflection.GetAuthnDescriptorRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cosmos.base.reflection.v2alpha1.Reflection.GetAuthnDescriptorRequest parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(cosmos.base.reflection.v2alpha1.Reflection.GetAuthnDescriptorRequest prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
*
* GetAuthnDescriptorRequest is the request used for the GetAuthnDescriptor RPC
*
*
* Protobuf type {@code cosmos.base.reflection.v2alpha1.GetAuthnDescriptorRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:cosmos.base.reflection.v2alpha1.GetAuthnDescriptorRequest)
cosmos.base.reflection.v2alpha1.Reflection.GetAuthnDescriptorRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return cosmos.base.reflection.v2alpha1.Reflection.internal_static_cosmos_base_reflection_v2alpha1_GetAuthnDescriptorRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cosmos.base.reflection.v2alpha1.Reflection.internal_static_cosmos_base_reflection_v2alpha1_GetAuthnDescriptorRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cosmos.base.reflection.v2alpha1.Reflection.GetAuthnDescriptorRequest.class, cosmos.base.reflection.v2alpha1.Reflection.GetAuthnDescriptorRequest.Builder.class);
}
// Construct using cosmos.base.reflection.v2alpha1.Reflection.GetAuthnDescriptorRequest.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@java.lang.Override
public Builder clear() {
super.clear();
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return cosmos.base.reflection.v2alpha1.Reflection.internal_static_cosmos_base_reflection_v2alpha1_GetAuthnDescriptorRequest_descriptor;
}
@java.lang.Override
public cosmos.base.reflection.v2alpha1.Reflection.GetAuthnDescriptorRequest getDefaultInstanceForType() {
return cosmos.base.reflection.v2alpha1.Reflection.GetAuthnDescriptorRequest.getDefaultInstance();
}
@java.lang.Override
public cosmos.base.reflection.v2alpha1.Reflection.GetAuthnDescriptorRequest build() {
cosmos.base.reflection.v2alpha1.Reflection.GetAuthnDescriptorRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public cosmos.base.reflection.v2alpha1.Reflection.GetAuthnDescriptorRequest buildPartial() {
cosmos.base.reflection.v2alpha1.Reflection.GetAuthnDescriptorRequest result = new cosmos.base.reflection.v2alpha1.Reflection.GetAuthnDescriptorRequest(this);
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof cosmos.base.reflection.v2alpha1.Reflection.GetAuthnDescriptorRequest) {
return mergeFrom((cosmos.base.reflection.v2alpha1.Reflection.GetAuthnDescriptorRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(cosmos.base.reflection.v2alpha1.Reflection.GetAuthnDescriptorRequest other) {
if (other == cosmos.base.reflection.v2alpha1.Reflection.GetAuthnDescriptorRequest.getDefaultInstance()) return this;
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
cosmos.base.reflection.v2alpha1.Reflection.GetAuthnDescriptorRequest parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (cosmos.base.reflection.v2alpha1.Reflection.GetAuthnDescriptorRequest) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:cosmos.base.reflection.v2alpha1.GetAuthnDescriptorRequest)
}
// @@protoc_insertion_point(class_scope:cosmos.base.reflection.v2alpha1.GetAuthnDescriptorRequest)
private static final cosmos.base.reflection.v2alpha1.Reflection.GetAuthnDescriptorRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new cosmos.base.reflection.v2alpha1.Reflection.GetAuthnDescriptorRequest();
}
public static cosmos.base.reflection.v2alpha1.Reflection.GetAuthnDescriptorRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public GetAuthnDescriptorRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new GetAuthnDescriptorRequest(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public cosmos.base.reflection.v2alpha1.Reflection.GetAuthnDescriptorRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface GetAuthnDescriptorResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:cosmos.base.reflection.v2alpha1.GetAuthnDescriptorResponse)
com.google.protobuf.MessageOrBuilder {
/**
*
* authn describes how to authenticate to the application when sending transactions
*
*
* .cosmos.base.reflection.v2alpha1.AuthnDescriptor authn = 1;
* @return Whether the authn field is set.
*/
boolean hasAuthn();
/**
*
* authn describes how to authenticate to the application when sending transactions
*
*
* .cosmos.base.reflection.v2alpha1.AuthnDescriptor authn = 1;
* @return The authn.
*/
cosmos.base.reflection.v2alpha1.Reflection.AuthnDescriptor getAuthn();
/**
*
* authn describes how to authenticate to the application when sending transactions
*
*
* .cosmos.base.reflection.v2alpha1.AuthnDescriptor authn = 1;
*/
cosmos.base.reflection.v2alpha1.Reflection.AuthnDescriptorOrBuilder getAuthnOrBuilder();
}
/**
*
* GetAuthnDescriptorResponse is the response returned by the GetAuthnDescriptor RPC
*
*
* Protobuf type {@code cosmos.base.reflection.v2alpha1.GetAuthnDescriptorResponse}
*/
public static final class GetAuthnDescriptorResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:cosmos.base.reflection.v2alpha1.GetAuthnDescriptorResponse)
GetAuthnDescriptorResponseOrBuilder {
private static final long serialVersionUID = 0L;
// Use GetAuthnDescriptorResponse.newBuilder() to construct.
private GetAuthnDescriptorResponse(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private GetAuthnDescriptorResponse() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new GetAuthnDescriptorResponse();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private GetAuthnDescriptorResponse(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
cosmos.base.reflection.v2alpha1.Reflection.AuthnDescriptor.Builder subBuilder = null;
if (authn_ != null) {
subBuilder = authn_.toBuilder();
}
authn_ = input.readMessage(cosmos.base.reflection.v2alpha1.Reflection.AuthnDescriptor.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(authn_);
authn_ = subBuilder.buildPartial();
}
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return cosmos.base.reflection.v2alpha1.Reflection.internal_static_cosmos_base_reflection_v2alpha1_GetAuthnDescriptorResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cosmos.base.reflection.v2alpha1.Reflection.internal_static_cosmos_base_reflection_v2alpha1_GetAuthnDescriptorResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cosmos.base.reflection.v2alpha1.Reflection.GetAuthnDescriptorResponse.class, cosmos.base.reflection.v2alpha1.Reflection.GetAuthnDescriptorResponse.Builder.class);
}
public static final int AUTHN_FIELD_NUMBER = 1;
private cosmos.base.reflection.v2alpha1.Reflection.AuthnDescriptor authn_;
/**
*
* authn describes how to authenticate to the application when sending transactions
*
*
* .cosmos.base.reflection.v2alpha1.AuthnDescriptor authn = 1;
* @return Whether the authn field is set.
*/
@java.lang.Override
public boolean hasAuthn() {
return authn_ != null;
}
/**
*
* authn describes how to authenticate to the application when sending transactions
*
*
* .cosmos.base.reflection.v2alpha1.AuthnDescriptor authn = 1;
* @return The authn.
*/
@java.lang.Override
public cosmos.base.reflection.v2alpha1.Reflection.AuthnDescriptor getAuthn() {
return authn_ == null ? cosmos.base.reflection.v2alpha1.Reflection.AuthnDescriptor.getDefaultInstance() : authn_;
}
/**
*
* authn describes how to authenticate to the application when sending transactions
*
*
* .cosmos.base.reflection.v2alpha1.AuthnDescriptor authn = 1;
*/
@java.lang.Override
public cosmos.base.reflection.v2alpha1.Reflection.AuthnDescriptorOrBuilder getAuthnOrBuilder() {
return getAuthn();
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (authn_ != null) {
output.writeMessage(1, getAuthn());
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (authn_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getAuthn());
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof cosmos.base.reflection.v2alpha1.Reflection.GetAuthnDescriptorResponse)) {
return super.equals(obj);
}
cosmos.base.reflection.v2alpha1.Reflection.GetAuthnDescriptorResponse other = (cosmos.base.reflection.v2alpha1.Reflection.GetAuthnDescriptorResponse) obj;
if (hasAuthn() != other.hasAuthn()) return false;
if (hasAuthn()) {
if (!getAuthn()
.equals(other.getAuthn())) return false;
}
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasAuthn()) {
hash = (37 * hash) + AUTHN_FIELD_NUMBER;
hash = (53 * hash) + getAuthn().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static cosmos.base.reflection.v2alpha1.Reflection.GetAuthnDescriptorResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cosmos.base.reflection.v2alpha1.Reflection.GetAuthnDescriptorResponse parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cosmos.base.reflection.v2alpha1.Reflection.GetAuthnDescriptorResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cosmos.base.reflection.v2alpha1.Reflection.GetAuthnDescriptorResponse parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cosmos.base.reflection.v2alpha1.Reflection.GetAuthnDescriptorResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cosmos.base.reflection.v2alpha1.Reflection.GetAuthnDescriptorResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cosmos.base.reflection.v2alpha1.Reflection.GetAuthnDescriptorResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cosmos.base.reflection.v2alpha1.Reflection.GetAuthnDescriptorResponse parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static cosmos.base.reflection.v2alpha1.Reflection.GetAuthnDescriptorResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static cosmos.base.reflection.v2alpha1.Reflection.GetAuthnDescriptorResponse parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static cosmos.base.reflection.v2alpha1.Reflection.GetAuthnDescriptorResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cosmos.base.reflection.v2alpha1.Reflection.GetAuthnDescriptorResponse parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(cosmos.base.reflection.v2alpha1.Reflection.GetAuthnDescriptorResponse prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
*
* GetAuthnDescriptorResponse is the response returned by the GetAuthnDescriptor RPC
*
*
* Protobuf type {@code cosmos.base.reflection.v2alpha1.GetAuthnDescriptorResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:cosmos.base.reflection.v2alpha1.GetAuthnDescriptorResponse)
cosmos.base.reflection.v2alpha1.Reflection.GetAuthnDescriptorResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return cosmos.base.reflection.v2alpha1.Reflection.internal_static_cosmos_base_reflection_v2alpha1_GetAuthnDescriptorResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cosmos.base.reflection.v2alpha1.Reflection.internal_static_cosmos_base_reflection_v2alpha1_GetAuthnDescriptorResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cosmos.base.reflection.v2alpha1.Reflection.GetAuthnDescriptorResponse.class, cosmos.base.reflection.v2alpha1.Reflection.GetAuthnDescriptorResponse.Builder.class);
}
// Construct using cosmos.base.reflection.v2alpha1.Reflection.GetAuthnDescriptorResponse.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@java.lang.Override
public Builder clear() {
super.clear();
if (authnBuilder_ == null) {
authn_ = null;
} else {
authn_ = null;
authnBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return cosmos.base.reflection.v2alpha1.Reflection.internal_static_cosmos_base_reflection_v2alpha1_GetAuthnDescriptorResponse_descriptor;
}
@java.lang.Override
public cosmos.base.reflection.v2alpha1.Reflection.GetAuthnDescriptorResponse getDefaultInstanceForType() {
return cosmos.base.reflection.v2alpha1.Reflection.GetAuthnDescriptorResponse.getDefaultInstance();
}
@java.lang.Override
public cosmos.base.reflection.v2alpha1.Reflection.GetAuthnDescriptorResponse build() {
cosmos.base.reflection.v2alpha1.Reflection.GetAuthnDescriptorResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public cosmos.base.reflection.v2alpha1.Reflection.GetAuthnDescriptorResponse buildPartial() {
cosmos.base.reflection.v2alpha1.Reflection.GetAuthnDescriptorResponse result = new cosmos.base.reflection.v2alpha1.Reflection.GetAuthnDescriptorResponse(this);
if (authnBuilder_ == null) {
result.authn_ = authn_;
} else {
result.authn_ = authnBuilder_.build();
}
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof cosmos.base.reflection.v2alpha1.Reflection.GetAuthnDescriptorResponse) {
return mergeFrom((cosmos.base.reflection.v2alpha1.Reflection.GetAuthnDescriptorResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(cosmos.base.reflection.v2alpha1.Reflection.GetAuthnDescriptorResponse other) {
if (other == cosmos.base.reflection.v2alpha1.Reflection.GetAuthnDescriptorResponse.getDefaultInstance()) return this;
if (other.hasAuthn()) {
mergeAuthn(other.getAuthn());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
cosmos.base.reflection.v2alpha1.Reflection.GetAuthnDescriptorResponse parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (cosmos.base.reflection.v2alpha1.Reflection.GetAuthnDescriptorResponse) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private cosmos.base.reflection.v2alpha1.Reflection.AuthnDescriptor authn_;
private com.google.protobuf.SingleFieldBuilderV3<
cosmos.base.reflection.v2alpha1.Reflection.AuthnDescriptor, cosmos.base.reflection.v2alpha1.Reflection.AuthnDescriptor.Builder, cosmos.base.reflection.v2alpha1.Reflection.AuthnDescriptorOrBuilder> authnBuilder_;
/**
*
* authn describes how to authenticate to the application when sending transactions
*
*
* .cosmos.base.reflection.v2alpha1.AuthnDescriptor authn = 1;
* @return Whether the authn field is set.
*/
public boolean hasAuthn() {
return authnBuilder_ != null || authn_ != null;
}
/**
*
* authn describes how to authenticate to the application when sending transactions
*
*
* .cosmos.base.reflection.v2alpha1.AuthnDescriptor authn = 1;
* @return The authn.
*/
public cosmos.base.reflection.v2alpha1.Reflection.AuthnDescriptor getAuthn() {
if (authnBuilder_ == null) {
return authn_ == null ? cosmos.base.reflection.v2alpha1.Reflection.AuthnDescriptor.getDefaultInstance() : authn_;
} else {
return authnBuilder_.getMessage();
}
}
/**
*
* authn describes how to authenticate to the application when sending transactions
*
*
* .cosmos.base.reflection.v2alpha1.AuthnDescriptor authn = 1;
*/
public Builder setAuthn(cosmos.base.reflection.v2alpha1.Reflection.AuthnDescriptor value) {
if (authnBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
authn_ = value;
onChanged();
} else {
authnBuilder_.setMessage(value);
}
return this;
}
/**
*
* authn describes how to authenticate to the application when sending transactions
*
*
* .cosmos.base.reflection.v2alpha1.AuthnDescriptor authn = 1;
*/
public Builder setAuthn(
cosmos.base.reflection.v2alpha1.Reflection.AuthnDescriptor.Builder builderForValue) {
if (authnBuilder_ == null) {
authn_ = builderForValue.build();
onChanged();
} else {
authnBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* authn describes how to authenticate to the application when sending transactions
*
*
* .cosmos.base.reflection.v2alpha1.AuthnDescriptor authn = 1;
*/
public Builder mergeAuthn(cosmos.base.reflection.v2alpha1.Reflection.AuthnDescriptor value) {
if (authnBuilder_ == null) {
if (authn_ != null) {
authn_ =
cosmos.base.reflection.v2alpha1.Reflection.AuthnDescriptor.newBuilder(authn_).mergeFrom(value).buildPartial();
} else {
authn_ = value;
}
onChanged();
} else {
authnBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* authn describes how to authenticate to the application when sending transactions
*
*
* .cosmos.base.reflection.v2alpha1.AuthnDescriptor authn = 1;
*/
public Builder clearAuthn() {
if (authnBuilder_ == null) {
authn_ = null;
onChanged();
} else {
authn_ = null;
authnBuilder_ = null;
}
return this;
}
/**
*
* authn describes how to authenticate to the application when sending transactions
*
*
* .cosmos.base.reflection.v2alpha1.AuthnDescriptor authn = 1;
*/
public cosmos.base.reflection.v2alpha1.Reflection.AuthnDescriptor.Builder getAuthnBuilder() {
onChanged();
return getAuthnFieldBuilder().getBuilder();
}
/**
*
* authn describes how to authenticate to the application when sending transactions
*
*
* .cosmos.base.reflection.v2alpha1.AuthnDescriptor authn = 1;
*/
public cosmos.base.reflection.v2alpha1.Reflection.AuthnDescriptorOrBuilder getAuthnOrBuilder() {
if (authnBuilder_ != null) {
return authnBuilder_.getMessageOrBuilder();
} else {
return authn_ == null ?
cosmos.base.reflection.v2alpha1.Reflection.AuthnDescriptor.getDefaultInstance() : authn_;
}
}
/**
*
* authn describes how to authenticate to the application when sending transactions
*
*
* .cosmos.base.reflection.v2alpha1.AuthnDescriptor authn = 1;
*/
private com.google.protobuf.SingleFieldBuilderV3<
cosmos.base.reflection.v2alpha1.Reflection.AuthnDescriptor, cosmos.base.reflection.v2alpha1.Reflection.AuthnDescriptor.Builder, cosmos.base.reflection.v2alpha1.Reflection.AuthnDescriptorOrBuilder>
getAuthnFieldBuilder() {
if (authnBuilder_ == null) {
authnBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
cosmos.base.reflection.v2alpha1.Reflection.AuthnDescriptor, cosmos.base.reflection.v2alpha1.Reflection.AuthnDescriptor.Builder, cosmos.base.reflection.v2alpha1.Reflection.AuthnDescriptorOrBuilder>(
getAuthn(),
getParentForChildren(),
isClean());
authn_ = null;
}
return authnBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:cosmos.base.reflection.v2alpha1.GetAuthnDescriptorResponse)
}
// @@protoc_insertion_point(class_scope:cosmos.base.reflection.v2alpha1.GetAuthnDescriptorResponse)
private static final cosmos.base.reflection.v2alpha1.Reflection.GetAuthnDescriptorResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new cosmos.base.reflection.v2alpha1.Reflection.GetAuthnDescriptorResponse();
}
public static cosmos.base.reflection.v2alpha1.Reflection.GetAuthnDescriptorResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public GetAuthnDescriptorResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new GetAuthnDescriptorResponse(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public cosmos.base.reflection.v2alpha1.Reflection.GetAuthnDescriptorResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface GetChainDescriptorRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:cosmos.base.reflection.v2alpha1.GetChainDescriptorRequest)
com.google.protobuf.MessageOrBuilder {
}
/**
*
* GetChainDescriptorRequest is the request used for the GetChainDescriptor RPC
*
*
* Protobuf type {@code cosmos.base.reflection.v2alpha1.GetChainDescriptorRequest}
*/
public static final class GetChainDescriptorRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:cosmos.base.reflection.v2alpha1.GetChainDescriptorRequest)
GetChainDescriptorRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use GetChainDescriptorRequest.newBuilder() to construct.
private GetChainDescriptorRequest(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private GetChainDescriptorRequest() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new GetChainDescriptorRequest();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private GetChainDescriptorRequest(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
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 (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return cosmos.base.reflection.v2alpha1.Reflection.internal_static_cosmos_base_reflection_v2alpha1_GetChainDescriptorRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cosmos.base.reflection.v2alpha1.Reflection.internal_static_cosmos_base_reflection_v2alpha1_GetChainDescriptorRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cosmos.base.reflection.v2alpha1.Reflection.GetChainDescriptorRequest.class, cosmos.base.reflection.v2alpha1.Reflection.GetChainDescriptorRequest.Builder.class);
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof cosmos.base.reflection.v2alpha1.Reflection.GetChainDescriptorRequest)) {
return super.equals(obj);
}
cosmos.base.reflection.v2alpha1.Reflection.GetChainDescriptorRequest other = (cosmos.base.reflection.v2alpha1.Reflection.GetChainDescriptorRequest) obj;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static cosmos.base.reflection.v2alpha1.Reflection.GetChainDescriptorRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cosmos.base.reflection.v2alpha1.Reflection.GetChainDescriptorRequest parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cosmos.base.reflection.v2alpha1.Reflection.GetChainDescriptorRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cosmos.base.reflection.v2alpha1.Reflection.GetChainDescriptorRequest parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cosmos.base.reflection.v2alpha1.Reflection.GetChainDescriptorRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cosmos.base.reflection.v2alpha1.Reflection.GetChainDescriptorRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cosmos.base.reflection.v2alpha1.Reflection.GetChainDescriptorRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cosmos.base.reflection.v2alpha1.Reflection.GetChainDescriptorRequest parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static cosmos.base.reflection.v2alpha1.Reflection.GetChainDescriptorRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static cosmos.base.reflection.v2alpha1.Reflection.GetChainDescriptorRequest parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static cosmos.base.reflection.v2alpha1.Reflection.GetChainDescriptorRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cosmos.base.reflection.v2alpha1.Reflection.GetChainDescriptorRequest parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(cosmos.base.reflection.v2alpha1.Reflection.GetChainDescriptorRequest prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
*
* GetChainDescriptorRequest is the request used for the GetChainDescriptor RPC
*
*
* Protobuf type {@code cosmos.base.reflection.v2alpha1.GetChainDescriptorRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:cosmos.base.reflection.v2alpha1.GetChainDescriptorRequest)
cosmos.base.reflection.v2alpha1.Reflection.GetChainDescriptorRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return cosmos.base.reflection.v2alpha1.Reflection.internal_static_cosmos_base_reflection_v2alpha1_GetChainDescriptorRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cosmos.base.reflection.v2alpha1.Reflection.internal_static_cosmos_base_reflection_v2alpha1_GetChainDescriptorRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cosmos.base.reflection.v2alpha1.Reflection.GetChainDescriptorRequest.class, cosmos.base.reflection.v2alpha1.Reflection.GetChainDescriptorRequest.Builder.class);
}
// Construct using cosmos.base.reflection.v2alpha1.Reflection.GetChainDescriptorRequest.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@java.lang.Override
public Builder clear() {
super.clear();
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return cosmos.base.reflection.v2alpha1.Reflection.internal_static_cosmos_base_reflection_v2alpha1_GetChainDescriptorRequest_descriptor;
}
@java.lang.Override
public cosmos.base.reflection.v2alpha1.Reflection.GetChainDescriptorRequest getDefaultInstanceForType() {
return cosmos.base.reflection.v2alpha1.Reflection.GetChainDescriptorRequest.getDefaultInstance();
}
@java.lang.Override
public cosmos.base.reflection.v2alpha1.Reflection.GetChainDescriptorRequest build() {
cosmos.base.reflection.v2alpha1.Reflection.GetChainDescriptorRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public cosmos.base.reflection.v2alpha1.Reflection.GetChainDescriptorRequest buildPartial() {
cosmos.base.reflection.v2alpha1.Reflection.GetChainDescriptorRequest result = new cosmos.base.reflection.v2alpha1.Reflection.GetChainDescriptorRequest(this);
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof cosmos.base.reflection.v2alpha1.Reflection.GetChainDescriptorRequest) {
return mergeFrom((cosmos.base.reflection.v2alpha1.Reflection.GetChainDescriptorRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(cosmos.base.reflection.v2alpha1.Reflection.GetChainDescriptorRequest other) {
if (other == cosmos.base.reflection.v2alpha1.Reflection.GetChainDescriptorRequest.getDefaultInstance()) return this;
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
cosmos.base.reflection.v2alpha1.Reflection.GetChainDescriptorRequest parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (cosmos.base.reflection.v2alpha1.Reflection.GetChainDescriptorRequest) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:cosmos.base.reflection.v2alpha1.GetChainDescriptorRequest)
}
// @@protoc_insertion_point(class_scope:cosmos.base.reflection.v2alpha1.GetChainDescriptorRequest)
private static final cosmos.base.reflection.v2alpha1.Reflection.GetChainDescriptorRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new cosmos.base.reflection.v2alpha1.Reflection.GetChainDescriptorRequest();
}
public static cosmos.base.reflection.v2alpha1.Reflection.GetChainDescriptorRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public GetChainDescriptorRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new GetChainDescriptorRequest(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public cosmos.base.reflection.v2alpha1.Reflection.GetChainDescriptorRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface GetChainDescriptorResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:cosmos.base.reflection.v2alpha1.GetChainDescriptorResponse)
com.google.protobuf.MessageOrBuilder {
/**
*
* chain describes application chain information
*
*
* .cosmos.base.reflection.v2alpha1.ChainDescriptor chain = 1;
* @return Whether the chain field is set.
*/
boolean hasChain();
/**
*
* chain describes application chain information
*
*
* .cosmos.base.reflection.v2alpha1.ChainDescriptor chain = 1;
* @return The chain.
*/
cosmos.base.reflection.v2alpha1.Reflection.ChainDescriptor getChain();
/**
*
* chain describes application chain information
*
*
* .cosmos.base.reflection.v2alpha1.ChainDescriptor chain = 1;
*/
cosmos.base.reflection.v2alpha1.Reflection.ChainDescriptorOrBuilder getChainOrBuilder();
}
/**
*
* GetChainDescriptorResponse is the response returned by the GetChainDescriptor RPC
*
*
* Protobuf type {@code cosmos.base.reflection.v2alpha1.GetChainDescriptorResponse}
*/
public static final class GetChainDescriptorResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:cosmos.base.reflection.v2alpha1.GetChainDescriptorResponse)
GetChainDescriptorResponseOrBuilder {
private static final long serialVersionUID = 0L;
// Use GetChainDescriptorResponse.newBuilder() to construct.
private GetChainDescriptorResponse(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private GetChainDescriptorResponse() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new GetChainDescriptorResponse();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private GetChainDescriptorResponse(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
cosmos.base.reflection.v2alpha1.Reflection.ChainDescriptor.Builder subBuilder = null;
if (chain_ != null) {
subBuilder = chain_.toBuilder();
}
chain_ = input.readMessage(cosmos.base.reflection.v2alpha1.Reflection.ChainDescriptor.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(chain_);
chain_ = subBuilder.buildPartial();
}
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return cosmos.base.reflection.v2alpha1.Reflection.internal_static_cosmos_base_reflection_v2alpha1_GetChainDescriptorResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cosmos.base.reflection.v2alpha1.Reflection.internal_static_cosmos_base_reflection_v2alpha1_GetChainDescriptorResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cosmos.base.reflection.v2alpha1.Reflection.GetChainDescriptorResponse.class, cosmos.base.reflection.v2alpha1.Reflection.GetChainDescriptorResponse.Builder.class);
}
public static final int CHAIN_FIELD_NUMBER = 1;
private cosmos.base.reflection.v2alpha1.Reflection.ChainDescriptor chain_;
/**
*
* chain describes application chain information
*
*
* .cosmos.base.reflection.v2alpha1.ChainDescriptor chain = 1;
* @return Whether the chain field is set.
*/
@java.lang.Override
public boolean hasChain() {
return chain_ != null;
}
/**
*
* chain describes application chain information
*
*
* .cosmos.base.reflection.v2alpha1.ChainDescriptor chain = 1;
* @return The chain.
*/
@java.lang.Override
public cosmos.base.reflection.v2alpha1.Reflection.ChainDescriptor getChain() {
return chain_ == null ? cosmos.base.reflection.v2alpha1.Reflection.ChainDescriptor.getDefaultInstance() : chain_;
}
/**
*
* chain describes application chain information
*
*
* .cosmos.base.reflection.v2alpha1.ChainDescriptor chain = 1;
*/
@java.lang.Override
public cosmos.base.reflection.v2alpha1.Reflection.ChainDescriptorOrBuilder getChainOrBuilder() {
return getChain();
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (chain_ != null) {
output.writeMessage(1, getChain());
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (chain_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getChain());
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof cosmos.base.reflection.v2alpha1.Reflection.GetChainDescriptorResponse)) {
return super.equals(obj);
}
cosmos.base.reflection.v2alpha1.Reflection.GetChainDescriptorResponse other = (cosmos.base.reflection.v2alpha1.Reflection.GetChainDescriptorResponse) obj;
if (hasChain() != other.hasChain()) return false;
if (hasChain()) {
if (!getChain()
.equals(other.getChain())) return false;
}
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasChain()) {
hash = (37 * hash) + CHAIN_FIELD_NUMBER;
hash = (53 * hash) + getChain().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static cosmos.base.reflection.v2alpha1.Reflection.GetChainDescriptorResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cosmos.base.reflection.v2alpha1.Reflection.GetChainDescriptorResponse parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cosmos.base.reflection.v2alpha1.Reflection.GetChainDescriptorResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cosmos.base.reflection.v2alpha1.Reflection.GetChainDescriptorResponse parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cosmos.base.reflection.v2alpha1.Reflection.GetChainDescriptorResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cosmos.base.reflection.v2alpha1.Reflection.GetChainDescriptorResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cosmos.base.reflection.v2alpha1.Reflection.GetChainDescriptorResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cosmos.base.reflection.v2alpha1.Reflection.GetChainDescriptorResponse parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static cosmos.base.reflection.v2alpha1.Reflection.GetChainDescriptorResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static cosmos.base.reflection.v2alpha1.Reflection.GetChainDescriptorResponse parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static cosmos.base.reflection.v2alpha1.Reflection.GetChainDescriptorResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cosmos.base.reflection.v2alpha1.Reflection.GetChainDescriptorResponse parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(cosmos.base.reflection.v2alpha1.Reflection.GetChainDescriptorResponse prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
*
* GetChainDescriptorResponse is the response returned by the GetChainDescriptor RPC
*
*
* Protobuf type {@code cosmos.base.reflection.v2alpha1.GetChainDescriptorResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:cosmos.base.reflection.v2alpha1.GetChainDescriptorResponse)
cosmos.base.reflection.v2alpha1.Reflection.GetChainDescriptorResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return cosmos.base.reflection.v2alpha1.Reflection.internal_static_cosmos_base_reflection_v2alpha1_GetChainDescriptorResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cosmos.base.reflection.v2alpha1.Reflection.internal_static_cosmos_base_reflection_v2alpha1_GetChainDescriptorResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cosmos.base.reflection.v2alpha1.Reflection.GetChainDescriptorResponse.class, cosmos.base.reflection.v2alpha1.Reflection.GetChainDescriptorResponse.Builder.class);
}
// Construct using cosmos.base.reflection.v2alpha1.Reflection.GetChainDescriptorResponse.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@java.lang.Override
public Builder clear() {
super.clear();
if (chainBuilder_ == null) {
chain_ = null;
} else {
chain_ = null;
chainBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return cosmos.base.reflection.v2alpha1.Reflection.internal_static_cosmos_base_reflection_v2alpha1_GetChainDescriptorResponse_descriptor;
}
@java.lang.Override
public cosmos.base.reflection.v2alpha1.Reflection.GetChainDescriptorResponse getDefaultInstanceForType() {
return cosmos.base.reflection.v2alpha1.Reflection.GetChainDescriptorResponse.getDefaultInstance();
}
@java.lang.Override
public cosmos.base.reflection.v2alpha1.Reflection.GetChainDescriptorResponse build() {
cosmos.base.reflection.v2alpha1.Reflection.GetChainDescriptorResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public cosmos.base.reflection.v2alpha1.Reflection.GetChainDescriptorResponse buildPartial() {
cosmos.base.reflection.v2alpha1.Reflection.GetChainDescriptorResponse result = new cosmos.base.reflection.v2alpha1.Reflection.GetChainDescriptorResponse(this);
if (chainBuilder_ == null) {
result.chain_ = chain_;
} else {
result.chain_ = chainBuilder_.build();
}
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof cosmos.base.reflection.v2alpha1.Reflection.GetChainDescriptorResponse) {
return mergeFrom((cosmos.base.reflection.v2alpha1.Reflection.GetChainDescriptorResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(cosmos.base.reflection.v2alpha1.Reflection.GetChainDescriptorResponse other) {
if (other == cosmos.base.reflection.v2alpha1.Reflection.GetChainDescriptorResponse.getDefaultInstance()) return this;
if (other.hasChain()) {
mergeChain(other.getChain());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
cosmos.base.reflection.v2alpha1.Reflection.GetChainDescriptorResponse parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (cosmos.base.reflection.v2alpha1.Reflection.GetChainDescriptorResponse) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private cosmos.base.reflection.v2alpha1.Reflection.ChainDescriptor chain_;
private com.google.protobuf.SingleFieldBuilderV3<
cosmos.base.reflection.v2alpha1.Reflection.ChainDescriptor, cosmos.base.reflection.v2alpha1.Reflection.ChainDescriptor.Builder, cosmos.base.reflection.v2alpha1.Reflection.ChainDescriptorOrBuilder> chainBuilder_;
/**
*
* chain describes application chain information
*
*
* .cosmos.base.reflection.v2alpha1.ChainDescriptor chain = 1;
* @return Whether the chain field is set.
*/
public boolean hasChain() {
return chainBuilder_ != null || chain_ != null;
}
/**
*
* chain describes application chain information
*
*
* .cosmos.base.reflection.v2alpha1.ChainDescriptor chain = 1;
* @return The chain.
*/
public cosmos.base.reflection.v2alpha1.Reflection.ChainDescriptor getChain() {
if (chainBuilder_ == null) {
return chain_ == null ? cosmos.base.reflection.v2alpha1.Reflection.ChainDescriptor.getDefaultInstance() : chain_;
} else {
return chainBuilder_.getMessage();
}
}
/**
*
* chain describes application chain information
*
*
* .cosmos.base.reflection.v2alpha1.ChainDescriptor chain = 1;
*/
public Builder setChain(cosmos.base.reflection.v2alpha1.Reflection.ChainDescriptor value) {
if (chainBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
chain_ = value;
onChanged();
} else {
chainBuilder_.setMessage(value);
}
return this;
}
/**
*
* chain describes application chain information
*
*
* .cosmos.base.reflection.v2alpha1.ChainDescriptor chain = 1;
*/
public Builder setChain(
cosmos.base.reflection.v2alpha1.Reflection.ChainDescriptor.Builder builderForValue) {
if (chainBuilder_ == null) {
chain_ = builderForValue.build();
onChanged();
} else {
chainBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* chain describes application chain information
*
*
* .cosmos.base.reflection.v2alpha1.ChainDescriptor chain = 1;
*/
public Builder mergeChain(cosmos.base.reflection.v2alpha1.Reflection.ChainDescriptor value) {
if (chainBuilder_ == null) {
if (chain_ != null) {
chain_ =
cosmos.base.reflection.v2alpha1.Reflection.ChainDescriptor.newBuilder(chain_).mergeFrom(value).buildPartial();
} else {
chain_ = value;
}
onChanged();
} else {
chainBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* chain describes application chain information
*
*
* .cosmos.base.reflection.v2alpha1.ChainDescriptor chain = 1;
*/
public Builder clearChain() {
if (chainBuilder_ == null) {
chain_ = null;
onChanged();
} else {
chain_ = null;
chainBuilder_ = null;
}
return this;
}
/**
*
* chain describes application chain information
*
*
* .cosmos.base.reflection.v2alpha1.ChainDescriptor chain = 1;
*/
public cosmos.base.reflection.v2alpha1.Reflection.ChainDescriptor.Builder getChainBuilder() {
onChanged();
return getChainFieldBuilder().getBuilder();
}
/**
*
* chain describes application chain information
*
*
* .cosmos.base.reflection.v2alpha1.ChainDescriptor chain = 1;
*/
public cosmos.base.reflection.v2alpha1.Reflection.ChainDescriptorOrBuilder getChainOrBuilder() {
if (chainBuilder_ != null) {
return chainBuilder_.getMessageOrBuilder();
} else {
return chain_ == null ?
cosmos.base.reflection.v2alpha1.Reflection.ChainDescriptor.getDefaultInstance() : chain_;
}
}
/**
*
* chain describes application chain information
*
*
* .cosmos.base.reflection.v2alpha1.ChainDescriptor chain = 1;
*/
private com.google.protobuf.SingleFieldBuilderV3<
cosmos.base.reflection.v2alpha1.Reflection.ChainDescriptor, cosmos.base.reflection.v2alpha1.Reflection.ChainDescriptor.Builder, cosmos.base.reflection.v2alpha1.Reflection.ChainDescriptorOrBuilder>
getChainFieldBuilder() {
if (chainBuilder_ == null) {
chainBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
cosmos.base.reflection.v2alpha1.Reflection.ChainDescriptor, cosmos.base.reflection.v2alpha1.Reflection.ChainDescriptor.Builder, cosmos.base.reflection.v2alpha1.Reflection.ChainDescriptorOrBuilder>(
getChain(),
getParentForChildren(),
isClean());
chain_ = null;
}
return chainBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:cosmos.base.reflection.v2alpha1.GetChainDescriptorResponse)
}
// @@protoc_insertion_point(class_scope:cosmos.base.reflection.v2alpha1.GetChainDescriptorResponse)
private static final cosmos.base.reflection.v2alpha1.Reflection.GetChainDescriptorResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new cosmos.base.reflection.v2alpha1.Reflection.GetChainDescriptorResponse();
}
public static cosmos.base.reflection.v2alpha1.Reflection.GetChainDescriptorResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public GetChainDescriptorResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new GetChainDescriptorResponse(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public cosmos.base.reflection.v2alpha1.Reflection.GetChainDescriptorResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface GetCodecDescriptorRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:cosmos.base.reflection.v2alpha1.GetCodecDescriptorRequest)
com.google.protobuf.MessageOrBuilder {
}
/**
*
* GetCodecDescriptorRequest is the request used for the GetCodecDescriptor RPC
*
*
* Protobuf type {@code cosmos.base.reflection.v2alpha1.GetCodecDescriptorRequest}
*/
public static final class GetCodecDescriptorRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:cosmos.base.reflection.v2alpha1.GetCodecDescriptorRequest)
GetCodecDescriptorRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use GetCodecDescriptorRequest.newBuilder() to construct.
private GetCodecDescriptorRequest(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private GetCodecDescriptorRequest() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new GetCodecDescriptorRequest();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private GetCodecDescriptorRequest(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
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 (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return cosmos.base.reflection.v2alpha1.Reflection.internal_static_cosmos_base_reflection_v2alpha1_GetCodecDescriptorRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cosmos.base.reflection.v2alpha1.Reflection.internal_static_cosmos_base_reflection_v2alpha1_GetCodecDescriptorRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cosmos.base.reflection.v2alpha1.Reflection.GetCodecDescriptorRequest.class, cosmos.base.reflection.v2alpha1.Reflection.GetCodecDescriptorRequest.Builder.class);
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof cosmos.base.reflection.v2alpha1.Reflection.GetCodecDescriptorRequest)) {
return super.equals(obj);
}
cosmos.base.reflection.v2alpha1.Reflection.GetCodecDescriptorRequest other = (cosmos.base.reflection.v2alpha1.Reflection.GetCodecDescriptorRequest) obj;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static cosmos.base.reflection.v2alpha1.Reflection.GetCodecDescriptorRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cosmos.base.reflection.v2alpha1.Reflection.GetCodecDescriptorRequest parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cosmos.base.reflection.v2alpha1.Reflection.GetCodecDescriptorRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cosmos.base.reflection.v2alpha1.Reflection.GetCodecDescriptorRequest parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cosmos.base.reflection.v2alpha1.Reflection.GetCodecDescriptorRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cosmos.base.reflection.v2alpha1.Reflection.GetCodecDescriptorRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cosmos.base.reflection.v2alpha1.Reflection.GetCodecDescriptorRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cosmos.base.reflection.v2alpha1.Reflection.GetCodecDescriptorRequest parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static cosmos.base.reflection.v2alpha1.Reflection.GetCodecDescriptorRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static cosmos.base.reflection.v2alpha1.Reflection.GetCodecDescriptorRequest parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static cosmos.base.reflection.v2alpha1.Reflection.GetCodecDescriptorRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cosmos.base.reflection.v2alpha1.Reflection.GetCodecDescriptorRequest parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(cosmos.base.reflection.v2alpha1.Reflection.GetCodecDescriptorRequest prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
*
* GetCodecDescriptorRequest is the request used for the GetCodecDescriptor RPC
*
*
* Protobuf type {@code cosmos.base.reflection.v2alpha1.GetCodecDescriptorRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:cosmos.base.reflection.v2alpha1.GetCodecDescriptorRequest)
cosmos.base.reflection.v2alpha1.Reflection.GetCodecDescriptorRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return cosmos.base.reflection.v2alpha1.Reflection.internal_static_cosmos_base_reflection_v2alpha1_GetCodecDescriptorRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cosmos.base.reflection.v2alpha1.Reflection.internal_static_cosmos_base_reflection_v2alpha1_GetCodecDescriptorRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cosmos.base.reflection.v2alpha1.Reflection.GetCodecDescriptorRequest.class, cosmos.base.reflection.v2alpha1.Reflection.GetCodecDescriptorRequest.Builder.class);
}
// Construct using cosmos.base.reflection.v2alpha1.Reflection.GetCodecDescriptorRequest.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@java.lang.Override
public Builder clear() {
super.clear();
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return cosmos.base.reflection.v2alpha1.Reflection.internal_static_cosmos_base_reflection_v2alpha1_GetCodecDescriptorRequest_descriptor;
}
@java.lang.Override
public cosmos.base.reflection.v2alpha1.Reflection.GetCodecDescriptorRequest getDefaultInstanceForType() {
return cosmos.base.reflection.v2alpha1.Reflection.GetCodecDescriptorRequest.getDefaultInstance();
}
@java.lang.Override
public cosmos.base.reflection.v2alpha1.Reflection.GetCodecDescriptorRequest build() {
cosmos.base.reflection.v2alpha1.Reflection.GetCodecDescriptorRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public cosmos.base.reflection.v2alpha1.Reflection.GetCodecDescriptorRequest buildPartial() {
cosmos.base.reflection.v2alpha1.Reflection.GetCodecDescriptorRequest result = new cosmos.base.reflection.v2alpha1.Reflection.GetCodecDescriptorRequest(this);
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof cosmos.base.reflection.v2alpha1.Reflection.GetCodecDescriptorRequest) {
return mergeFrom((cosmos.base.reflection.v2alpha1.Reflection.GetCodecDescriptorRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(cosmos.base.reflection.v2alpha1.Reflection.GetCodecDescriptorRequest other) {
if (other == cosmos.base.reflection.v2alpha1.Reflection.GetCodecDescriptorRequest.getDefaultInstance()) return this;
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
cosmos.base.reflection.v2alpha1.Reflection.GetCodecDescriptorRequest parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (cosmos.base.reflection.v2alpha1.Reflection.GetCodecDescriptorRequest) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:cosmos.base.reflection.v2alpha1.GetCodecDescriptorRequest)
}
// @@protoc_insertion_point(class_scope:cosmos.base.reflection.v2alpha1.GetCodecDescriptorRequest)
private static final cosmos.base.reflection.v2alpha1.Reflection.GetCodecDescriptorRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new cosmos.base.reflection.v2alpha1.Reflection.GetCodecDescriptorRequest();
}
public static cosmos.base.reflection.v2alpha1.Reflection.GetCodecDescriptorRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public GetCodecDescriptorRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new GetCodecDescriptorRequest(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public cosmos.base.reflection.v2alpha1.Reflection.GetCodecDescriptorRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface GetCodecDescriptorResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:cosmos.base.reflection.v2alpha1.GetCodecDescriptorResponse)
com.google.protobuf.MessageOrBuilder {
/**
*
* codec describes the application codec such as registered interfaces and implementations
*
*
* .cosmos.base.reflection.v2alpha1.CodecDescriptor codec = 1;
* @return Whether the codec field is set.
*/
boolean hasCodec();
/**
*
* codec describes the application codec such as registered interfaces and implementations
*
*
* .cosmos.base.reflection.v2alpha1.CodecDescriptor codec = 1;
* @return The codec.
*/
cosmos.base.reflection.v2alpha1.Reflection.CodecDescriptor getCodec();
/**
*
* codec describes the application codec such as registered interfaces and implementations
*
*
* .cosmos.base.reflection.v2alpha1.CodecDescriptor codec = 1;
*/
cosmos.base.reflection.v2alpha1.Reflection.CodecDescriptorOrBuilder getCodecOrBuilder();
}
/**
*
* GetCodecDescriptorResponse is the response returned by the GetCodecDescriptor RPC
*
*
* Protobuf type {@code cosmos.base.reflection.v2alpha1.GetCodecDescriptorResponse}
*/
public static final class GetCodecDescriptorResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:cosmos.base.reflection.v2alpha1.GetCodecDescriptorResponse)
GetCodecDescriptorResponseOrBuilder {
private static final long serialVersionUID = 0L;
// Use GetCodecDescriptorResponse.newBuilder() to construct.
private GetCodecDescriptorResponse(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private GetCodecDescriptorResponse() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new GetCodecDescriptorResponse();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private GetCodecDescriptorResponse(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
cosmos.base.reflection.v2alpha1.Reflection.CodecDescriptor.Builder subBuilder = null;
if (codec_ != null) {
subBuilder = codec_.toBuilder();
}
codec_ = input.readMessage(cosmos.base.reflection.v2alpha1.Reflection.CodecDescriptor.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(codec_);
codec_ = subBuilder.buildPartial();
}
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return cosmos.base.reflection.v2alpha1.Reflection.internal_static_cosmos_base_reflection_v2alpha1_GetCodecDescriptorResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cosmos.base.reflection.v2alpha1.Reflection.internal_static_cosmos_base_reflection_v2alpha1_GetCodecDescriptorResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cosmos.base.reflection.v2alpha1.Reflection.GetCodecDescriptorResponse.class, cosmos.base.reflection.v2alpha1.Reflection.GetCodecDescriptorResponse.Builder.class);
}
public static final int CODEC_FIELD_NUMBER = 1;
private cosmos.base.reflection.v2alpha1.Reflection.CodecDescriptor codec_;
/**
*
* codec describes the application codec such as registered interfaces and implementations
*
*
* .cosmos.base.reflection.v2alpha1.CodecDescriptor codec = 1;
* @return Whether the codec field is set.
*/
@java.lang.Override
public boolean hasCodec() {
return codec_ != null;
}
/**
*
* codec describes the application codec such as registered interfaces and implementations
*
*
* .cosmos.base.reflection.v2alpha1.CodecDescriptor codec = 1;
* @return The codec.
*/
@java.lang.Override
public cosmos.base.reflection.v2alpha1.Reflection.CodecDescriptor getCodec() {
return codec_ == null ? cosmos.base.reflection.v2alpha1.Reflection.CodecDescriptor.getDefaultInstance() : codec_;
}
/**
*
* codec describes the application codec such as registered interfaces and implementations
*
*
* .cosmos.base.reflection.v2alpha1.CodecDescriptor codec = 1;
*/
@java.lang.Override
public cosmos.base.reflection.v2alpha1.Reflection.CodecDescriptorOrBuilder getCodecOrBuilder() {
return getCodec();
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (codec_ != null) {
output.writeMessage(1, getCodec());
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (codec_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getCodec());
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof cosmos.base.reflection.v2alpha1.Reflection.GetCodecDescriptorResponse)) {
return super.equals(obj);
}
cosmos.base.reflection.v2alpha1.Reflection.GetCodecDescriptorResponse other = (cosmos.base.reflection.v2alpha1.Reflection.GetCodecDescriptorResponse) obj;
if (hasCodec() != other.hasCodec()) return false;
if (hasCodec()) {
if (!getCodec()
.equals(other.getCodec())) return false;
}
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasCodec()) {
hash = (37 * hash) + CODEC_FIELD_NUMBER;
hash = (53 * hash) + getCodec().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static cosmos.base.reflection.v2alpha1.Reflection.GetCodecDescriptorResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cosmos.base.reflection.v2alpha1.Reflection.GetCodecDescriptorResponse parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cosmos.base.reflection.v2alpha1.Reflection.GetCodecDescriptorResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cosmos.base.reflection.v2alpha1.Reflection.GetCodecDescriptorResponse parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cosmos.base.reflection.v2alpha1.Reflection.GetCodecDescriptorResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cosmos.base.reflection.v2alpha1.Reflection.GetCodecDescriptorResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cosmos.base.reflection.v2alpha1.Reflection.GetCodecDescriptorResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cosmos.base.reflection.v2alpha1.Reflection.GetCodecDescriptorResponse parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static cosmos.base.reflection.v2alpha1.Reflection.GetCodecDescriptorResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static cosmos.base.reflection.v2alpha1.Reflection.GetCodecDescriptorResponse parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static cosmos.base.reflection.v2alpha1.Reflection.GetCodecDescriptorResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cosmos.base.reflection.v2alpha1.Reflection.GetCodecDescriptorResponse parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(cosmos.base.reflection.v2alpha1.Reflection.GetCodecDescriptorResponse prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
*
* GetCodecDescriptorResponse is the response returned by the GetCodecDescriptor RPC
*
*
* Protobuf type {@code cosmos.base.reflection.v2alpha1.GetCodecDescriptorResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:cosmos.base.reflection.v2alpha1.GetCodecDescriptorResponse)
cosmos.base.reflection.v2alpha1.Reflection.GetCodecDescriptorResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return cosmos.base.reflection.v2alpha1.Reflection.internal_static_cosmos_base_reflection_v2alpha1_GetCodecDescriptorResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cosmos.base.reflection.v2alpha1.Reflection.internal_static_cosmos_base_reflection_v2alpha1_GetCodecDescriptorResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cosmos.base.reflection.v2alpha1.Reflection.GetCodecDescriptorResponse.class, cosmos.base.reflection.v2alpha1.Reflection.GetCodecDescriptorResponse.Builder.class);
}
// Construct using cosmos.base.reflection.v2alpha1.Reflection.GetCodecDescriptorResponse.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@java.lang.Override
public Builder clear() {
super.clear();
if (codecBuilder_ == null) {
codec_ = null;
} else {
codec_ = null;
codecBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return cosmos.base.reflection.v2alpha1.Reflection.internal_static_cosmos_base_reflection_v2alpha1_GetCodecDescriptorResponse_descriptor;
}
@java.lang.Override
public cosmos.base.reflection.v2alpha1.Reflection.GetCodecDescriptorResponse getDefaultInstanceForType() {
return cosmos.base.reflection.v2alpha1.Reflection.GetCodecDescriptorResponse.getDefaultInstance();
}
@java.lang.Override
public cosmos.base.reflection.v2alpha1.Reflection.GetCodecDescriptorResponse build() {
cosmos.base.reflection.v2alpha1.Reflection.GetCodecDescriptorResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public cosmos.base.reflection.v2alpha1.Reflection.GetCodecDescriptorResponse buildPartial() {
cosmos.base.reflection.v2alpha1.Reflection.GetCodecDescriptorResponse result = new cosmos.base.reflection.v2alpha1.Reflection.GetCodecDescriptorResponse(this);
if (codecBuilder_ == null) {
result.codec_ = codec_;
} else {
result.codec_ = codecBuilder_.build();
}
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof cosmos.base.reflection.v2alpha1.Reflection.GetCodecDescriptorResponse) {
return mergeFrom((cosmos.base.reflection.v2alpha1.Reflection.GetCodecDescriptorResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(cosmos.base.reflection.v2alpha1.Reflection.GetCodecDescriptorResponse other) {
if (other == cosmos.base.reflection.v2alpha1.Reflection.GetCodecDescriptorResponse.getDefaultInstance()) return this;
if (other.hasCodec()) {
mergeCodec(other.getCodec());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
cosmos.base.reflection.v2alpha1.Reflection.GetCodecDescriptorResponse parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (cosmos.base.reflection.v2alpha1.Reflection.GetCodecDescriptorResponse) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private cosmos.base.reflection.v2alpha1.Reflection.CodecDescriptor codec_;
private com.google.protobuf.SingleFieldBuilderV3<
cosmos.base.reflection.v2alpha1.Reflection.CodecDescriptor, cosmos.base.reflection.v2alpha1.Reflection.CodecDescriptor.Builder, cosmos.base.reflection.v2alpha1.Reflection.CodecDescriptorOrBuilder> codecBuilder_;
/**
*
* codec describes the application codec such as registered interfaces and implementations
*
*
* .cosmos.base.reflection.v2alpha1.CodecDescriptor codec = 1;
* @return Whether the codec field is set.
*/
public boolean hasCodec() {
return codecBuilder_ != null || codec_ != null;
}
/**
*
* codec describes the application codec such as registered interfaces and implementations
*
*
* .cosmos.base.reflection.v2alpha1.CodecDescriptor codec = 1;
* @return The codec.
*/
public cosmos.base.reflection.v2alpha1.Reflection.CodecDescriptor getCodec() {
if (codecBuilder_ == null) {
return codec_ == null ? cosmos.base.reflection.v2alpha1.Reflection.CodecDescriptor.getDefaultInstance() : codec_;
} else {
return codecBuilder_.getMessage();
}
}
/**
*
* codec describes the application codec such as registered interfaces and implementations
*
*
* .cosmos.base.reflection.v2alpha1.CodecDescriptor codec = 1;
*/
public Builder setCodec(cosmos.base.reflection.v2alpha1.Reflection.CodecDescriptor value) {
if (codecBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
codec_ = value;
onChanged();
} else {
codecBuilder_.setMessage(value);
}
return this;
}
/**
*
* codec describes the application codec such as registered interfaces and implementations
*
*
* .cosmos.base.reflection.v2alpha1.CodecDescriptor codec = 1;
*/
public Builder setCodec(
cosmos.base.reflection.v2alpha1.Reflection.CodecDescriptor.Builder builderForValue) {
if (codecBuilder_ == null) {
codec_ = builderForValue.build();
onChanged();
} else {
codecBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* codec describes the application codec such as registered interfaces and implementations
*
*
* .cosmos.base.reflection.v2alpha1.CodecDescriptor codec = 1;
*/
public Builder mergeCodec(cosmos.base.reflection.v2alpha1.Reflection.CodecDescriptor value) {
if (codecBuilder_ == null) {
if (codec_ != null) {
codec_ =
cosmos.base.reflection.v2alpha1.Reflection.CodecDescriptor.newBuilder(codec_).mergeFrom(value).buildPartial();
} else {
codec_ = value;
}
onChanged();
} else {
codecBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* codec describes the application codec such as registered interfaces and implementations
*
*
* .cosmos.base.reflection.v2alpha1.CodecDescriptor codec = 1;
*/
public Builder clearCodec() {
if (codecBuilder_ == null) {
codec_ = null;
onChanged();
} else {
codec_ = null;
codecBuilder_ = null;
}
return this;
}
/**
*
* codec describes the application codec such as registered interfaces and implementations
*
*
* .cosmos.base.reflection.v2alpha1.CodecDescriptor codec = 1;
*/
public cosmos.base.reflection.v2alpha1.Reflection.CodecDescriptor.Builder getCodecBuilder() {
onChanged();
return getCodecFieldBuilder().getBuilder();
}
/**
*
* codec describes the application codec such as registered interfaces and implementations
*
*
* .cosmos.base.reflection.v2alpha1.CodecDescriptor codec = 1;
*/
public cosmos.base.reflection.v2alpha1.Reflection.CodecDescriptorOrBuilder getCodecOrBuilder() {
if (codecBuilder_ != null) {
return codecBuilder_.getMessageOrBuilder();
} else {
return codec_ == null ?
cosmos.base.reflection.v2alpha1.Reflection.CodecDescriptor.getDefaultInstance() : codec_;
}
}
/**
*
* codec describes the application codec such as registered interfaces and implementations
*
*
* .cosmos.base.reflection.v2alpha1.CodecDescriptor codec = 1;
*/
private com.google.protobuf.SingleFieldBuilderV3<
cosmos.base.reflection.v2alpha1.Reflection.CodecDescriptor, cosmos.base.reflection.v2alpha1.Reflection.CodecDescriptor.Builder, cosmos.base.reflection.v2alpha1.Reflection.CodecDescriptorOrBuilder>
getCodecFieldBuilder() {
if (codecBuilder_ == null) {
codecBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
cosmos.base.reflection.v2alpha1.Reflection.CodecDescriptor, cosmos.base.reflection.v2alpha1.Reflection.CodecDescriptor.Builder, cosmos.base.reflection.v2alpha1.Reflection.CodecDescriptorOrBuilder>(
getCodec(),
getParentForChildren(),
isClean());
codec_ = null;
}
return codecBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:cosmos.base.reflection.v2alpha1.GetCodecDescriptorResponse)
}
// @@protoc_insertion_point(class_scope:cosmos.base.reflection.v2alpha1.GetCodecDescriptorResponse)
private static final cosmos.base.reflection.v2alpha1.Reflection.GetCodecDescriptorResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new cosmos.base.reflection.v2alpha1.Reflection.GetCodecDescriptorResponse();
}
public static cosmos.base.reflection.v2alpha1.Reflection.GetCodecDescriptorResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public GetCodecDescriptorResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new GetCodecDescriptorResponse(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public cosmos.base.reflection.v2alpha1.Reflection.GetCodecDescriptorResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface GetConfigurationDescriptorRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:cosmos.base.reflection.v2alpha1.GetConfigurationDescriptorRequest)
com.google.protobuf.MessageOrBuilder {
}
/**
*
* GetConfigurationDescriptorRequest is the request used for the GetConfigurationDescriptor RPC
*
*
* Protobuf type {@code cosmos.base.reflection.v2alpha1.GetConfigurationDescriptorRequest}
*/
public static final class GetConfigurationDescriptorRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:cosmos.base.reflection.v2alpha1.GetConfigurationDescriptorRequest)
GetConfigurationDescriptorRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use GetConfigurationDescriptorRequest.newBuilder() to construct.
private GetConfigurationDescriptorRequest(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private GetConfigurationDescriptorRequest() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new GetConfigurationDescriptorRequest();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private GetConfigurationDescriptorRequest(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
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 (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return cosmos.base.reflection.v2alpha1.Reflection.internal_static_cosmos_base_reflection_v2alpha1_GetConfigurationDescriptorRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cosmos.base.reflection.v2alpha1.Reflection.internal_static_cosmos_base_reflection_v2alpha1_GetConfigurationDescriptorRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cosmos.base.reflection.v2alpha1.Reflection.GetConfigurationDescriptorRequest.class, cosmos.base.reflection.v2alpha1.Reflection.GetConfigurationDescriptorRequest.Builder.class);
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof cosmos.base.reflection.v2alpha1.Reflection.GetConfigurationDescriptorRequest)) {
return super.equals(obj);
}
cosmos.base.reflection.v2alpha1.Reflection.GetConfigurationDescriptorRequest other = (cosmos.base.reflection.v2alpha1.Reflection.GetConfigurationDescriptorRequest) obj;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static cosmos.base.reflection.v2alpha1.Reflection.GetConfigurationDescriptorRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cosmos.base.reflection.v2alpha1.Reflection.GetConfigurationDescriptorRequest parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cosmos.base.reflection.v2alpha1.Reflection.GetConfigurationDescriptorRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cosmos.base.reflection.v2alpha1.Reflection.GetConfigurationDescriptorRequest parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cosmos.base.reflection.v2alpha1.Reflection.GetConfigurationDescriptorRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cosmos.base.reflection.v2alpha1.Reflection.GetConfigurationDescriptorRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cosmos.base.reflection.v2alpha1.Reflection.GetConfigurationDescriptorRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cosmos.base.reflection.v2alpha1.Reflection.GetConfigurationDescriptorRequest parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static cosmos.base.reflection.v2alpha1.Reflection.GetConfigurationDescriptorRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static cosmos.base.reflection.v2alpha1.Reflection.GetConfigurationDescriptorRequest parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static cosmos.base.reflection.v2alpha1.Reflection.GetConfigurationDescriptorRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cosmos.base.reflection.v2alpha1.Reflection.GetConfigurationDescriptorRequest parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(cosmos.base.reflection.v2alpha1.Reflection.GetConfigurationDescriptorRequest prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
*
* GetConfigurationDescriptorRequest is the request used for the GetConfigurationDescriptor RPC
*
*
* Protobuf type {@code cosmos.base.reflection.v2alpha1.GetConfigurationDescriptorRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:cosmos.base.reflection.v2alpha1.GetConfigurationDescriptorRequest)
cosmos.base.reflection.v2alpha1.Reflection.GetConfigurationDescriptorRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return cosmos.base.reflection.v2alpha1.Reflection.internal_static_cosmos_base_reflection_v2alpha1_GetConfigurationDescriptorRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cosmos.base.reflection.v2alpha1.Reflection.internal_static_cosmos_base_reflection_v2alpha1_GetConfigurationDescriptorRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cosmos.base.reflection.v2alpha1.Reflection.GetConfigurationDescriptorRequest.class, cosmos.base.reflection.v2alpha1.Reflection.GetConfigurationDescriptorRequest.Builder.class);
}
// Construct using cosmos.base.reflection.v2alpha1.Reflection.GetConfigurationDescriptorRequest.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@java.lang.Override
public Builder clear() {
super.clear();
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return cosmos.base.reflection.v2alpha1.Reflection.internal_static_cosmos_base_reflection_v2alpha1_GetConfigurationDescriptorRequest_descriptor;
}
@java.lang.Override
public cosmos.base.reflection.v2alpha1.Reflection.GetConfigurationDescriptorRequest getDefaultInstanceForType() {
return cosmos.base.reflection.v2alpha1.Reflection.GetConfigurationDescriptorRequest.getDefaultInstance();
}
@java.lang.Override
public cosmos.base.reflection.v2alpha1.Reflection.GetConfigurationDescriptorRequest build() {
cosmos.base.reflection.v2alpha1.Reflection.GetConfigurationDescriptorRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public cosmos.base.reflection.v2alpha1.Reflection.GetConfigurationDescriptorRequest buildPartial() {
cosmos.base.reflection.v2alpha1.Reflection.GetConfigurationDescriptorRequest result = new cosmos.base.reflection.v2alpha1.Reflection.GetConfigurationDescriptorRequest(this);
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof cosmos.base.reflection.v2alpha1.Reflection.GetConfigurationDescriptorRequest) {
return mergeFrom((cosmos.base.reflection.v2alpha1.Reflection.GetConfigurationDescriptorRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(cosmos.base.reflection.v2alpha1.Reflection.GetConfigurationDescriptorRequest other) {
if (other == cosmos.base.reflection.v2alpha1.Reflection.GetConfigurationDescriptorRequest.getDefaultInstance()) return this;
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
cosmos.base.reflection.v2alpha1.Reflection.GetConfigurationDescriptorRequest parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (cosmos.base.reflection.v2alpha1.Reflection.GetConfigurationDescriptorRequest) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:cosmos.base.reflection.v2alpha1.GetConfigurationDescriptorRequest)
}
// @@protoc_insertion_point(class_scope:cosmos.base.reflection.v2alpha1.GetConfigurationDescriptorRequest)
private static final cosmos.base.reflection.v2alpha1.Reflection.GetConfigurationDescriptorRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new cosmos.base.reflection.v2alpha1.Reflection.GetConfigurationDescriptorRequest();
}
public static cosmos.base.reflection.v2alpha1.Reflection.GetConfigurationDescriptorRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public GetConfigurationDescriptorRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new GetConfigurationDescriptorRequest(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public cosmos.base.reflection.v2alpha1.Reflection.GetConfigurationDescriptorRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface GetConfigurationDescriptorResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:cosmos.base.reflection.v2alpha1.GetConfigurationDescriptorResponse)
com.google.protobuf.MessageOrBuilder {
/**
*
* config describes the application's sdk.Config
*
*
* .cosmos.base.reflection.v2alpha1.ConfigurationDescriptor config = 1;
* @return Whether the config field is set.
*/
boolean hasConfig();
/**
*
* config describes the application's sdk.Config
*
*
* .cosmos.base.reflection.v2alpha1.ConfigurationDescriptor config = 1;
* @return The config.
*/
cosmos.base.reflection.v2alpha1.Reflection.ConfigurationDescriptor getConfig();
/**
*
* config describes the application's sdk.Config
*
*
* .cosmos.base.reflection.v2alpha1.ConfigurationDescriptor config = 1;
*/
cosmos.base.reflection.v2alpha1.Reflection.ConfigurationDescriptorOrBuilder getConfigOrBuilder();
}
/**
*
* GetConfigurationDescriptorResponse is the response returned by the GetConfigurationDescriptor RPC
*
*
* Protobuf type {@code cosmos.base.reflection.v2alpha1.GetConfigurationDescriptorResponse}
*/
public static final class GetConfigurationDescriptorResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:cosmos.base.reflection.v2alpha1.GetConfigurationDescriptorResponse)
GetConfigurationDescriptorResponseOrBuilder {
private static final long serialVersionUID = 0L;
// Use GetConfigurationDescriptorResponse.newBuilder() to construct.
private GetConfigurationDescriptorResponse(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private GetConfigurationDescriptorResponse() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new GetConfigurationDescriptorResponse();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private GetConfigurationDescriptorResponse(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
cosmos.base.reflection.v2alpha1.Reflection.ConfigurationDescriptor.Builder subBuilder = null;
if (config_ != null) {
subBuilder = config_.toBuilder();
}
config_ = input.readMessage(cosmos.base.reflection.v2alpha1.Reflection.ConfigurationDescriptor.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(config_);
config_ = subBuilder.buildPartial();
}
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return cosmos.base.reflection.v2alpha1.Reflection.internal_static_cosmos_base_reflection_v2alpha1_GetConfigurationDescriptorResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cosmos.base.reflection.v2alpha1.Reflection.internal_static_cosmos_base_reflection_v2alpha1_GetConfigurationDescriptorResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cosmos.base.reflection.v2alpha1.Reflection.GetConfigurationDescriptorResponse.class, cosmos.base.reflection.v2alpha1.Reflection.GetConfigurationDescriptorResponse.Builder.class);
}
public static final int CONFIG_FIELD_NUMBER = 1;
private cosmos.base.reflection.v2alpha1.Reflection.ConfigurationDescriptor config_;
/**
*
* config describes the application's sdk.Config
*
*
* .cosmos.base.reflection.v2alpha1.ConfigurationDescriptor config = 1;
* @return Whether the config field is set.
*/
@java.lang.Override
public boolean hasConfig() {
return config_ != null;
}
/**
*
* config describes the application's sdk.Config
*
*
* .cosmos.base.reflection.v2alpha1.ConfigurationDescriptor config = 1;
* @return The config.
*/
@java.lang.Override
public cosmos.base.reflection.v2alpha1.Reflection.ConfigurationDescriptor getConfig() {
return config_ == null ? cosmos.base.reflection.v2alpha1.Reflection.ConfigurationDescriptor.getDefaultInstance() : config_;
}
/**
*
* config describes the application's sdk.Config
*
*
* .cosmos.base.reflection.v2alpha1.ConfigurationDescriptor config = 1;
*/
@java.lang.Override
public cosmos.base.reflection.v2alpha1.Reflection.ConfigurationDescriptorOrBuilder getConfigOrBuilder() {
return getConfig();
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (config_ != null) {
output.writeMessage(1, getConfig());
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (config_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getConfig());
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof cosmos.base.reflection.v2alpha1.Reflection.GetConfigurationDescriptorResponse)) {
return super.equals(obj);
}
cosmos.base.reflection.v2alpha1.Reflection.GetConfigurationDescriptorResponse other = (cosmos.base.reflection.v2alpha1.Reflection.GetConfigurationDescriptorResponse) obj;
if (hasConfig() != other.hasConfig()) return false;
if (hasConfig()) {
if (!getConfig()
.equals(other.getConfig())) return false;
}
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasConfig()) {
hash = (37 * hash) + CONFIG_FIELD_NUMBER;
hash = (53 * hash) + getConfig().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static cosmos.base.reflection.v2alpha1.Reflection.GetConfigurationDescriptorResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cosmos.base.reflection.v2alpha1.Reflection.GetConfigurationDescriptorResponse parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cosmos.base.reflection.v2alpha1.Reflection.GetConfigurationDescriptorResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cosmos.base.reflection.v2alpha1.Reflection.GetConfigurationDescriptorResponse parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cosmos.base.reflection.v2alpha1.Reflection.GetConfigurationDescriptorResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cosmos.base.reflection.v2alpha1.Reflection.GetConfigurationDescriptorResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cosmos.base.reflection.v2alpha1.Reflection.GetConfigurationDescriptorResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cosmos.base.reflection.v2alpha1.Reflection.GetConfigurationDescriptorResponse parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static cosmos.base.reflection.v2alpha1.Reflection.GetConfigurationDescriptorResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static cosmos.base.reflection.v2alpha1.Reflection.GetConfigurationDescriptorResponse parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static cosmos.base.reflection.v2alpha1.Reflection.GetConfigurationDescriptorResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cosmos.base.reflection.v2alpha1.Reflection.GetConfigurationDescriptorResponse parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(cosmos.base.reflection.v2alpha1.Reflection.GetConfigurationDescriptorResponse prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
*
* GetConfigurationDescriptorResponse is the response returned by the GetConfigurationDescriptor RPC
*
*
* Protobuf type {@code cosmos.base.reflection.v2alpha1.GetConfigurationDescriptorResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:cosmos.base.reflection.v2alpha1.GetConfigurationDescriptorResponse)
cosmos.base.reflection.v2alpha1.Reflection.GetConfigurationDescriptorResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return cosmos.base.reflection.v2alpha1.Reflection.internal_static_cosmos_base_reflection_v2alpha1_GetConfigurationDescriptorResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cosmos.base.reflection.v2alpha1.Reflection.internal_static_cosmos_base_reflection_v2alpha1_GetConfigurationDescriptorResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cosmos.base.reflection.v2alpha1.Reflection.GetConfigurationDescriptorResponse.class, cosmos.base.reflection.v2alpha1.Reflection.GetConfigurationDescriptorResponse.Builder.class);
}
// Construct using cosmos.base.reflection.v2alpha1.Reflection.GetConfigurationDescriptorResponse.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@java.lang.Override
public Builder clear() {
super.clear();
if (configBuilder_ == null) {
config_ = null;
} else {
config_ = null;
configBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return cosmos.base.reflection.v2alpha1.Reflection.internal_static_cosmos_base_reflection_v2alpha1_GetConfigurationDescriptorResponse_descriptor;
}
@java.lang.Override
public cosmos.base.reflection.v2alpha1.Reflection.GetConfigurationDescriptorResponse getDefaultInstanceForType() {
return cosmos.base.reflection.v2alpha1.Reflection.GetConfigurationDescriptorResponse.getDefaultInstance();
}
@java.lang.Override
public cosmos.base.reflection.v2alpha1.Reflection.GetConfigurationDescriptorResponse build() {
cosmos.base.reflection.v2alpha1.Reflection.GetConfigurationDescriptorResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public cosmos.base.reflection.v2alpha1.Reflection.GetConfigurationDescriptorResponse buildPartial() {
cosmos.base.reflection.v2alpha1.Reflection.GetConfigurationDescriptorResponse result = new cosmos.base.reflection.v2alpha1.Reflection.GetConfigurationDescriptorResponse(this);
if (configBuilder_ == null) {
result.config_ = config_;
} else {
result.config_ = configBuilder_.build();
}
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof cosmos.base.reflection.v2alpha1.Reflection.GetConfigurationDescriptorResponse) {
return mergeFrom((cosmos.base.reflection.v2alpha1.Reflection.GetConfigurationDescriptorResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(cosmos.base.reflection.v2alpha1.Reflection.GetConfigurationDescriptorResponse other) {
if (other == cosmos.base.reflection.v2alpha1.Reflection.GetConfigurationDescriptorResponse.getDefaultInstance()) return this;
if (other.hasConfig()) {
mergeConfig(other.getConfig());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
cosmos.base.reflection.v2alpha1.Reflection.GetConfigurationDescriptorResponse parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (cosmos.base.reflection.v2alpha1.Reflection.GetConfigurationDescriptorResponse) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private cosmos.base.reflection.v2alpha1.Reflection.ConfigurationDescriptor config_;
private com.google.protobuf.SingleFieldBuilderV3<
cosmos.base.reflection.v2alpha1.Reflection.ConfigurationDescriptor, cosmos.base.reflection.v2alpha1.Reflection.ConfigurationDescriptor.Builder, cosmos.base.reflection.v2alpha1.Reflection.ConfigurationDescriptorOrBuilder> configBuilder_;
/**
*
* config describes the application's sdk.Config
*
*
* .cosmos.base.reflection.v2alpha1.ConfigurationDescriptor config = 1;
* @return Whether the config field is set.
*/
public boolean hasConfig() {
return configBuilder_ != null || config_ != null;
}
/**
*
* config describes the application's sdk.Config
*
*
* .cosmos.base.reflection.v2alpha1.ConfigurationDescriptor config = 1;
* @return The config.
*/
public cosmos.base.reflection.v2alpha1.Reflection.ConfigurationDescriptor getConfig() {
if (configBuilder_ == null) {
return config_ == null ? cosmos.base.reflection.v2alpha1.Reflection.ConfigurationDescriptor.getDefaultInstance() : config_;
} else {
return configBuilder_.getMessage();
}
}
/**
*
* config describes the application's sdk.Config
*
*
* .cosmos.base.reflection.v2alpha1.ConfigurationDescriptor config = 1;
*/
public Builder setConfig(cosmos.base.reflection.v2alpha1.Reflection.ConfigurationDescriptor value) {
if (configBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
config_ = value;
onChanged();
} else {
configBuilder_.setMessage(value);
}
return this;
}
/**
*
* config describes the application's sdk.Config
*
*
* .cosmos.base.reflection.v2alpha1.ConfigurationDescriptor config = 1;
*/
public Builder setConfig(
cosmos.base.reflection.v2alpha1.Reflection.ConfigurationDescriptor.Builder builderForValue) {
if (configBuilder_ == null) {
config_ = builderForValue.build();
onChanged();
} else {
configBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* config describes the application's sdk.Config
*
*
* .cosmos.base.reflection.v2alpha1.ConfigurationDescriptor config = 1;
*/
public Builder mergeConfig(cosmos.base.reflection.v2alpha1.Reflection.ConfigurationDescriptor value) {
if (configBuilder_ == null) {
if (config_ != null) {
config_ =
cosmos.base.reflection.v2alpha1.Reflection.ConfigurationDescriptor.newBuilder(config_).mergeFrom(value).buildPartial();
} else {
config_ = value;
}
onChanged();
} else {
configBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* config describes the application's sdk.Config
*
*
* .cosmos.base.reflection.v2alpha1.ConfigurationDescriptor config = 1;
*/
public Builder clearConfig() {
if (configBuilder_ == null) {
config_ = null;
onChanged();
} else {
config_ = null;
configBuilder_ = null;
}
return this;
}
/**
*
* config describes the application's sdk.Config
*
*
* .cosmos.base.reflection.v2alpha1.ConfigurationDescriptor config = 1;
*/
public cosmos.base.reflection.v2alpha1.Reflection.ConfigurationDescriptor.Builder getConfigBuilder() {
onChanged();
return getConfigFieldBuilder().getBuilder();
}
/**
*
* config describes the application's sdk.Config
*
*
* .cosmos.base.reflection.v2alpha1.ConfigurationDescriptor config = 1;
*/
public cosmos.base.reflection.v2alpha1.Reflection.ConfigurationDescriptorOrBuilder getConfigOrBuilder() {
if (configBuilder_ != null) {
return configBuilder_.getMessageOrBuilder();
} else {
return config_ == null ?
cosmos.base.reflection.v2alpha1.Reflection.ConfigurationDescriptor.getDefaultInstance() : config_;
}
}
/**
*
* config describes the application's sdk.Config
*
*
* .cosmos.base.reflection.v2alpha1.ConfigurationDescriptor config = 1;
*/
private com.google.protobuf.SingleFieldBuilderV3<
cosmos.base.reflection.v2alpha1.Reflection.ConfigurationDescriptor, cosmos.base.reflection.v2alpha1.Reflection.ConfigurationDescriptor.Builder, cosmos.base.reflection.v2alpha1.Reflection.ConfigurationDescriptorOrBuilder>
getConfigFieldBuilder() {
if (configBuilder_ == null) {
configBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
cosmos.base.reflection.v2alpha1.Reflection.ConfigurationDescriptor, cosmos.base.reflection.v2alpha1.Reflection.ConfigurationDescriptor.Builder, cosmos.base.reflection.v2alpha1.Reflection.ConfigurationDescriptorOrBuilder>(
getConfig(),
getParentForChildren(),
isClean());
config_ = null;
}
return configBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:cosmos.base.reflection.v2alpha1.GetConfigurationDescriptorResponse)
}
// @@protoc_insertion_point(class_scope:cosmos.base.reflection.v2alpha1.GetConfigurationDescriptorResponse)
private static final cosmos.base.reflection.v2alpha1.Reflection.GetConfigurationDescriptorResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new cosmos.base.reflection.v2alpha1.Reflection.GetConfigurationDescriptorResponse();
}
public static cosmos.base.reflection.v2alpha1.Reflection.GetConfigurationDescriptorResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public GetConfigurationDescriptorResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new GetConfigurationDescriptorResponse(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public cosmos.base.reflection.v2alpha1.Reflection.GetConfigurationDescriptorResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface GetQueryServicesDescriptorRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:cosmos.base.reflection.v2alpha1.GetQueryServicesDescriptorRequest)
com.google.protobuf.MessageOrBuilder {
}
/**
*
* GetQueryServicesDescriptorRequest is the request used for the GetQueryServicesDescriptor RPC
*
*
* Protobuf type {@code cosmos.base.reflection.v2alpha1.GetQueryServicesDescriptorRequest}
*/
public static final class GetQueryServicesDescriptorRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:cosmos.base.reflection.v2alpha1.GetQueryServicesDescriptorRequest)
GetQueryServicesDescriptorRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use GetQueryServicesDescriptorRequest.newBuilder() to construct.
private GetQueryServicesDescriptorRequest(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private GetQueryServicesDescriptorRequest() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new GetQueryServicesDescriptorRequest();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private GetQueryServicesDescriptorRequest(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
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 (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return cosmos.base.reflection.v2alpha1.Reflection.internal_static_cosmos_base_reflection_v2alpha1_GetQueryServicesDescriptorRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cosmos.base.reflection.v2alpha1.Reflection.internal_static_cosmos_base_reflection_v2alpha1_GetQueryServicesDescriptorRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cosmos.base.reflection.v2alpha1.Reflection.GetQueryServicesDescriptorRequest.class, cosmos.base.reflection.v2alpha1.Reflection.GetQueryServicesDescriptorRequest.Builder.class);
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof cosmos.base.reflection.v2alpha1.Reflection.GetQueryServicesDescriptorRequest)) {
return super.equals(obj);
}
cosmos.base.reflection.v2alpha1.Reflection.GetQueryServicesDescriptorRequest other = (cosmos.base.reflection.v2alpha1.Reflection.GetQueryServicesDescriptorRequest) obj;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static cosmos.base.reflection.v2alpha1.Reflection.GetQueryServicesDescriptorRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cosmos.base.reflection.v2alpha1.Reflection.GetQueryServicesDescriptorRequest parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cosmos.base.reflection.v2alpha1.Reflection.GetQueryServicesDescriptorRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cosmos.base.reflection.v2alpha1.Reflection.GetQueryServicesDescriptorRequest parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cosmos.base.reflection.v2alpha1.Reflection.GetQueryServicesDescriptorRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cosmos.base.reflection.v2alpha1.Reflection.GetQueryServicesDescriptorRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cosmos.base.reflection.v2alpha1.Reflection.GetQueryServicesDescriptorRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cosmos.base.reflection.v2alpha1.Reflection.GetQueryServicesDescriptorRequest parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static cosmos.base.reflection.v2alpha1.Reflection.GetQueryServicesDescriptorRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static cosmos.base.reflection.v2alpha1.Reflection.GetQueryServicesDescriptorRequest parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static cosmos.base.reflection.v2alpha1.Reflection.GetQueryServicesDescriptorRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cosmos.base.reflection.v2alpha1.Reflection.GetQueryServicesDescriptorRequest parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(cosmos.base.reflection.v2alpha1.Reflection.GetQueryServicesDescriptorRequest prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
*
* GetQueryServicesDescriptorRequest is the request used for the GetQueryServicesDescriptor RPC
*
*
* Protobuf type {@code cosmos.base.reflection.v2alpha1.GetQueryServicesDescriptorRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:cosmos.base.reflection.v2alpha1.GetQueryServicesDescriptorRequest)
cosmos.base.reflection.v2alpha1.Reflection.GetQueryServicesDescriptorRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return cosmos.base.reflection.v2alpha1.Reflection.internal_static_cosmos_base_reflection_v2alpha1_GetQueryServicesDescriptorRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cosmos.base.reflection.v2alpha1.Reflection.internal_static_cosmos_base_reflection_v2alpha1_GetQueryServicesDescriptorRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cosmos.base.reflection.v2alpha1.Reflection.GetQueryServicesDescriptorRequest.class, cosmos.base.reflection.v2alpha1.Reflection.GetQueryServicesDescriptorRequest.Builder.class);
}
// Construct using cosmos.base.reflection.v2alpha1.Reflection.GetQueryServicesDescriptorRequest.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@java.lang.Override
public Builder clear() {
super.clear();
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return cosmos.base.reflection.v2alpha1.Reflection.internal_static_cosmos_base_reflection_v2alpha1_GetQueryServicesDescriptorRequest_descriptor;
}
@java.lang.Override
public cosmos.base.reflection.v2alpha1.Reflection.GetQueryServicesDescriptorRequest getDefaultInstanceForType() {
return cosmos.base.reflection.v2alpha1.Reflection.GetQueryServicesDescriptorRequest.getDefaultInstance();
}
@java.lang.Override
public cosmos.base.reflection.v2alpha1.Reflection.GetQueryServicesDescriptorRequest build() {
cosmos.base.reflection.v2alpha1.Reflection.GetQueryServicesDescriptorRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public cosmos.base.reflection.v2alpha1.Reflection.GetQueryServicesDescriptorRequest buildPartial() {
cosmos.base.reflection.v2alpha1.Reflection.GetQueryServicesDescriptorRequest result = new cosmos.base.reflection.v2alpha1.Reflection.GetQueryServicesDescriptorRequest(this);
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof cosmos.base.reflection.v2alpha1.Reflection.GetQueryServicesDescriptorRequest) {
return mergeFrom((cosmos.base.reflection.v2alpha1.Reflection.GetQueryServicesDescriptorRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(cosmos.base.reflection.v2alpha1.Reflection.GetQueryServicesDescriptorRequest other) {
if (other == cosmos.base.reflection.v2alpha1.Reflection.GetQueryServicesDescriptorRequest.getDefaultInstance()) return this;
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
cosmos.base.reflection.v2alpha1.Reflection.GetQueryServicesDescriptorRequest parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (cosmos.base.reflection.v2alpha1.Reflection.GetQueryServicesDescriptorRequest) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:cosmos.base.reflection.v2alpha1.GetQueryServicesDescriptorRequest)
}
// @@protoc_insertion_point(class_scope:cosmos.base.reflection.v2alpha1.GetQueryServicesDescriptorRequest)
private static final cosmos.base.reflection.v2alpha1.Reflection.GetQueryServicesDescriptorRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new cosmos.base.reflection.v2alpha1.Reflection.GetQueryServicesDescriptorRequest();
}
public static cosmos.base.reflection.v2alpha1.Reflection.GetQueryServicesDescriptorRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public GetQueryServicesDescriptorRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new GetQueryServicesDescriptorRequest(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public cosmos.base.reflection.v2alpha1.Reflection.GetQueryServicesDescriptorRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface GetQueryServicesDescriptorResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:cosmos.base.reflection.v2alpha1.GetQueryServicesDescriptorResponse)
com.google.protobuf.MessageOrBuilder {
/**
*
* queries provides information on the available queryable services
*
*
* .cosmos.base.reflection.v2alpha1.QueryServicesDescriptor queries = 1;
* @return Whether the queries field is set.
*/
boolean hasQueries();
/**
*
* queries provides information on the available queryable services
*
*
* .cosmos.base.reflection.v2alpha1.QueryServicesDescriptor queries = 1;
* @return The queries.
*/
cosmos.base.reflection.v2alpha1.Reflection.QueryServicesDescriptor getQueries();
/**
*
* queries provides information on the available queryable services
*
*
* .cosmos.base.reflection.v2alpha1.QueryServicesDescriptor queries = 1;
*/
cosmos.base.reflection.v2alpha1.Reflection.QueryServicesDescriptorOrBuilder getQueriesOrBuilder();
}
/**
*
* GetQueryServicesDescriptorResponse is the response returned by the GetQueryServicesDescriptor RPC
*
*
* Protobuf type {@code cosmos.base.reflection.v2alpha1.GetQueryServicesDescriptorResponse}
*/
public static final class GetQueryServicesDescriptorResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:cosmos.base.reflection.v2alpha1.GetQueryServicesDescriptorResponse)
GetQueryServicesDescriptorResponseOrBuilder {
private static final long serialVersionUID = 0L;
// Use GetQueryServicesDescriptorResponse.newBuilder() to construct.
private GetQueryServicesDescriptorResponse(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private GetQueryServicesDescriptorResponse() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new GetQueryServicesDescriptorResponse();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private GetQueryServicesDescriptorResponse(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
cosmos.base.reflection.v2alpha1.Reflection.QueryServicesDescriptor.Builder subBuilder = null;
if (queries_ != null) {
subBuilder = queries_.toBuilder();
}
queries_ = input.readMessage(cosmos.base.reflection.v2alpha1.Reflection.QueryServicesDescriptor.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(queries_);
queries_ = subBuilder.buildPartial();
}
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return cosmos.base.reflection.v2alpha1.Reflection.internal_static_cosmos_base_reflection_v2alpha1_GetQueryServicesDescriptorResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cosmos.base.reflection.v2alpha1.Reflection.internal_static_cosmos_base_reflection_v2alpha1_GetQueryServicesDescriptorResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cosmos.base.reflection.v2alpha1.Reflection.GetQueryServicesDescriptorResponse.class, cosmos.base.reflection.v2alpha1.Reflection.GetQueryServicesDescriptorResponse.Builder.class);
}
public static final int QUERIES_FIELD_NUMBER = 1;
private cosmos.base.reflection.v2alpha1.Reflection.QueryServicesDescriptor queries_;
/**
*
* queries provides information on the available queryable services
*
*
* .cosmos.base.reflection.v2alpha1.QueryServicesDescriptor queries = 1;
* @return Whether the queries field is set.
*/
@java.lang.Override
public boolean hasQueries() {
return queries_ != null;
}
/**
*
* queries provides information on the available queryable services
*
*
* .cosmos.base.reflection.v2alpha1.QueryServicesDescriptor queries = 1;
* @return The queries.
*/
@java.lang.Override
public cosmos.base.reflection.v2alpha1.Reflection.QueryServicesDescriptor getQueries() {
return queries_ == null ? cosmos.base.reflection.v2alpha1.Reflection.QueryServicesDescriptor.getDefaultInstance() : queries_;
}
/**
*
* queries provides information on the available queryable services
*
*
* .cosmos.base.reflection.v2alpha1.QueryServicesDescriptor queries = 1;
*/
@java.lang.Override
public cosmos.base.reflection.v2alpha1.Reflection.QueryServicesDescriptorOrBuilder getQueriesOrBuilder() {
return getQueries();
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (queries_ != null) {
output.writeMessage(1, getQueries());
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (queries_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getQueries());
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof cosmos.base.reflection.v2alpha1.Reflection.GetQueryServicesDescriptorResponse)) {
return super.equals(obj);
}
cosmos.base.reflection.v2alpha1.Reflection.GetQueryServicesDescriptorResponse other = (cosmos.base.reflection.v2alpha1.Reflection.GetQueryServicesDescriptorResponse) obj;
if (hasQueries() != other.hasQueries()) return false;
if (hasQueries()) {
if (!getQueries()
.equals(other.getQueries())) return false;
}
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasQueries()) {
hash = (37 * hash) + QUERIES_FIELD_NUMBER;
hash = (53 * hash) + getQueries().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static cosmos.base.reflection.v2alpha1.Reflection.GetQueryServicesDescriptorResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cosmos.base.reflection.v2alpha1.Reflection.GetQueryServicesDescriptorResponse parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cosmos.base.reflection.v2alpha1.Reflection.GetQueryServicesDescriptorResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cosmos.base.reflection.v2alpha1.Reflection.GetQueryServicesDescriptorResponse parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cosmos.base.reflection.v2alpha1.Reflection.GetQueryServicesDescriptorResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cosmos.base.reflection.v2alpha1.Reflection.GetQueryServicesDescriptorResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cosmos.base.reflection.v2alpha1.Reflection.GetQueryServicesDescriptorResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cosmos.base.reflection.v2alpha1.Reflection.GetQueryServicesDescriptorResponse parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static cosmos.base.reflection.v2alpha1.Reflection.GetQueryServicesDescriptorResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static cosmos.base.reflection.v2alpha1.Reflection.GetQueryServicesDescriptorResponse parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static cosmos.base.reflection.v2alpha1.Reflection.GetQueryServicesDescriptorResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cosmos.base.reflection.v2alpha1.Reflection.GetQueryServicesDescriptorResponse parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(cosmos.base.reflection.v2alpha1.Reflection.GetQueryServicesDescriptorResponse prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
*
* GetQueryServicesDescriptorResponse is the response returned by the GetQueryServicesDescriptor RPC
*
*
* Protobuf type {@code cosmos.base.reflection.v2alpha1.GetQueryServicesDescriptorResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:cosmos.base.reflection.v2alpha1.GetQueryServicesDescriptorResponse)
cosmos.base.reflection.v2alpha1.Reflection.GetQueryServicesDescriptorResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return cosmos.base.reflection.v2alpha1.Reflection.internal_static_cosmos_base_reflection_v2alpha1_GetQueryServicesDescriptorResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cosmos.base.reflection.v2alpha1.Reflection.internal_static_cosmos_base_reflection_v2alpha1_GetQueryServicesDescriptorResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cosmos.base.reflection.v2alpha1.Reflection.GetQueryServicesDescriptorResponse.class, cosmos.base.reflection.v2alpha1.Reflection.GetQueryServicesDescriptorResponse.Builder.class);
}
// Construct using cosmos.base.reflection.v2alpha1.Reflection.GetQueryServicesDescriptorResponse.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@java.lang.Override
public Builder clear() {
super.clear();
if (queriesBuilder_ == null) {
queries_ = null;
} else {
queries_ = null;
queriesBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return cosmos.base.reflection.v2alpha1.Reflection.internal_static_cosmos_base_reflection_v2alpha1_GetQueryServicesDescriptorResponse_descriptor;
}
@java.lang.Override
public cosmos.base.reflection.v2alpha1.Reflection.GetQueryServicesDescriptorResponse getDefaultInstanceForType() {
return cosmos.base.reflection.v2alpha1.Reflection.GetQueryServicesDescriptorResponse.getDefaultInstance();
}
@java.lang.Override
public cosmos.base.reflection.v2alpha1.Reflection.GetQueryServicesDescriptorResponse build() {
cosmos.base.reflection.v2alpha1.Reflection.GetQueryServicesDescriptorResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public cosmos.base.reflection.v2alpha1.Reflection.GetQueryServicesDescriptorResponse buildPartial() {
cosmos.base.reflection.v2alpha1.Reflection.GetQueryServicesDescriptorResponse result = new cosmos.base.reflection.v2alpha1.Reflection.GetQueryServicesDescriptorResponse(this);
if (queriesBuilder_ == null) {
result.queries_ = queries_;
} else {
result.queries_ = queriesBuilder_.build();
}
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof cosmos.base.reflection.v2alpha1.Reflection.GetQueryServicesDescriptorResponse) {
return mergeFrom((cosmos.base.reflection.v2alpha1.Reflection.GetQueryServicesDescriptorResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(cosmos.base.reflection.v2alpha1.Reflection.GetQueryServicesDescriptorResponse other) {
if (other == cosmos.base.reflection.v2alpha1.Reflection.GetQueryServicesDescriptorResponse.getDefaultInstance()) return this;
if (other.hasQueries()) {
mergeQueries(other.getQueries());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
cosmos.base.reflection.v2alpha1.Reflection.GetQueryServicesDescriptorResponse parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (cosmos.base.reflection.v2alpha1.Reflection.GetQueryServicesDescriptorResponse) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private cosmos.base.reflection.v2alpha1.Reflection.QueryServicesDescriptor queries_;
private com.google.protobuf.SingleFieldBuilderV3<
cosmos.base.reflection.v2alpha1.Reflection.QueryServicesDescriptor, cosmos.base.reflection.v2alpha1.Reflection.QueryServicesDescriptor.Builder, cosmos.base.reflection.v2alpha1.Reflection.QueryServicesDescriptorOrBuilder> queriesBuilder_;
/**
*
* queries provides information on the available queryable services
*
*
* .cosmos.base.reflection.v2alpha1.QueryServicesDescriptor queries = 1;
* @return Whether the queries field is set.
*/
public boolean hasQueries() {
return queriesBuilder_ != null || queries_ != null;
}
/**
*
* queries provides information on the available queryable services
*
*
* .cosmos.base.reflection.v2alpha1.QueryServicesDescriptor queries = 1;
* @return The queries.
*/
public cosmos.base.reflection.v2alpha1.Reflection.QueryServicesDescriptor getQueries() {
if (queriesBuilder_ == null) {
return queries_ == null ? cosmos.base.reflection.v2alpha1.Reflection.QueryServicesDescriptor.getDefaultInstance() : queries_;
} else {
return queriesBuilder_.getMessage();
}
}
/**
*
* queries provides information on the available queryable services
*
*
* .cosmos.base.reflection.v2alpha1.QueryServicesDescriptor queries = 1;
*/
public Builder setQueries(cosmos.base.reflection.v2alpha1.Reflection.QueryServicesDescriptor value) {
if (queriesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
queries_ = value;
onChanged();
} else {
queriesBuilder_.setMessage(value);
}
return this;
}
/**
*
* queries provides information on the available queryable services
*
*
* .cosmos.base.reflection.v2alpha1.QueryServicesDescriptor queries = 1;
*/
public Builder setQueries(
cosmos.base.reflection.v2alpha1.Reflection.QueryServicesDescriptor.Builder builderForValue) {
if (queriesBuilder_ == null) {
queries_ = builderForValue.build();
onChanged();
} else {
queriesBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* queries provides information on the available queryable services
*
*
* .cosmos.base.reflection.v2alpha1.QueryServicesDescriptor queries = 1;
*/
public Builder mergeQueries(cosmos.base.reflection.v2alpha1.Reflection.QueryServicesDescriptor value) {
if (queriesBuilder_ == null) {
if (queries_ != null) {
queries_ =
cosmos.base.reflection.v2alpha1.Reflection.QueryServicesDescriptor.newBuilder(queries_).mergeFrom(value).buildPartial();
} else {
queries_ = value;
}
onChanged();
} else {
queriesBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* queries provides information on the available queryable services
*
*
* .cosmos.base.reflection.v2alpha1.QueryServicesDescriptor queries = 1;
*/
public Builder clearQueries() {
if (queriesBuilder_ == null) {
queries_ = null;
onChanged();
} else {
queries_ = null;
queriesBuilder_ = null;
}
return this;
}
/**
*
* queries provides information on the available queryable services
*
*
* .cosmos.base.reflection.v2alpha1.QueryServicesDescriptor queries = 1;
*/
public cosmos.base.reflection.v2alpha1.Reflection.QueryServicesDescriptor.Builder getQueriesBuilder() {
onChanged();
return getQueriesFieldBuilder().getBuilder();
}
/**
*
* queries provides information on the available queryable services
*
*
* .cosmos.base.reflection.v2alpha1.QueryServicesDescriptor queries = 1;
*/
public cosmos.base.reflection.v2alpha1.Reflection.QueryServicesDescriptorOrBuilder getQueriesOrBuilder() {
if (queriesBuilder_ != null) {
return queriesBuilder_.getMessageOrBuilder();
} else {
return queries_ == null ?
cosmos.base.reflection.v2alpha1.Reflection.QueryServicesDescriptor.getDefaultInstance() : queries_;
}
}
/**
*
* queries provides information on the available queryable services
*
*
* .cosmos.base.reflection.v2alpha1.QueryServicesDescriptor queries = 1;
*/
private com.google.protobuf.SingleFieldBuilderV3<
cosmos.base.reflection.v2alpha1.Reflection.QueryServicesDescriptor, cosmos.base.reflection.v2alpha1.Reflection.QueryServicesDescriptor.Builder, cosmos.base.reflection.v2alpha1.Reflection.QueryServicesDescriptorOrBuilder>
getQueriesFieldBuilder() {
if (queriesBuilder_ == null) {
queriesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
cosmos.base.reflection.v2alpha1.Reflection.QueryServicesDescriptor, cosmos.base.reflection.v2alpha1.Reflection.QueryServicesDescriptor.Builder, cosmos.base.reflection.v2alpha1.Reflection.QueryServicesDescriptorOrBuilder>(
getQueries(),
getParentForChildren(),
isClean());
queries_ = null;
}
return queriesBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:cosmos.base.reflection.v2alpha1.GetQueryServicesDescriptorResponse)
}
// @@protoc_insertion_point(class_scope:cosmos.base.reflection.v2alpha1.GetQueryServicesDescriptorResponse)
private static final cosmos.base.reflection.v2alpha1.Reflection.GetQueryServicesDescriptorResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new cosmos.base.reflection.v2alpha1.Reflection.GetQueryServicesDescriptorResponse();
}
public static cosmos.base.reflection.v2alpha1.Reflection.GetQueryServicesDescriptorResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public GetQueryServicesDescriptorResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new GetQueryServicesDescriptorResponse(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public cosmos.base.reflection.v2alpha1.Reflection.GetQueryServicesDescriptorResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface GetTxDescriptorRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:cosmos.base.reflection.v2alpha1.GetTxDescriptorRequest)
com.google.protobuf.MessageOrBuilder {
}
/**
*
* GetTxDescriptorRequest is the request used for the GetTxDescriptor RPC
*
*
* Protobuf type {@code cosmos.base.reflection.v2alpha1.GetTxDescriptorRequest}
*/
public static final class GetTxDescriptorRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:cosmos.base.reflection.v2alpha1.GetTxDescriptorRequest)
GetTxDescriptorRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use GetTxDescriptorRequest.newBuilder() to construct.
private GetTxDescriptorRequest(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private GetTxDescriptorRequest() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new GetTxDescriptorRequest();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private GetTxDescriptorRequest(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
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 (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return cosmos.base.reflection.v2alpha1.Reflection.internal_static_cosmos_base_reflection_v2alpha1_GetTxDescriptorRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cosmos.base.reflection.v2alpha1.Reflection.internal_static_cosmos_base_reflection_v2alpha1_GetTxDescriptorRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cosmos.base.reflection.v2alpha1.Reflection.GetTxDescriptorRequest.class, cosmos.base.reflection.v2alpha1.Reflection.GetTxDescriptorRequest.Builder.class);
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof cosmos.base.reflection.v2alpha1.Reflection.GetTxDescriptorRequest)) {
return super.equals(obj);
}
cosmos.base.reflection.v2alpha1.Reflection.GetTxDescriptorRequest other = (cosmos.base.reflection.v2alpha1.Reflection.GetTxDescriptorRequest) obj;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static cosmos.base.reflection.v2alpha1.Reflection.GetTxDescriptorRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cosmos.base.reflection.v2alpha1.Reflection.GetTxDescriptorRequest parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cosmos.base.reflection.v2alpha1.Reflection.GetTxDescriptorRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cosmos.base.reflection.v2alpha1.Reflection.GetTxDescriptorRequest parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cosmos.base.reflection.v2alpha1.Reflection.GetTxDescriptorRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cosmos.base.reflection.v2alpha1.Reflection.GetTxDescriptorRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cosmos.base.reflection.v2alpha1.Reflection.GetTxDescriptorRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cosmos.base.reflection.v2alpha1.Reflection.GetTxDescriptorRequest parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static cosmos.base.reflection.v2alpha1.Reflection.GetTxDescriptorRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static cosmos.base.reflection.v2alpha1.Reflection.GetTxDescriptorRequest parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static cosmos.base.reflection.v2alpha1.Reflection.GetTxDescriptorRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cosmos.base.reflection.v2alpha1.Reflection.GetTxDescriptorRequest parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(cosmos.base.reflection.v2alpha1.Reflection.GetTxDescriptorRequest prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
*
* GetTxDescriptorRequest is the request used for the GetTxDescriptor RPC
*
*
* Protobuf type {@code cosmos.base.reflection.v2alpha1.GetTxDescriptorRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:cosmos.base.reflection.v2alpha1.GetTxDescriptorRequest)
cosmos.base.reflection.v2alpha1.Reflection.GetTxDescriptorRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return cosmos.base.reflection.v2alpha1.Reflection.internal_static_cosmos_base_reflection_v2alpha1_GetTxDescriptorRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cosmos.base.reflection.v2alpha1.Reflection.internal_static_cosmos_base_reflection_v2alpha1_GetTxDescriptorRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cosmos.base.reflection.v2alpha1.Reflection.GetTxDescriptorRequest.class, cosmos.base.reflection.v2alpha1.Reflection.GetTxDescriptorRequest.Builder.class);
}
// Construct using cosmos.base.reflection.v2alpha1.Reflection.GetTxDescriptorRequest.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@java.lang.Override
public Builder clear() {
super.clear();
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return cosmos.base.reflection.v2alpha1.Reflection.internal_static_cosmos_base_reflection_v2alpha1_GetTxDescriptorRequest_descriptor;
}
@java.lang.Override
public cosmos.base.reflection.v2alpha1.Reflection.GetTxDescriptorRequest getDefaultInstanceForType() {
return cosmos.base.reflection.v2alpha1.Reflection.GetTxDescriptorRequest.getDefaultInstance();
}
@java.lang.Override
public cosmos.base.reflection.v2alpha1.Reflection.GetTxDescriptorRequest build() {
cosmos.base.reflection.v2alpha1.Reflection.GetTxDescriptorRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public cosmos.base.reflection.v2alpha1.Reflection.GetTxDescriptorRequest buildPartial() {
cosmos.base.reflection.v2alpha1.Reflection.GetTxDescriptorRequest result = new cosmos.base.reflection.v2alpha1.Reflection.GetTxDescriptorRequest(this);
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof cosmos.base.reflection.v2alpha1.Reflection.GetTxDescriptorRequest) {
return mergeFrom((cosmos.base.reflection.v2alpha1.Reflection.GetTxDescriptorRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(cosmos.base.reflection.v2alpha1.Reflection.GetTxDescriptorRequest other) {
if (other == cosmos.base.reflection.v2alpha1.Reflection.GetTxDescriptorRequest.getDefaultInstance()) return this;
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
cosmos.base.reflection.v2alpha1.Reflection.GetTxDescriptorRequest parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (cosmos.base.reflection.v2alpha1.Reflection.GetTxDescriptorRequest) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:cosmos.base.reflection.v2alpha1.GetTxDescriptorRequest)
}
// @@protoc_insertion_point(class_scope:cosmos.base.reflection.v2alpha1.GetTxDescriptorRequest)
private static final cosmos.base.reflection.v2alpha1.Reflection.GetTxDescriptorRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new cosmos.base.reflection.v2alpha1.Reflection.GetTxDescriptorRequest();
}
public static cosmos.base.reflection.v2alpha1.Reflection.GetTxDescriptorRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public GetTxDescriptorRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new GetTxDescriptorRequest(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public cosmos.base.reflection.v2alpha1.Reflection.GetTxDescriptorRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface GetTxDescriptorResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:cosmos.base.reflection.v2alpha1.GetTxDescriptorResponse)
com.google.protobuf.MessageOrBuilder {
/**
*
* tx provides information on msgs that can be forwarded to the application
* alongside the accepted transaction protobuf type
*
*
* .cosmos.base.reflection.v2alpha1.TxDescriptor tx = 1;
* @return Whether the tx field is set.
*/
boolean hasTx();
/**
*
* tx provides information on msgs that can be forwarded to the application
* alongside the accepted transaction protobuf type
*
*
* .cosmos.base.reflection.v2alpha1.TxDescriptor tx = 1;
* @return The tx.
*/
cosmos.base.reflection.v2alpha1.Reflection.TxDescriptor getTx();
/**
*
* tx provides information on msgs that can be forwarded to the application
* alongside the accepted transaction protobuf type
*
*
* .cosmos.base.reflection.v2alpha1.TxDescriptor tx = 1;
*/
cosmos.base.reflection.v2alpha1.Reflection.TxDescriptorOrBuilder getTxOrBuilder();
}
/**
*
* GetTxDescriptorResponse is the response returned by the GetTxDescriptor RPC
*
*
* Protobuf type {@code cosmos.base.reflection.v2alpha1.GetTxDescriptorResponse}
*/
public static final class GetTxDescriptorResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:cosmos.base.reflection.v2alpha1.GetTxDescriptorResponse)
GetTxDescriptorResponseOrBuilder {
private static final long serialVersionUID = 0L;
// Use GetTxDescriptorResponse.newBuilder() to construct.
private GetTxDescriptorResponse(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private GetTxDescriptorResponse() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new GetTxDescriptorResponse();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private GetTxDescriptorResponse(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
cosmos.base.reflection.v2alpha1.Reflection.TxDescriptor.Builder subBuilder = null;
if (tx_ != null) {
subBuilder = tx_.toBuilder();
}
tx_ = input.readMessage(cosmos.base.reflection.v2alpha1.Reflection.TxDescriptor.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(tx_);
tx_ = subBuilder.buildPartial();
}
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return cosmos.base.reflection.v2alpha1.Reflection.internal_static_cosmos_base_reflection_v2alpha1_GetTxDescriptorResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cosmos.base.reflection.v2alpha1.Reflection.internal_static_cosmos_base_reflection_v2alpha1_GetTxDescriptorResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cosmos.base.reflection.v2alpha1.Reflection.GetTxDescriptorResponse.class, cosmos.base.reflection.v2alpha1.Reflection.GetTxDescriptorResponse.Builder.class);
}
public static final int TX_FIELD_NUMBER = 1;
private cosmos.base.reflection.v2alpha1.Reflection.TxDescriptor tx_;
/**
*
* tx provides information on msgs that can be forwarded to the application
* alongside the accepted transaction protobuf type
*
*
* .cosmos.base.reflection.v2alpha1.TxDescriptor tx = 1;
* @return Whether the tx field is set.
*/
@java.lang.Override
public boolean hasTx() {
return tx_ != null;
}
/**
*
* tx provides information on msgs that can be forwarded to the application
* alongside the accepted transaction protobuf type
*
*
* .cosmos.base.reflection.v2alpha1.TxDescriptor tx = 1;
* @return The tx.
*/
@java.lang.Override
public cosmos.base.reflection.v2alpha1.Reflection.TxDescriptor getTx() {
return tx_ == null ? cosmos.base.reflection.v2alpha1.Reflection.TxDescriptor.getDefaultInstance() : tx_;
}
/**
*
* tx provides information on msgs that can be forwarded to the application
* alongside the accepted transaction protobuf type
*
*
* .cosmos.base.reflection.v2alpha1.TxDescriptor tx = 1;
*/
@java.lang.Override
public cosmos.base.reflection.v2alpha1.Reflection.TxDescriptorOrBuilder getTxOrBuilder() {
return getTx();
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (tx_ != null) {
output.writeMessage(1, getTx());
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (tx_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getTx());
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof cosmos.base.reflection.v2alpha1.Reflection.GetTxDescriptorResponse)) {
return super.equals(obj);
}
cosmos.base.reflection.v2alpha1.Reflection.GetTxDescriptorResponse other = (cosmos.base.reflection.v2alpha1.Reflection.GetTxDescriptorResponse) obj;
if (hasTx() != other.hasTx()) return false;
if (hasTx()) {
if (!getTx()
.equals(other.getTx())) return false;
}
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasTx()) {
hash = (37 * hash) + TX_FIELD_NUMBER;
hash = (53 * hash) + getTx().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static cosmos.base.reflection.v2alpha1.Reflection.GetTxDescriptorResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cosmos.base.reflection.v2alpha1.Reflection.GetTxDescriptorResponse parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cosmos.base.reflection.v2alpha1.Reflection.GetTxDescriptorResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cosmos.base.reflection.v2alpha1.Reflection.GetTxDescriptorResponse parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cosmos.base.reflection.v2alpha1.Reflection.GetTxDescriptorResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cosmos.base.reflection.v2alpha1.Reflection.GetTxDescriptorResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cosmos.base.reflection.v2alpha1.Reflection.GetTxDescriptorResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cosmos.base.reflection.v2alpha1.Reflection.GetTxDescriptorResponse parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static cosmos.base.reflection.v2alpha1.Reflection.GetTxDescriptorResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static cosmos.base.reflection.v2alpha1.Reflection.GetTxDescriptorResponse parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static cosmos.base.reflection.v2alpha1.Reflection.GetTxDescriptorResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cosmos.base.reflection.v2alpha1.Reflection.GetTxDescriptorResponse parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(cosmos.base.reflection.v2alpha1.Reflection.GetTxDescriptorResponse prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
*
* GetTxDescriptorResponse is the response returned by the GetTxDescriptor RPC
*
*
* Protobuf type {@code cosmos.base.reflection.v2alpha1.GetTxDescriptorResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:cosmos.base.reflection.v2alpha1.GetTxDescriptorResponse)
cosmos.base.reflection.v2alpha1.Reflection.GetTxDescriptorResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return cosmos.base.reflection.v2alpha1.Reflection.internal_static_cosmos_base_reflection_v2alpha1_GetTxDescriptorResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cosmos.base.reflection.v2alpha1.Reflection.internal_static_cosmos_base_reflection_v2alpha1_GetTxDescriptorResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cosmos.base.reflection.v2alpha1.Reflection.GetTxDescriptorResponse.class, cosmos.base.reflection.v2alpha1.Reflection.GetTxDescriptorResponse.Builder.class);
}
// Construct using cosmos.base.reflection.v2alpha1.Reflection.GetTxDescriptorResponse.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@java.lang.Override
public Builder clear() {
super.clear();
if (txBuilder_ == null) {
tx_ = null;
} else {
tx_ = null;
txBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return cosmos.base.reflection.v2alpha1.Reflection.internal_static_cosmos_base_reflection_v2alpha1_GetTxDescriptorResponse_descriptor;
}
@java.lang.Override
public cosmos.base.reflection.v2alpha1.Reflection.GetTxDescriptorResponse getDefaultInstanceForType() {
return cosmos.base.reflection.v2alpha1.Reflection.GetTxDescriptorResponse.getDefaultInstance();
}
@java.lang.Override
public cosmos.base.reflection.v2alpha1.Reflection.GetTxDescriptorResponse build() {
cosmos.base.reflection.v2alpha1.Reflection.GetTxDescriptorResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public cosmos.base.reflection.v2alpha1.Reflection.GetTxDescriptorResponse buildPartial() {
cosmos.base.reflection.v2alpha1.Reflection.GetTxDescriptorResponse result = new cosmos.base.reflection.v2alpha1.Reflection.GetTxDescriptorResponse(this);
if (txBuilder_ == null) {
result.tx_ = tx_;
} else {
result.tx_ = txBuilder_.build();
}
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof cosmos.base.reflection.v2alpha1.Reflection.GetTxDescriptorResponse) {
return mergeFrom((cosmos.base.reflection.v2alpha1.Reflection.GetTxDescriptorResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(cosmos.base.reflection.v2alpha1.Reflection.GetTxDescriptorResponse other) {
if (other == cosmos.base.reflection.v2alpha1.Reflection.GetTxDescriptorResponse.getDefaultInstance()) return this;
if (other.hasTx()) {
mergeTx(other.getTx());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
cosmos.base.reflection.v2alpha1.Reflection.GetTxDescriptorResponse parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (cosmos.base.reflection.v2alpha1.Reflection.GetTxDescriptorResponse) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private cosmos.base.reflection.v2alpha1.Reflection.TxDescriptor tx_;
private com.google.protobuf.SingleFieldBuilderV3<
cosmos.base.reflection.v2alpha1.Reflection.TxDescriptor, cosmos.base.reflection.v2alpha1.Reflection.TxDescriptor.Builder, cosmos.base.reflection.v2alpha1.Reflection.TxDescriptorOrBuilder> txBuilder_;
/**
*
* tx provides information on msgs that can be forwarded to the application
* alongside the accepted transaction protobuf type
*
*
* .cosmos.base.reflection.v2alpha1.TxDescriptor tx = 1;
* @return Whether the tx field is set.
*/
public boolean hasTx() {
return txBuilder_ != null || tx_ != null;
}
/**
*
* tx provides information on msgs that can be forwarded to the application
* alongside the accepted transaction protobuf type
*
*
* .cosmos.base.reflection.v2alpha1.TxDescriptor tx = 1;
* @return The tx.
*/
public cosmos.base.reflection.v2alpha1.Reflection.TxDescriptor getTx() {
if (txBuilder_ == null) {
return tx_ == null ? cosmos.base.reflection.v2alpha1.Reflection.TxDescriptor.getDefaultInstance() : tx_;
} else {
return txBuilder_.getMessage();
}
}
/**
*
* tx provides information on msgs that can be forwarded to the application
* alongside the accepted transaction protobuf type
*
*
* .cosmos.base.reflection.v2alpha1.TxDescriptor tx = 1;
*/
public Builder setTx(cosmos.base.reflection.v2alpha1.Reflection.TxDescriptor value) {
if (txBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
tx_ = value;
onChanged();
} else {
txBuilder_.setMessage(value);
}
return this;
}
/**
*
* tx provides information on msgs that can be forwarded to the application
* alongside the accepted transaction protobuf type
*
*
* .cosmos.base.reflection.v2alpha1.TxDescriptor tx = 1;
*/
public Builder setTx(
cosmos.base.reflection.v2alpha1.Reflection.TxDescriptor.Builder builderForValue) {
if (txBuilder_ == null) {
tx_ = builderForValue.build();
onChanged();
} else {
txBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* tx provides information on msgs that can be forwarded to the application
* alongside the accepted transaction protobuf type
*
*
* .cosmos.base.reflection.v2alpha1.TxDescriptor tx = 1;
*/
public Builder mergeTx(cosmos.base.reflection.v2alpha1.Reflection.TxDescriptor value) {
if (txBuilder_ == null) {
if (tx_ != null) {
tx_ =
cosmos.base.reflection.v2alpha1.Reflection.TxDescriptor.newBuilder(tx_).mergeFrom(value).buildPartial();
} else {
tx_ = value;
}
onChanged();
} else {
txBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* tx provides information on msgs that can be forwarded to the application
* alongside the accepted transaction protobuf type
*
*
* .cosmos.base.reflection.v2alpha1.TxDescriptor tx = 1;
*/
public Builder clearTx() {
if (txBuilder_ == null) {
tx_ = null;
onChanged();
} else {
tx_ = null;
txBuilder_ = null;
}
return this;
}
/**
*
* tx provides information on msgs that can be forwarded to the application
* alongside the accepted transaction protobuf type
*
*
* .cosmos.base.reflection.v2alpha1.TxDescriptor tx = 1;
*/
public cosmos.base.reflection.v2alpha1.Reflection.TxDescriptor.Builder getTxBuilder() {
onChanged();
return getTxFieldBuilder().getBuilder();
}
/**
*
* tx provides information on msgs that can be forwarded to the application
* alongside the accepted transaction protobuf type
*
*
* .cosmos.base.reflection.v2alpha1.TxDescriptor tx = 1;
*/
public cosmos.base.reflection.v2alpha1.Reflection.TxDescriptorOrBuilder getTxOrBuilder() {
if (txBuilder_ != null) {
return txBuilder_.getMessageOrBuilder();
} else {
return tx_ == null ?
cosmos.base.reflection.v2alpha1.Reflection.TxDescriptor.getDefaultInstance() : tx_;
}
}
/**
*
* tx provides information on msgs that can be forwarded to the application
* alongside the accepted transaction protobuf type
*
*
* .cosmos.base.reflection.v2alpha1.TxDescriptor tx = 1;
*/
private com.google.protobuf.SingleFieldBuilderV3<
cosmos.base.reflection.v2alpha1.Reflection.TxDescriptor, cosmos.base.reflection.v2alpha1.Reflection.TxDescriptor.Builder, cosmos.base.reflection.v2alpha1.Reflection.TxDescriptorOrBuilder>
getTxFieldBuilder() {
if (txBuilder_ == null) {
txBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
cosmos.base.reflection.v2alpha1.Reflection.TxDescriptor, cosmos.base.reflection.v2alpha1.Reflection.TxDescriptor.Builder, cosmos.base.reflection.v2alpha1.Reflection.TxDescriptorOrBuilder>(
getTx(),
getParentForChildren(),
isClean());
tx_ = null;
}
return txBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:cosmos.base.reflection.v2alpha1.GetTxDescriptorResponse)
}
// @@protoc_insertion_point(class_scope:cosmos.base.reflection.v2alpha1.GetTxDescriptorResponse)
private static final cosmos.base.reflection.v2alpha1.Reflection.GetTxDescriptorResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new cosmos.base.reflection.v2alpha1.Reflection.GetTxDescriptorResponse();
}
public static cosmos.base.reflection.v2alpha1.Reflection.GetTxDescriptorResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public GetTxDescriptorResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new GetTxDescriptorResponse(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public cosmos.base.reflection.v2alpha1.Reflection.GetTxDescriptorResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface QueryServicesDescriptorOrBuilder extends
// @@protoc_insertion_point(interface_extends:cosmos.base.reflection.v2alpha1.QueryServicesDescriptor)
com.google.protobuf.MessageOrBuilder {
/**
*
* query_services is a list of cosmos-sdk QueryServiceDescriptor
*
*
* repeated .cosmos.base.reflection.v2alpha1.QueryServiceDescriptor query_services = 1;
*/
java.util.List
getQueryServicesList();
/**
*
* query_services is a list of cosmos-sdk QueryServiceDescriptor
*
*
* repeated .cosmos.base.reflection.v2alpha1.QueryServiceDescriptor query_services = 1;
*/
cosmos.base.reflection.v2alpha1.Reflection.QueryServiceDescriptor getQueryServices(int index);
/**
*
* query_services is a list of cosmos-sdk QueryServiceDescriptor
*
*
* repeated .cosmos.base.reflection.v2alpha1.QueryServiceDescriptor query_services = 1;
*/
int getQueryServicesCount();
/**
*
* query_services is a list of cosmos-sdk QueryServiceDescriptor
*
*
* repeated .cosmos.base.reflection.v2alpha1.QueryServiceDescriptor query_services = 1;
*/
java.util.List extends cosmos.base.reflection.v2alpha1.Reflection.QueryServiceDescriptorOrBuilder>
getQueryServicesOrBuilderList();
/**
*
* query_services is a list of cosmos-sdk QueryServiceDescriptor
*
*
* repeated .cosmos.base.reflection.v2alpha1.QueryServiceDescriptor query_services = 1;
*/
cosmos.base.reflection.v2alpha1.Reflection.QueryServiceDescriptorOrBuilder getQueryServicesOrBuilder(
int index);
}
/**
*
* QueryServicesDescriptor contains the list of cosmos-sdk queriable services
*
*
* Protobuf type {@code cosmos.base.reflection.v2alpha1.QueryServicesDescriptor}
*/
public static final class QueryServicesDescriptor extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:cosmos.base.reflection.v2alpha1.QueryServicesDescriptor)
QueryServicesDescriptorOrBuilder {
private static final long serialVersionUID = 0L;
// Use QueryServicesDescriptor.newBuilder() to construct.
private QueryServicesDescriptor(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private QueryServicesDescriptor() {
queryServices_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new QueryServicesDescriptor();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private QueryServicesDescriptor(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
queryServices_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000001;
}
queryServices_.add(
input.readMessage(cosmos.base.reflection.v2alpha1.Reflection.QueryServiceDescriptor.parser(), extensionRegistry));
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000001) != 0)) {
queryServices_ = java.util.Collections.unmodifiableList(queryServices_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return cosmos.base.reflection.v2alpha1.Reflection.internal_static_cosmos_base_reflection_v2alpha1_QueryServicesDescriptor_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cosmos.base.reflection.v2alpha1.Reflection.internal_static_cosmos_base_reflection_v2alpha1_QueryServicesDescriptor_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cosmos.base.reflection.v2alpha1.Reflection.QueryServicesDescriptor.class, cosmos.base.reflection.v2alpha1.Reflection.QueryServicesDescriptor.Builder.class);
}
public static final int QUERY_SERVICES_FIELD_NUMBER = 1;
private java.util.List queryServices_;
/**
*
* query_services is a list of cosmos-sdk QueryServiceDescriptor
*
*
* repeated .cosmos.base.reflection.v2alpha1.QueryServiceDescriptor query_services = 1;
*/
@java.lang.Override
public java.util.List getQueryServicesList() {
return queryServices_;
}
/**
*
* query_services is a list of cosmos-sdk QueryServiceDescriptor
*
*
* repeated .cosmos.base.reflection.v2alpha1.QueryServiceDescriptor query_services = 1;
*/
@java.lang.Override
public java.util.List extends cosmos.base.reflection.v2alpha1.Reflection.QueryServiceDescriptorOrBuilder>
getQueryServicesOrBuilderList() {
return queryServices_;
}
/**
*
* query_services is a list of cosmos-sdk QueryServiceDescriptor
*
*
* repeated .cosmos.base.reflection.v2alpha1.QueryServiceDescriptor query_services = 1;
*/
@java.lang.Override
public int getQueryServicesCount() {
return queryServices_.size();
}
/**
*
* query_services is a list of cosmos-sdk QueryServiceDescriptor
*
*
* repeated .cosmos.base.reflection.v2alpha1.QueryServiceDescriptor query_services = 1;
*/
@java.lang.Override
public cosmos.base.reflection.v2alpha1.Reflection.QueryServiceDescriptor getQueryServices(int index) {
return queryServices_.get(index);
}
/**
*
* query_services is a list of cosmos-sdk QueryServiceDescriptor
*
*
* repeated .cosmos.base.reflection.v2alpha1.QueryServiceDescriptor query_services = 1;
*/
@java.lang.Override
public cosmos.base.reflection.v2alpha1.Reflection.QueryServiceDescriptorOrBuilder getQueryServicesOrBuilder(
int index) {
return queryServices_.get(index);
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
for (int i = 0; i < queryServices_.size(); i++) {
output.writeMessage(1, queryServices_.get(i));
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
for (int i = 0; i < queryServices_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, queryServices_.get(i));
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof cosmos.base.reflection.v2alpha1.Reflection.QueryServicesDescriptor)) {
return super.equals(obj);
}
cosmos.base.reflection.v2alpha1.Reflection.QueryServicesDescriptor other = (cosmos.base.reflection.v2alpha1.Reflection.QueryServicesDescriptor) obj;
if (!getQueryServicesList()
.equals(other.getQueryServicesList())) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (getQueryServicesCount() > 0) {
hash = (37 * hash) + QUERY_SERVICES_FIELD_NUMBER;
hash = (53 * hash) + getQueryServicesList().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static cosmos.base.reflection.v2alpha1.Reflection.QueryServicesDescriptor parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cosmos.base.reflection.v2alpha1.Reflection.QueryServicesDescriptor parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cosmos.base.reflection.v2alpha1.Reflection.QueryServicesDescriptor parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cosmos.base.reflection.v2alpha1.Reflection.QueryServicesDescriptor parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cosmos.base.reflection.v2alpha1.Reflection.QueryServicesDescriptor parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cosmos.base.reflection.v2alpha1.Reflection.QueryServicesDescriptor parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cosmos.base.reflection.v2alpha1.Reflection.QueryServicesDescriptor parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cosmos.base.reflection.v2alpha1.Reflection.QueryServicesDescriptor parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static cosmos.base.reflection.v2alpha1.Reflection.QueryServicesDescriptor parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static cosmos.base.reflection.v2alpha1.Reflection.QueryServicesDescriptor parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static cosmos.base.reflection.v2alpha1.Reflection.QueryServicesDescriptor parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cosmos.base.reflection.v2alpha1.Reflection.QueryServicesDescriptor parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(cosmos.base.reflection.v2alpha1.Reflection.QueryServicesDescriptor prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
*
* QueryServicesDescriptor contains the list of cosmos-sdk queriable services
*
*
* Protobuf type {@code cosmos.base.reflection.v2alpha1.QueryServicesDescriptor}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:cosmos.base.reflection.v2alpha1.QueryServicesDescriptor)
cosmos.base.reflection.v2alpha1.Reflection.QueryServicesDescriptorOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return cosmos.base.reflection.v2alpha1.Reflection.internal_static_cosmos_base_reflection_v2alpha1_QueryServicesDescriptor_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cosmos.base.reflection.v2alpha1.Reflection.internal_static_cosmos_base_reflection_v2alpha1_QueryServicesDescriptor_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cosmos.base.reflection.v2alpha1.Reflection.QueryServicesDescriptor.class, cosmos.base.reflection.v2alpha1.Reflection.QueryServicesDescriptor.Builder.class);
}
// Construct using cosmos.base.reflection.v2alpha1.Reflection.QueryServicesDescriptor.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getQueryServicesFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
if (queryServicesBuilder_ == null) {
queryServices_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
} else {
queryServicesBuilder_.clear();
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return cosmos.base.reflection.v2alpha1.Reflection.internal_static_cosmos_base_reflection_v2alpha1_QueryServicesDescriptor_descriptor;
}
@java.lang.Override
public cosmos.base.reflection.v2alpha1.Reflection.QueryServicesDescriptor getDefaultInstanceForType() {
return cosmos.base.reflection.v2alpha1.Reflection.QueryServicesDescriptor.getDefaultInstance();
}
@java.lang.Override
public cosmos.base.reflection.v2alpha1.Reflection.QueryServicesDescriptor build() {
cosmos.base.reflection.v2alpha1.Reflection.QueryServicesDescriptor result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public cosmos.base.reflection.v2alpha1.Reflection.QueryServicesDescriptor buildPartial() {
cosmos.base.reflection.v2alpha1.Reflection.QueryServicesDescriptor result = new cosmos.base.reflection.v2alpha1.Reflection.QueryServicesDescriptor(this);
int from_bitField0_ = bitField0_;
if (queryServicesBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
queryServices_ = java.util.Collections.unmodifiableList(queryServices_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.queryServices_ = queryServices_;
} else {
result.queryServices_ = queryServicesBuilder_.build();
}
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof cosmos.base.reflection.v2alpha1.Reflection.QueryServicesDescriptor) {
return mergeFrom((cosmos.base.reflection.v2alpha1.Reflection.QueryServicesDescriptor)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(cosmos.base.reflection.v2alpha1.Reflection.QueryServicesDescriptor other) {
if (other == cosmos.base.reflection.v2alpha1.Reflection.QueryServicesDescriptor.getDefaultInstance()) return this;
if (queryServicesBuilder_ == null) {
if (!other.queryServices_.isEmpty()) {
if (queryServices_.isEmpty()) {
queryServices_ = other.queryServices_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureQueryServicesIsMutable();
queryServices_.addAll(other.queryServices_);
}
onChanged();
}
} else {
if (!other.queryServices_.isEmpty()) {
if (queryServicesBuilder_.isEmpty()) {
queryServicesBuilder_.dispose();
queryServicesBuilder_ = null;
queryServices_ = other.queryServices_;
bitField0_ = (bitField0_ & ~0x00000001);
queryServicesBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getQueryServicesFieldBuilder() : null;
} else {
queryServicesBuilder_.addAllMessages(other.queryServices_);
}
}
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
cosmos.base.reflection.v2alpha1.Reflection.QueryServicesDescriptor parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (cosmos.base.reflection.v2alpha1.Reflection.QueryServicesDescriptor) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.util.List queryServices_ =
java.util.Collections.emptyList();
private void ensureQueryServicesIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
queryServices_ = new java.util.ArrayList(queryServices_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
cosmos.base.reflection.v2alpha1.Reflection.QueryServiceDescriptor, cosmos.base.reflection.v2alpha1.Reflection.QueryServiceDescriptor.Builder, cosmos.base.reflection.v2alpha1.Reflection.QueryServiceDescriptorOrBuilder> queryServicesBuilder_;
/**
*
* query_services is a list of cosmos-sdk QueryServiceDescriptor
*
*
* repeated .cosmos.base.reflection.v2alpha1.QueryServiceDescriptor query_services = 1;
*/
public java.util.List getQueryServicesList() {
if (queryServicesBuilder_ == null) {
return java.util.Collections.unmodifiableList(queryServices_);
} else {
return queryServicesBuilder_.getMessageList();
}
}
/**
*
* query_services is a list of cosmos-sdk QueryServiceDescriptor
*
*
* repeated .cosmos.base.reflection.v2alpha1.QueryServiceDescriptor query_services = 1;
*/
public int getQueryServicesCount() {
if (queryServicesBuilder_ == null) {
return queryServices_.size();
} else {
return queryServicesBuilder_.getCount();
}
}
/**
*
* query_services is a list of cosmos-sdk QueryServiceDescriptor
*
*
* repeated .cosmos.base.reflection.v2alpha1.QueryServiceDescriptor query_services = 1;
*/
public cosmos.base.reflection.v2alpha1.Reflection.QueryServiceDescriptor getQueryServices(int index) {
if (queryServicesBuilder_ == null) {
return queryServices_.get(index);
} else {
return queryServicesBuilder_.getMessage(index);
}
}
/**
*
* query_services is a list of cosmos-sdk QueryServiceDescriptor
*
*
* repeated .cosmos.base.reflection.v2alpha1.QueryServiceDescriptor query_services = 1;
*/
public Builder setQueryServices(
int index, cosmos.base.reflection.v2alpha1.Reflection.QueryServiceDescriptor value) {
if (queryServicesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureQueryServicesIsMutable();
queryServices_.set(index, value);
onChanged();
} else {
queryServicesBuilder_.setMessage(index, value);
}
return this;
}
/**
*
* query_services is a list of cosmos-sdk QueryServiceDescriptor
*
*
* repeated .cosmos.base.reflection.v2alpha1.QueryServiceDescriptor query_services = 1;
*/
public Builder setQueryServices(
int index, cosmos.base.reflection.v2alpha1.Reflection.QueryServiceDescriptor.Builder builderForValue) {
if (queryServicesBuilder_ == null) {
ensureQueryServicesIsMutable();
queryServices_.set(index, builderForValue.build());
onChanged();
} else {
queryServicesBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
*
* query_services is a list of cosmos-sdk QueryServiceDescriptor
*
*
* repeated .cosmos.base.reflection.v2alpha1.QueryServiceDescriptor query_services = 1;
*/
public Builder addQueryServices(cosmos.base.reflection.v2alpha1.Reflection.QueryServiceDescriptor value) {
if (queryServicesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureQueryServicesIsMutable();
queryServices_.add(value);
onChanged();
} else {
queryServicesBuilder_.addMessage(value);
}
return this;
}
/**
*
* query_services is a list of cosmos-sdk QueryServiceDescriptor
*
*
* repeated .cosmos.base.reflection.v2alpha1.QueryServiceDescriptor query_services = 1;
*/
public Builder addQueryServices(
int index, cosmos.base.reflection.v2alpha1.Reflection.QueryServiceDescriptor value) {
if (queryServicesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureQueryServicesIsMutable();
queryServices_.add(index, value);
onChanged();
} else {
queryServicesBuilder_.addMessage(index, value);
}
return this;
}
/**
*
* query_services is a list of cosmos-sdk QueryServiceDescriptor
*
*
* repeated .cosmos.base.reflection.v2alpha1.QueryServiceDescriptor query_services = 1;
*/
public Builder addQueryServices(
cosmos.base.reflection.v2alpha1.Reflection.QueryServiceDescriptor.Builder builderForValue) {
if (queryServicesBuilder_ == null) {
ensureQueryServicesIsMutable();
queryServices_.add(builderForValue.build());
onChanged();
} else {
queryServicesBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
*
* query_services is a list of cosmos-sdk QueryServiceDescriptor
*
*
* repeated .cosmos.base.reflection.v2alpha1.QueryServiceDescriptor query_services = 1;
*/
public Builder addQueryServices(
int index, cosmos.base.reflection.v2alpha1.Reflection.QueryServiceDescriptor.Builder builderForValue) {
if (queryServicesBuilder_ == null) {
ensureQueryServicesIsMutable();
queryServices_.add(index, builderForValue.build());
onChanged();
} else {
queryServicesBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
*
* query_services is a list of cosmos-sdk QueryServiceDescriptor
*
*
* repeated .cosmos.base.reflection.v2alpha1.QueryServiceDescriptor query_services = 1;
*/
public Builder addAllQueryServices(
java.lang.Iterable extends cosmos.base.reflection.v2alpha1.Reflection.QueryServiceDescriptor> values) {
if (queryServicesBuilder_ == null) {
ensureQueryServicesIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, queryServices_);
onChanged();
} else {
queryServicesBuilder_.addAllMessages(values);
}
return this;
}
/**
*
* query_services is a list of cosmos-sdk QueryServiceDescriptor
*
*
* repeated .cosmos.base.reflection.v2alpha1.QueryServiceDescriptor query_services = 1;
*/
public Builder clearQueryServices() {
if (queryServicesBuilder_ == null) {
queryServices_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
queryServicesBuilder_.clear();
}
return this;
}
/**
*
* query_services is a list of cosmos-sdk QueryServiceDescriptor
*
*
* repeated .cosmos.base.reflection.v2alpha1.QueryServiceDescriptor query_services = 1;
*/
public Builder removeQueryServices(int index) {
if (queryServicesBuilder_ == null) {
ensureQueryServicesIsMutable();
queryServices_.remove(index);
onChanged();
} else {
queryServicesBuilder_.remove(index);
}
return this;
}
/**
*
* query_services is a list of cosmos-sdk QueryServiceDescriptor
*
*
* repeated .cosmos.base.reflection.v2alpha1.QueryServiceDescriptor query_services = 1;
*/
public cosmos.base.reflection.v2alpha1.Reflection.QueryServiceDescriptor.Builder getQueryServicesBuilder(
int index) {
return getQueryServicesFieldBuilder().getBuilder(index);
}
/**
*
* query_services is a list of cosmos-sdk QueryServiceDescriptor
*
*
* repeated .cosmos.base.reflection.v2alpha1.QueryServiceDescriptor query_services = 1;
*/
public cosmos.base.reflection.v2alpha1.Reflection.QueryServiceDescriptorOrBuilder getQueryServicesOrBuilder(
int index) {
if (queryServicesBuilder_ == null) {
return queryServices_.get(index); } else {
return queryServicesBuilder_.getMessageOrBuilder(index);
}
}
/**
*
* query_services is a list of cosmos-sdk QueryServiceDescriptor
*
*
* repeated .cosmos.base.reflection.v2alpha1.QueryServiceDescriptor query_services = 1;
*/
public java.util.List extends cosmos.base.reflection.v2alpha1.Reflection.QueryServiceDescriptorOrBuilder>
getQueryServicesOrBuilderList() {
if (queryServicesBuilder_ != null) {
return queryServicesBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(queryServices_);
}
}
/**
*
* query_services is a list of cosmos-sdk QueryServiceDescriptor
*
*
* repeated .cosmos.base.reflection.v2alpha1.QueryServiceDescriptor query_services = 1;
*/
public cosmos.base.reflection.v2alpha1.Reflection.QueryServiceDescriptor.Builder addQueryServicesBuilder() {
return getQueryServicesFieldBuilder().addBuilder(
cosmos.base.reflection.v2alpha1.Reflection.QueryServiceDescriptor.getDefaultInstance());
}
/**
*
* query_services is a list of cosmos-sdk QueryServiceDescriptor
*
*
* repeated .cosmos.base.reflection.v2alpha1.QueryServiceDescriptor query_services = 1;
*/
public cosmos.base.reflection.v2alpha1.Reflection.QueryServiceDescriptor.Builder addQueryServicesBuilder(
int index) {
return getQueryServicesFieldBuilder().addBuilder(
index, cosmos.base.reflection.v2alpha1.Reflection.QueryServiceDescriptor.getDefaultInstance());
}
/**
*
* query_services is a list of cosmos-sdk QueryServiceDescriptor
*
*
* repeated .cosmos.base.reflection.v2alpha1.QueryServiceDescriptor query_services = 1;
*/
public java.util.List
getQueryServicesBuilderList() {
return getQueryServicesFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
cosmos.base.reflection.v2alpha1.Reflection.QueryServiceDescriptor, cosmos.base.reflection.v2alpha1.Reflection.QueryServiceDescriptor.Builder, cosmos.base.reflection.v2alpha1.Reflection.QueryServiceDescriptorOrBuilder>
getQueryServicesFieldBuilder() {
if (queryServicesBuilder_ == null) {
queryServicesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
cosmos.base.reflection.v2alpha1.Reflection.QueryServiceDescriptor, cosmos.base.reflection.v2alpha1.Reflection.QueryServiceDescriptor.Builder, cosmos.base.reflection.v2alpha1.Reflection.QueryServiceDescriptorOrBuilder>(
queryServices_,
((bitField0_ & 0x00000001) != 0),
getParentForChildren(),
isClean());
queryServices_ = null;
}
return queryServicesBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:cosmos.base.reflection.v2alpha1.QueryServicesDescriptor)
}
// @@protoc_insertion_point(class_scope:cosmos.base.reflection.v2alpha1.QueryServicesDescriptor)
private static final cosmos.base.reflection.v2alpha1.Reflection.QueryServicesDescriptor DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new cosmos.base.reflection.v2alpha1.Reflection.QueryServicesDescriptor();
}
public static cosmos.base.reflection.v2alpha1.Reflection.QueryServicesDescriptor getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public QueryServicesDescriptor parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new QueryServicesDescriptor(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public cosmos.base.reflection.v2alpha1.Reflection.QueryServicesDescriptor getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface QueryServiceDescriptorOrBuilder extends
// @@protoc_insertion_point(interface_extends:cosmos.base.reflection.v2alpha1.QueryServiceDescriptor)
com.google.protobuf.MessageOrBuilder {
/**
*
* fullname is the protobuf fullname of the service descriptor
*
*
* string fullname = 1;
* @return The fullname.
*/
java.lang.String getFullname();
/**
*
* fullname is the protobuf fullname of the service descriptor
*
*
* string fullname = 1;
* @return The bytes for fullname.
*/
com.google.protobuf.ByteString
getFullnameBytes();
/**
*
* is_module describes if this service is actually exposed by an application's module
*
*
* bool is_module = 2;
* @return The isModule.
*/
boolean getIsModule();
/**
*
* methods provides a list of query service methods
*
*
* repeated .cosmos.base.reflection.v2alpha1.QueryMethodDescriptor methods = 3;
*/
java.util.List
getMethodsList();
/**
*
* methods provides a list of query service methods
*
*
* repeated .cosmos.base.reflection.v2alpha1.QueryMethodDescriptor methods = 3;
*/
cosmos.base.reflection.v2alpha1.Reflection.QueryMethodDescriptor getMethods(int index);
/**
*
* methods provides a list of query service methods
*
*
* repeated .cosmos.base.reflection.v2alpha1.QueryMethodDescriptor methods = 3;
*/
int getMethodsCount();
/**
*
* methods provides a list of query service methods
*
*
* repeated .cosmos.base.reflection.v2alpha1.QueryMethodDescriptor methods = 3;
*/
java.util.List extends cosmos.base.reflection.v2alpha1.Reflection.QueryMethodDescriptorOrBuilder>
getMethodsOrBuilderList();
/**
*
* methods provides a list of query service methods
*
*
* repeated .cosmos.base.reflection.v2alpha1.QueryMethodDescriptor methods = 3;
*/
cosmos.base.reflection.v2alpha1.Reflection.QueryMethodDescriptorOrBuilder getMethodsOrBuilder(
int index);
}
/**
*
* QueryServiceDescriptor describes a cosmos-sdk queryable service
*
*
* Protobuf type {@code cosmos.base.reflection.v2alpha1.QueryServiceDescriptor}
*/
public static final class QueryServiceDescriptor extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:cosmos.base.reflection.v2alpha1.QueryServiceDescriptor)
QueryServiceDescriptorOrBuilder {
private static final long serialVersionUID = 0L;
// Use QueryServiceDescriptor.newBuilder() to construct.
private QueryServiceDescriptor(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private QueryServiceDescriptor() {
fullname_ = "";
methods_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new QueryServiceDescriptor();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private QueryServiceDescriptor(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
java.lang.String s = input.readStringRequireUtf8();
fullname_ = s;
break;
}
case 16: {
isModule_ = input.readBool();
break;
}
case 26: {
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
methods_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000001;
}
methods_.add(
input.readMessage(cosmos.base.reflection.v2alpha1.Reflection.QueryMethodDescriptor.parser(), extensionRegistry));
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000001) != 0)) {
methods_ = java.util.Collections.unmodifiableList(methods_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return cosmos.base.reflection.v2alpha1.Reflection.internal_static_cosmos_base_reflection_v2alpha1_QueryServiceDescriptor_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cosmos.base.reflection.v2alpha1.Reflection.internal_static_cosmos_base_reflection_v2alpha1_QueryServiceDescriptor_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cosmos.base.reflection.v2alpha1.Reflection.QueryServiceDescriptor.class, cosmos.base.reflection.v2alpha1.Reflection.QueryServiceDescriptor.Builder.class);
}
public static final int FULLNAME_FIELD_NUMBER = 1;
private volatile java.lang.Object fullname_;
/**
*
* fullname is the protobuf fullname of the service descriptor
*
*
* string fullname = 1;
* @return The fullname.
*/
@java.lang.Override
public java.lang.String getFullname() {
java.lang.Object ref = fullname_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
fullname_ = s;
return s;
}
}
/**
*
* fullname is the protobuf fullname of the service descriptor
*
*
* string fullname = 1;
* @return The bytes for fullname.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getFullnameBytes() {
java.lang.Object ref = fullname_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
fullname_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int IS_MODULE_FIELD_NUMBER = 2;
private boolean isModule_;
/**
*
* is_module describes if this service is actually exposed by an application's module
*
*
* bool is_module = 2;
* @return The isModule.
*/
@java.lang.Override
public boolean getIsModule() {
return isModule_;
}
public static final int METHODS_FIELD_NUMBER = 3;
private java.util.List methods_;
/**
*
* methods provides a list of query service methods
*
*
* repeated .cosmos.base.reflection.v2alpha1.QueryMethodDescriptor methods = 3;
*/
@java.lang.Override
public java.util.List getMethodsList() {
return methods_;
}
/**
*
* methods provides a list of query service methods
*
*
* repeated .cosmos.base.reflection.v2alpha1.QueryMethodDescriptor methods = 3;
*/
@java.lang.Override
public java.util.List extends cosmos.base.reflection.v2alpha1.Reflection.QueryMethodDescriptorOrBuilder>
getMethodsOrBuilderList() {
return methods_;
}
/**
*
* methods provides a list of query service methods
*
*
* repeated .cosmos.base.reflection.v2alpha1.QueryMethodDescriptor methods = 3;
*/
@java.lang.Override
public int getMethodsCount() {
return methods_.size();
}
/**
*
* methods provides a list of query service methods
*
*
* repeated .cosmos.base.reflection.v2alpha1.QueryMethodDescriptor methods = 3;
*/
@java.lang.Override
public cosmos.base.reflection.v2alpha1.Reflection.QueryMethodDescriptor getMethods(int index) {
return methods_.get(index);
}
/**
*
* methods provides a list of query service methods
*
*
* repeated .cosmos.base.reflection.v2alpha1.QueryMethodDescriptor methods = 3;
*/
@java.lang.Override
public cosmos.base.reflection.v2alpha1.Reflection.QueryMethodDescriptorOrBuilder getMethodsOrBuilder(
int index) {
return methods_.get(index);
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(fullname_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, fullname_);
}
if (isModule_ != false) {
output.writeBool(2, isModule_);
}
for (int i = 0; i < methods_.size(); i++) {
output.writeMessage(3, methods_.get(i));
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(fullname_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, fullname_);
}
if (isModule_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(2, isModule_);
}
for (int i = 0; i < methods_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, methods_.get(i));
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof cosmos.base.reflection.v2alpha1.Reflection.QueryServiceDescriptor)) {
return super.equals(obj);
}
cosmos.base.reflection.v2alpha1.Reflection.QueryServiceDescriptor other = (cosmos.base.reflection.v2alpha1.Reflection.QueryServiceDescriptor) obj;
if (!getFullname()
.equals(other.getFullname())) return false;
if (getIsModule()
!= other.getIsModule()) return false;
if (!getMethodsList()
.equals(other.getMethodsList())) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + FULLNAME_FIELD_NUMBER;
hash = (53 * hash) + getFullname().hashCode();
hash = (37 * hash) + IS_MODULE_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getIsModule());
if (getMethodsCount() > 0) {
hash = (37 * hash) + METHODS_FIELD_NUMBER;
hash = (53 * hash) + getMethodsList().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static cosmos.base.reflection.v2alpha1.Reflection.QueryServiceDescriptor parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cosmos.base.reflection.v2alpha1.Reflection.QueryServiceDescriptor parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cosmos.base.reflection.v2alpha1.Reflection.QueryServiceDescriptor parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cosmos.base.reflection.v2alpha1.Reflection.QueryServiceDescriptor parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cosmos.base.reflection.v2alpha1.Reflection.QueryServiceDescriptor parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cosmos.base.reflection.v2alpha1.Reflection.QueryServiceDescriptor parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cosmos.base.reflection.v2alpha1.Reflection.QueryServiceDescriptor parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cosmos.base.reflection.v2alpha1.Reflection.QueryServiceDescriptor parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static cosmos.base.reflection.v2alpha1.Reflection.QueryServiceDescriptor parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static cosmos.base.reflection.v2alpha1.Reflection.QueryServiceDescriptor parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static cosmos.base.reflection.v2alpha1.Reflection.QueryServiceDescriptor parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cosmos.base.reflection.v2alpha1.Reflection.QueryServiceDescriptor parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(cosmos.base.reflection.v2alpha1.Reflection.QueryServiceDescriptor prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
*
* QueryServiceDescriptor describes a cosmos-sdk queryable service
*
*
* Protobuf type {@code cosmos.base.reflection.v2alpha1.QueryServiceDescriptor}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:cosmos.base.reflection.v2alpha1.QueryServiceDescriptor)
cosmos.base.reflection.v2alpha1.Reflection.QueryServiceDescriptorOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return cosmos.base.reflection.v2alpha1.Reflection.internal_static_cosmos_base_reflection_v2alpha1_QueryServiceDescriptor_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cosmos.base.reflection.v2alpha1.Reflection.internal_static_cosmos_base_reflection_v2alpha1_QueryServiceDescriptor_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cosmos.base.reflection.v2alpha1.Reflection.QueryServiceDescriptor.class, cosmos.base.reflection.v2alpha1.Reflection.QueryServiceDescriptor.Builder.class);
}
// Construct using cosmos.base.reflection.v2alpha1.Reflection.QueryServiceDescriptor.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getMethodsFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
fullname_ = "";
isModule_ = false;
if (methodsBuilder_ == null) {
methods_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
} else {
methodsBuilder_.clear();
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return cosmos.base.reflection.v2alpha1.Reflection.internal_static_cosmos_base_reflection_v2alpha1_QueryServiceDescriptor_descriptor;
}
@java.lang.Override
public cosmos.base.reflection.v2alpha1.Reflection.QueryServiceDescriptor getDefaultInstanceForType() {
return cosmos.base.reflection.v2alpha1.Reflection.QueryServiceDescriptor.getDefaultInstance();
}
@java.lang.Override
public cosmos.base.reflection.v2alpha1.Reflection.QueryServiceDescriptor build() {
cosmos.base.reflection.v2alpha1.Reflection.QueryServiceDescriptor result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public cosmos.base.reflection.v2alpha1.Reflection.QueryServiceDescriptor buildPartial() {
cosmos.base.reflection.v2alpha1.Reflection.QueryServiceDescriptor result = new cosmos.base.reflection.v2alpha1.Reflection.QueryServiceDescriptor(this);
int from_bitField0_ = bitField0_;
result.fullname_ = fullname_;
result.isModule_ = isModule_;
if (methodsBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
methods_ = java.util.Collections.unmodifiableList(methods_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.methods_ = methods_;
} else {
result.methods_ = methodsBuilder_.build();
}
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof cosmos.base.reflection.v2alpha1.Reflection.QueryServiceDescriptor) {
return mergeFrom((cosmos.base.reflection.v2alpha1.Reflection.QueryServiceDescriptor)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(cosmos.base.reflection.v2alpha1.Reflection.QueryServiceDescriptor other) {
if (other == cosmos.base.reflection.v2alpha1.Reflection.QueryServiceDescriptor.getDefaultInstance()) return this;
if (!other.getFullname().isEmpty()) {
fullname_ = other.fullname_;
onChanged();
}
if (other.getIsModule() != false) {
setIsModule(other.getIsModule());
}
if (methodsBuilder_ == null) {
if (!other.methods_.isEmpty()) {
if (methods_.isEmpty()) {
methods_ = other.methods_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureMethodsIsMutable();
methods_.addAll(other.methods_);
}
onChanged();
}
} else {
if (!other.methods_.isEmpty()) {
if (methodsBuilder_.isEmpty()) {
methodsBuilder_.dispose();
methodsBuilder_ = null;
methods_ = other.methods_;
bitField0_ = (bitField0_ & ~0x00000001);
methodsBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getMethodsFieldBuilder() : null;
} else {
methodsBuilder_.addAllMessages(other.methods_);
}
}
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
cosmos.base.reflection.v2alpha1.Reflection.QueryServiceDescriptor parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (cosmos.base.reflection.v2alpha1.Reflection.QueryServiceDescriptor) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.lang.Object fullname_ = "";
/**
*
* fullname is the protobuf fullname of the service descriptor
*
*
* string fullname = 1;
* @return The fullname.
*/
public java.lang.String getFullname() {
java.lang.Object ref = fullname_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
fullname_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* fullname is the protobuf fullname of the service descriptor
*
*
* string fullname = 1;
* @return The bytes for fullname.
*/
public com.google.protobuf.ByteString
getFullnameBytes() {
java.lang.Object ref = fullname_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
fullname_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* fullname is the protobuf fullname of the service descriptor
*
*
* string fullname = 1;
* @param value The fullname to set.
* @return This builder for chaining.
*/
public Builder setFullname(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
fullname_ = value;
onChanged();
return this;
}
/**
*
* fullname is the protobuf fullname of the service descriptor
*
*
* string fullname = 1;
* @return This builder for chaining.
*/
public Builder clearFullname() {
fullname_ = getDefaultInstance().getFullname();
onChanged();
return this;
}
/**
*
* fullname is the protobuf fullname of the service descriptor
*
*
* string fullname = 1;
* @param value The bytes for fullname to set.
* @return This builder for chaining.
*/
public Builder setFullnameBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
fullname_ = value;
onChanged();
return this;
}
private boolean isModule_ ;
/**
*
* is_module describes if this service is actually exposed by an application's module
*
*
* bool is_module = 2;
* @return The isModule.
*/
@java.lang.Override
public boolean getIsModule() {
return isModule_;
}
/**
*
* is_module describes if this service is actually exposed by an application's module
*
*
* bool is_module = 2;
* @param value The isModule to set.
* @return This builder for chaining.
*/
public Builder setIsModule(boolean value) {
isModule_ = value;
onChanged();
return this;
}
/**
*
* is_module describes if this service is actually exposed by an application's module
*
*
* bool is_module = 2;
* @return This builder for chaining.
*/
public Builder clearIsModule() {
isModule_ = false;
onChanged();
return this;
}
private java.util.List methods_ =
java.util.Collections.emptyList();
private void ensureMethodsIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
methods_ = new java.util.ArrayList(methods_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
cosmos.base.reflection.v2alpha1.Reflection.QueryMethodDescriptor, cosmos.base.reflection.v2alpha1.Reflection.QueryMethodDescriptor.Builder, cosmos.base.reflection.v2alpha1.Reflection.QueryMethodDescriptorOrBuilder> methodsBuilder_;
/**
*
* methods provides a list of query service methods
*
*
* repeated .cosmos.base.reflection.v2alpha1.QueryMethodDescriptor methods = 3;
*/
public java.util.List getMethodsList() {
if (methodsBuilder_ == null) {
return java.util.Collections.unmodifiableList(methods_);
} else {
return methodsBuilder_.getMessageList();
}
}
/**
*
* methods provides a list of query service methods
*
*
* repeated .cosmos.base.reflection.v2alpha1.QueryMethodDescriptor methods = 3;
*/
public int getMethodsCount() {
if (methodsBuilder_ == null) {
return methods_.size();
} else {
return methodsBuilder_.getCount();
}
}
/**
*
* methods provides a list of query service methods
*
*
* repeated .cosmos.base.reflection.v2alpha1.QueryMethodDescriptor methods = 3;
*/
public cosmos.base.reflection.v2alpha1.Reflection.QueryMethodDescriptor getMethods(int index) {
if (methodsBuilder_ == null) {
return methods_.get(index);
} else {
return methodsBuilder_.getMessage(index);
}
}
/**
*
* methods provides a list of query service methods
*
*
* repeated .cosmos.base.reflection.v2alpha1.QueryMethodDescriptor methods = 3;
*/
public Builder setMethods(
int index, cosmos.base.reflection.v2alpha1.Reflection.QueryMethodDescriptor value) {
if (methodsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureMethodsIsMutable();
methods_.set(index, value);
onChanged();
} else {
methodsBuilder_.setMessage(index, value);
}
return this;
}
/**
*
* methods provides a list of query service methods
*
*
* repeated .cosmos.base.reflection.v2alpha1.QueryMethodDescriptor methods = 3;
*/
public Builder setMethods(
int index, cosmos.base.reflection.v2alpha1.Reflection.QueryMethodDescriptor.Builder builderForValue) {
if (methodsBuilder_ == null) {
ensureMethodsIsMutable();
methods_.set(index, builderForValue.build());
onChanged();
} else {
methodsBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
*
* methods provides a list of query service methods
*
*
* repeated .cosmos.base.reflection.v2alpha1.QueryMethodDescriptor methods = 3;
*/
public Builder addMethods(cosmos.base.reflection.v2alpha1.Reflection.QueryMethodDescriptor value) {
if (methodsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureMethodsIsMutable();
methods_.add(value);
onChanged();
} else {
methodsBuilder_.addMessage(value);
}
return this;
}
/**
*
* methods provides a list of query service methods
*
*
* repeated .cosmos.base.reflection.v2alpha1.QueryMethodDescriptor methods = 3;
*/
public Builder addMethods(
int index, cosmos.base.reflection.v2alpha1.Reflection.QueryMethodDescriptor value) {
if (methodsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureMethodsIsMutable();
methods_.add(index, value);
onChanged();
} else {
methodsBuilder_.addMessage(index, value);
}
return this;
}
/**
*
* methods provides a list of query service methods
*
*
* repeated .cosmos.base.reflection.v2alpha1.QueryMethodDescriptor methods = 3;
*/
public Builder addMethods(
cosmos.base.reflection.v2alpha1.Reflection.QueryMethodDescriptor.Builder builderForValue) {
if (methodsBuilder_ == null) {
ensureMethodsIsMutable();
methods_.add(builderForValue.build());
onChanged();
} else {
methodsBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
*
* methods provides a list of query service methods
*
*
* repeated .cosmos.base.reflection.v2alpha1.QueryMethodDescriptor methods = 3;
*/
public Builder addMethods(
int index, cosmos.base.reflection.v2alpha1.Reflection.QueryMethodDescriptor.Builder builderForValue) {
if (methodsBuilder_ == null) {
ensureMethodsIsMutable();
methods_.add(index, builderForValue.build());
onChanged();
} else {
methodsBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
*
* methods provides a list of query service methods
*
*
* repeated .cosmos.base.reflection.v2alpha1.QueryMethodDescriptor methods = 3;
*/
public Builder addAllMethods(
java.lang.Iterable extends cosmos.base.reflection.v2alpha1.Reflection.QueryMethodDescriptor> values) {
if (methodsBuilder_ == null) {
ensureMethodsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, methods_);
onChanged();
} else {
methodsBuilder_.addAllMessages(values);
}
return this;
}
/**
*
* methods provides a list of query service methods
*
*
* repeated .cosmos.base.reflection.v2alpha1.QueryMethodDescriptor methods = 3;
*/
public Builder clearMethods() {
if (methodsBuilder_ == null) {
methods_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
methodsBuilder_.clear();
}
return this;
}
/**
*
* methods provides a list of query service methods
*
*
* repeated .cosmos.base.reflection.v2alpha1.QueryMethodDescriptor methods = 3;
*/
public Builder removeMethods(int index) {
if (methodsBuilder_ == null) {
ensureMethodsIsMutable();
methods_.remove(index);
onChanged();
} else {
methodsBuilder_.remove(index);
}
return this;
}
/**
*
* methods provides a list of query service methods
*
*
* repeated .cosmos.base.reflection.v2alpha1.QueryMethodDescriptor methods = 3;
*/
public cosmos.base.reflection.v2alpha1.Reflection.QueryMethodDescriptor.Builder getMethodsBuilder(
int index) {
return getMethodsFieldBuilder().getBuilder(index);
}
/**
*
* methods provides a list of query service methods
*
*
* repeated .cosmos.base.reflection.v2alpha1.QueryMethodDescriptor methods = 3;
*/
public cosmos.base.reflection.v2alpha1.Reflection.QueryMethodDescriptorOrBuilder getMethodsOrBuilder(
int index) {
if (methodsBuilder_ == null) {
return methods_.get(index); } else {
return methodsBuilder_.getMessageOrBuilder(index);
}
}
/**
*
* methods provides a list of query service methods
*
*
* repeated .cosmos.base.reflection.v2alpha1.QueryMethodDescriptor methods = 3;
*/
public java.util.List extends cosmos.base.reflection.v2alpha1.Reflection.QueryMethodDescriptorOrBuilder>
getMethodsOrBuilderList() {
if (methodsBuilder_ != null) {
return methodsBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(methods_);
}
}
/**
*
* methods provides a list of query service methods
*
*
* repeated .cosmos.base.reflection.v2alpha1.QueryMethodDescriptor methods = 3;
*/
public cosmos.base.reflection.v2alpha1.Reflection.QueryMethodDescriptor.Builder addMethodsBuilder() {
return getMethodsFieldBuilder().addBuilder(
cosmos.base.reflection.v2alpha1.Reflection.QueryMethodDescriptor.getDefaultInstance());
}
/**
*
* methods provides a list of query service methods
*
*
* repeated .cosmos.base.reflection.v2alpha1.QueryMethodDescriptor methods = 3;
*/
public cosmos.base.reflection.v2alpha1.Reflection.QueryMethodDescriptor.Builder addMethodsBuilder(
int index) {
return getMethodsFieldBuilder().addBuilder(
index, cosmos.base.reflection.v2alpha1.Reflection.QueryMethodDescriptor.getDefaultInstance());
}
/**
*
* methods provides a list of query service methods
*
*
* repeated .cosmos.base.reflection.v2alpha1.QueryMethodDescriptor methods = 3;
*/
public java.util.List
getMethodsBuilderList() {
return getMethodsFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
cosmos.base.reflection.v2alpha1.Reflection.QueryMethodDescriptor, cosmos.base.reflection.v2alpha1.Reflection.QueryMethodDescriptor.Builder, cosmos.base.reflection.v2alpha1.Reflection.QueryMethodDescriptorOrBuilder>
getMethodsFieldBuilder() {
if (methodsBuilder_ == null) {
methodsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
cosmos.base.reflection.v2alpha1.Reflection.QueryMethodDescriptor, cosmos.base.reflection.v2alpha1.Reflection.QueryMethodDescriptor.Builder, cosmos.base.reflection.v2alpha1.Reflection.QueryMethodDescriptorOrBuilder>(
methods_,
((bitField0_ & 0x00000001) != 0),
getParentForChildren(),
isClean());
methods_ = null;
}
return methodsBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:cosmos.base.reflection.v2alpha1.QueryServiceDescriptor)
}
// @@protoc_insertion_point(class_scope:cosmos.base.reflection.v2alpha1.QueryServiceDescriptor)
private static final cosmos.base.reflection.v2alpha1.Reflection.QueryServiceDescriptor DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new cosmos.base.reflection.v2alpha1.Reflection.QueryServiceDescriptor();
}
public static cosmos.base.reflection.v2alpha1.Reflection.QueryServiceDescriptor getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public QueryServiceDescriptor parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new QueryServiceDescriptor(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public cosmos.base.reflection.v2alpha1.Reflection.QueryServiceDescriptor getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface QueryMethodDescriptorOrBuilder extends
// @@protoc_insertion_point(interface_extends:cosmos.base.reflection.v2alpha1.QueryMethodDescriptor)
com.google.protobuf.MessageOrBuilder {
/**
*
* name is the protobuf name (not fullname) of the method
*
*
* string name = 1;
* @return The name.
*/
java.lang.String getName();
/**
*
* name is the protobuf name (not fullname) of the method
*
*
* string name = 1;
* @return The bytes for name.
*/
com.google.protobuf.ByteString
getNameBytes();
/**
*
* full_query_path is the path that can be used to query
* this method via tendermint abci.Query
*
*
* string full_query_path = 2;
* @return The fullQueryPath.
*/
java.lang.String getFullQueryPath();
/**
*
* full_query_path is the path that can be used to query
* this method via tendermint abci.Query
*
*
* string full_query_path = 2;
* @return The bytes for fullQueryPath.
*/
com.google.protobuf.ByteString
getFullQueryPathBytes();
}
/**
*
* QueryMethodDescriptor describes a queryable method of a query service
* no other info is provided beside method name and tendermint queryable path
* because it would be redundant with the grpc reflection service
*
*
* Protobuf type {@code cosmos.base.reflection.v2alpha1.QueryMethodDescriptor}
*/
public static final class QueryMethodDescriptor extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:cosmos.base.reflection.v2alpha1.QueryMethodDescriptor)
QueryMethodDescriptorOrBuilder {
private static final long serialVersionUID = 0L;
// Use QueryMethodDescriptor.newBuilder() to construct.
private QueryMethodDescriptor(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private QueryMethodDescriptor() {
name_ = "";
fullQueryPath_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new QueryMethodDescriptor();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private QueryMethodDescriptor(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
java.lang.String s = input.readStringRequireUtf8();
name_ = s;
break;
}
case 18: {
java.lang.String s = input.readStringRequireUtf8();
fullQueryPath_ = s;
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return cosmos.base.reflection.v2alpha1.Reflection.internal_static_cosmos_base_reflection_v2alpha1_QueryMethodDescriptor_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cosmos.base.reflection.v2alpha1.Reflection.internal_static_cosmos_base_reflection_v2alpha1_QueryMethodDescriptor_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cosmos.base.reflection.v2alpha1.Reflection.QueryMethodDescriptor.class, cosmos.base.reflection.v2alpha1.Reflection.QueryMethodDescriptor.Builder.class);
}
public static final int NAME_FIELD_NUMBER = 1;
private volatile java.lang.Object name_;
/**
*
* name is the protobuf name (not fullname) of the method
*
*
* string name = 1;
* @return The name.
*/
@java.lang.Override
public java.lang.String getName() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
name_ = s;
return s;
}
}
/**
*
* name is the protobuf name (not fullname) of the method
*
*
* string name = 1;
* @return The bytes for name.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
name_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int FULL_QUERY_PATH_FIELD_NUMBER = 2;
private volatile java.lang.Object fullQueryPath_;
/**
*
* full_query_path is the path that can be used to query
* this method via tendermint abci.Query
*
*
* string full_query_path = 2;
* @return The fullQueryPath.
*/
@java.lang.Override
public java.lang.String getFullQueryPath() {
java.lang.Object ref = fullQueryPath_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
fullQueryPath_ = s;
return s;
}
}
/**
*
* full_query_path is the path that can be used to query
* this method via tendermint abci.Query
*
*
* string full_query_path = 2;
* @return The bytes for fullQueryPath.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getFullQueryPathBytes() {
java.lang.Object ref = fullQueryPath_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
fullQueryPath_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(fullQueryPath_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, fullQueryPath_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(fullQueryPath_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, fullQueryPath_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof cosmos.base.reflection.v2alpha1.Reflection.QueryMethodDescriptor)) {
return super.equals(obj);
}
cosmos.base.reflection.v2alpha1.Reflection.QueryMethodDescriptor other = (cosmos.base.reflection.v2alpha1.Reflection.QueryMethodDescriptor) obj;
if (!getName()
.equals(other.getName())) return false;
if (!getFullQueryPath()
.equals(other.getFullQueryPath())) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + NAME_FIELD_NUMBER;
hash = (53 * hash) + getName().hashCode();
hash = (37 * hash) + FULL_QUERY_PATH_FIELD_NUMBER;
hash = (53 * hash) + getFullQueryPath().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static cosmos.base.reflection.v2alpha1.Reflection.QueryMethodDescriptor parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cosmos.base.reflection.v2alpha1.Reflection.QueryMethodDescriptor parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cosmos.base.reflection.v2alpha1.Reflection.QueryMethodDescriptor parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cosmos.base.reflection.v2alpha1.Reflection.QueryMethodDescriptor parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cosmos.base.reflection.v2alpha1.Reflection.QueryMethodDescriptor parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cosmos.base.reflection.v2alpha1.Reflection.QueryMethodDescriptor parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cosmos.base.reflection.v2alpha1.Reflection.QueryMethodDescriptor parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cosmos.base.reflection.v2alpha1.Reflection.QueryMethodDescriptor parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static cosmos.base.reflection.v2alpha1.Reflection.QueryMethodDescriptor parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static cosmos.base.reflection.v2alpha1.Reflection.QueryMethodDescriptor parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static cosmos.base.reflection.v2alpha1.Reflection.QueryMethodDescriptor parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cosmos.base.reflection.v2alpha1.Reflection.QueryMethodDescriptor parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(cosmos.base.reflection.v2alpha1.Reflection.QueryMethodDescriptor prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
*
* QueryMethodDescriptor describes a queryable method of a query service
* no other info is provided beside method name and tendermint queryable path
* because it would be redundant with the grpc reflection service
*
*
* Protobuf type {@code cosmos.base.reflection.v2alpha1.QueryMethodDescriptor}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:cosmos.base.reflection.v2alpha1.QueryMethodDescriptor)
cosmos.base.reflection.v2alpha1.Reflection.QueryMethodDescriptorOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return cosmos.base.reflection.v2alpha1.Reflection.internal_static_cosmos_base_reflection_v2alpha1_QueryMethodDescriptor_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cosmos.base.reflection.v2alpha1.Reflection.internal_static_cosmos_base_reflection_v2alpha1_QueryMethodDescriptor_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cosmos.base.reflection.v2alpha1.Reflection.QueryMethodDescriptor.class, cosmos.base.reflection.v2alpha1.Reflection.QueryMethodDescriptor.Builder.class);
}
// Construct using cosmos.base.reflection.v2alpha1.Reflection.QueryMethodDescriptor.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@java.lang.Override
public Builder clear() {
super.clear();
name_ = "";
fullQueryPath_ = "";
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return cosmos.base.reflection.v2alpha1.Reflection.internal_static_cosmos_base_reflection_v2alpha1_QueryMethodDescriptor_descriptor;
}
@java.lang.Override
public cosmos.base.reflection.v2alpha1.Reflection.QueryMethodDescriptor getDefaultInstanceForType() {
return cosmos.base.reflection.v2alpha1.Reflection.QueryMethodDescriptor.getDefaultInstance();
}
@java.lang.Override
public cosmos.base.reflection.v2alpha1.Reflection.QueryMethodDescriptor build() {
cosmos.base.reflection.v2alpha1.Reflection.QueryMethodDescriptor result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public cosmos.base.reflection.v2alpha1.Reflection.QueryMethodDescriptor buildPartial() {
cosmos.base.reflection.v2alpha1.Reflection.QueryMethodDescriptor result = new cosmos.base.reflection.v2alpha1.Reflection.QueryMethodDescriptor(this);
result.name_ = name_;
result.fullQueryPath_ = fullQueryPath_;
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof cosmos.base.reflection.v2alpha1.Reflection.QueryMethodDescriptor) {
return mergeFrom((cosmos.base.reflection.v2alpha1.Reflection.QueryMethodDescriptor)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(cosmos.base.reflection.v2alpha1.Reflection.QueryMethodDescriptor other) {
if (other == cosmos.base.reflection.v2alpha1.Reflection.QueryMethodDescriptor.getDefaultInstance()) return this;
if (!other.getName().isEmpty()) {
name_ = other.name_;
onChanged();
}
if (!other.getFullQueryPath().isEmpty()) {
fullQueryPath_ = other.fullQueryPath_;
onChanged();
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
cosmos.base.reflection.v2alpha1.Reflection.QueryMethodDescriptor parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (cosmos.base.reflection.v2alpha1.Reflection.QueryMethodDescriptor) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private java.lang.Object name_ = "";
/**
*
* name is the protobuf name (not fullname) of the method
*
*
* string name = 1;
* @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
name_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* name is the protobuf name (not fullname) of the method
*
*
* string name = 1;
* @return The bytes for name.
*/
public com.google.protobuf.ByteString
getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
name_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* name is the protobuf name (not fullname) of the method
*
*
* string name = 1;
* @param value The name to set.
* @return This builder for chaining.
*/
public Builder setName(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
name_ = value;
onChanged();
return this;
}
/**
*
* name is the protobuf name (not fullname) of the method
*
*
* string name = 1;
* @return This builder for chaining.
*/
public Builder clearName() {
name_ = getDefaultInstance().getName();
onChanged();
return this;
}
/**
*
* name is the protobuf name (not fullname) of the method
*
*
* string name = 1;
* @param value The bytes for name to set.
* @return This builder for chaining.
*/
public Builder setNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
name_ = value;
onChanged();
return this;
}
private java.lang.Object fullQueryPath_ = "";
/**
*
* full_query_path is the path that can be used to query
* this method via tendermint abci.Query
*
*
* string full_query_path = 2;
* @return The fullQueryPath.
*/
public java.lang.String getFullQueryPath() {
java.lang.Object ref = fullQueryPath_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
fullQueryPath_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* full_query_path is the path that can be used to query
* this method via tendermint abci.Query
*
*
* string full_query_path = 2;
* @return The bytes for fullQueryPath.
*/
public com.google.protobuf.ByteString
getFullQueryPathBytes() {
java.lang.Object ref = fullQueryPath_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
fullQueryPath_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* full_query_path is the path that can be used to query
* this method via tendermint abci.Query
*
*
* string full_query_path = 2;
* @param value The fullQueryPath to set.
* @return This builder for chaining.
*/
public Builder setFullQueryPath(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
fullQueryPath_ = value;
onChanged();
return this;
}
/**
*
* full_query_path is the path that can be used to query
* this method via tendermint abci.Query
*
*
* string full_query_path = 2;
* @return This builder for chaining.
*/
public Builder clearFullQueryPath() {
fullQueryPath_ = getDefaultInstance().getFullQueryPath();
onChanged();
return this;
}
/**
*
* full_query_path is the path that can be used to query
* this method via tendermint abci.Query
*
*
* string full_query_path = 2;
* @param value The bytes for fullQueryPath to set.
* @return This builder for chaining.
*/
public Builder setFullQueryPathBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
fullQueryPath_ = value;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:cosmos.base.reflection.v2alpha1.QueryMethodDescriptor)
}
// @@protoc_insertion_point(class_scope:cosmos.base.reflection.v2alpha1.QueryMethodDescriptor)
private static final cosmos.base.reflection.v2alpha1.Reflection.QueryMethodDescriptor DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new cosmos.base.reflection.v2alpha1.Reflection.QueryMethodDescriptor();
}
public static cosmos.base.reflection.v2alpha1.Reflection.QueryMethodDescriptor getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public QueryMethodDescriptor parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new QueryMethodDescriptor(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public cosmos.base.reflection.v2alpha1.Reflection.QueryMethodDescriptor getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_cosmos_base_reflection_v2alpha1_AppDescriptor_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_cosmos_base_reflection_v2alpha1_AppDescriptor_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_cosmos_base_reflection_v2alpha1_TxDescriptor_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_cosmos_base_reflection_v2alpha1_TxDescriptor_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_cosmos_base_reflection_v2alpha1_AuthnDescriptor_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_cosmos_base_reflection_v2alpha1_AuthnDescriptor_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_cosmos_base_reflection_v2alpha1_SigningModeDescriptor_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_cosmos_base_reflection_v2alpha1_SigningModeDescriptor_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_cosmos_base_reflection_v2alpha1_ChainDescriptor_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_cosmos_base_reflection_v2alpha1_ChainDescriptor_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_cosmos_base_reflection_v2alpha1_CodecDescriptor_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_cosmos_base_reflection_v2alpha1_CodecDescriptor_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_cosmos_base_reflection_v2alpha1_InterfaceDescriptor_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_cosmos_base_reflection_v2alpha1_InterfaceDescriptor_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_cosmos_base_reflection_v2alpha1_InterfaceImplementerDescriptor_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_cosmos_base_reflection_v2alpha1_InterfaceImplementerDescriptor_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_cosmos_base_reflection_v2alpha1_InterfaceAcceptingMessageDescriptor_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_cosmos_base_reflection_v2alpha1_InterfaceAcceptingMessageDescriptor_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_cosmos_base_reflection_v2alpha1_ConfigurationDescriptor_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_cosmos_base_reflection_v2alpha1_ConfigurationDescriptor_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_cosmos_base_reflection_v2alpha1_MsgDescriptor_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_cosmos_base_reflection_v2alpha1_MsgDescriptor_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_cosmos_base_reflection_v2alpha1_GetAuthnDescriptorRequest_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_cosmos_base_reflection_v2alpha1_GetAuthnDescriptorRequest_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_cosmos_base_reflection_v2alpha1_GetAuthnDescriptorResponse_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_cosmos_base_reflection_v2alpha1_GetAuthnDescriptorResponse_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_cosmos_base_reflection_v2alpha1_GetChainDescriptorRequest_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_cosmos_base_reflection_v2alpha1_GetChainDescriptorRequest_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_cosmos_base_reflection_v2alpha1_GetChainDescriptorResponse_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_cosmos_base_reflection_v2alpha1_GetChainDescriptorResponse_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_cosmos_base_reflection_v2alpha1_GetCodecDescriptorRequest_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_cosmos_base_reflection_v2alpha1_GetCodecDescriptorRequest_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_cosmos_base_reflection_v2alpha1_GetCodecDescriptorResponse_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_cosmos_base_reflection_v2alpha1_GetCodecDescriptorResponse_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_cosmos_base_reflection_v2alpha1_GetConfigurationDescriptorRequest_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_cosmos_base_reflection_v2alpha1_GetConfigurationDescriptorRequest_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_cosmos_base_reflection_v2alpha1_GetConfigurationDescriptorResponse_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_cosmos_base_reflection_v2alpha1_GetConfigurationDescriptorResponse_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_cosmos_base_reflection_v2alpha1_GetQueryServicesDescriptorRequest_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_cosmos_base_reflection_v2alpha1_GetQueryServicesDescriptorRequest_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_cosmos_base_reflection_v2alpha1_GetQueryServicesDescriptorResponse_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_cosmos_base_reflection_v2alpha1_GetQueryServicesDescriptorResponse_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_cosmos_base_reflection_v2alpha1_GetTxDescriptorRequest_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_cosmos_base_reflection_v2alpha1_GetTxDescriptorRequest_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_cosmos_base_reflection_v2alpha1_GetTxDescriptorResponse_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_cosmos_base_reflection_v2alpha1_GetTxDescriptorResponse_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_cosmos_base_reflection_v2alpha1_QueryServicesDescriptor_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_cosmos_base_reflection_v2alpha1_QueryServicesDescriptor_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_cosmos_base_reflection_v2alpha1_QueryServiceDescriptor_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_cosmos_base_reflection_v2alpha1_QueryServiceDescriptor_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_cosmos_base_reflection_v2alpha1_QueryMethodDescriptor_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_cosmos_base_reflection_v2alpha1_QueryMethodDescriptor_fieldAccessorTable;
public static com.google.protobuf.Descriptors.FileDescriptor
getDescriptor() {
return descriptor;
}
private static com.google.protobuf.Descriptors.FileDescriptor
descriptor;
static {
java.lang.String[] descriptorData = {
"\n0cosmos/base/reflection/v2alpha1/reflec" +
"tion.proto\022\037cosmos.base.reflection.v2alp" +
"ha1\032\034google/api/annotations.proto\"\260\003\n\rAp" +
"pDescriptor\022?\n\005authn\030\001 \001(\01320.cosmos.base" +
".reflection.v2alpha1.AuthnDescriptor\022?\n\005" +
"chain\030\002 \001(\01320.cosmos.base.reflection.v2a" +
"lpha1.ChainDescriptor\022?\n\005codec\030\003 \001(\01320.c" +
"osmos.base.reflection.v2alpha1.CodecDesc" +
"riptor\022O\n\rconfiguration\030\004 \001(\01328.cosmos.b" +
"ase.reflection.v2alpha1.ConfigurationDes" +
"criptor\022P\n\016query_services\030\005 \001(\01328.cosmos" +
".base.reflection.v2alpha1.QueryServicesD" +
"escriptor\0229\n\002tx\030\006 \001(\0132-.cosmos.base.refl" +
"ection.v2alpha1.TxDescriptor\"^\n\014TxDescri" +
"ptor\022\020\n\010fullname\030\001 \001(\t\022<\n\004msgs\030\002 \003(\0132..c" +
"osmos.base.reflection.v2alpha1.MsgDescri" +
"ptor\"]\n\017AuthnDescriptor\022J\n\nsign_modes\030\001 " +
"\003(\01326.cosmos.base.reflection.v2alpha1.Si" +
"gningModeDescriptor\"b\n\025SigningModeDescri" +
"ptor\022\014\n\004name\030\001 \001(\t\022\016\n\006number\030\002 \001(\005\022+\n#au" +
"thn_info_provider_method_fullname\030\003 \001(\t\"" +
"\035\n\017ChainDescriptor\022\n\n\002id\030\001 \001(\t\"[\n\017CodecD" +
"escriptor\022H\n\ninterfaces\030\001 \003(\01324.cosmos.b" +
"ase.reflection.v2alpha1.InterfaceDescrip" +
"tor\"\364\001\n\023InterfaceDescriptor\022\020\n\010fullname\030" +
"\001 \001(\t\022j\n\034interface_accepting_messages\030\002 " +
"\003(\0132D.cosmos.base.reflection.v2alpha1.In" +
"terfaceAcceptingMessageDescriptor\022_\n\026int" +
"erface_implementers\030\003 \003(\0132?.cosmos.base." +
"reflection.v2alpha1.InterfaceImplementer" +
"Descriptor\"D\n\036InterfaceImplementerDescri" +
"ptor\022\020\n\010fullname\030\001 \001(\t\022\020\n\010type_url\030\002 \001(\t" +
"\"W\n#InterfaceAcceptingMessageDescriptor\022" +
"\020\n\010fullname\030\001 \001(\t\022\036\n\026field_descriptor_na" +
"mes\030\002 \003(\t\"@\n\027ConfigurationDescriptor\022%\n\035" +
"bech32_account_address_prefix\030\001 \001(\t\"%\n\rM" +
"sgDescriptor\022\024\n\014msg_type_url\030\001 \001(\t\"\033\n\031Ge" +
"tAuthnDescriptorRequest\"]\n\032GetAuthnDescr" +
"iptorResponse\022?\n\005authn\030\001 \001(\01320.cosmos.ba" +
"se.reflection.v2alpha1.AuthnDescriptor\"\033" +
"\n\031GetChainDescriptorRequest\"]\n\032GetChainD" +
"escriptorResponse\022?\n\005chain\030\001 \001(\01320.cosmo" +
"s.base.reflection.v2alpha1.ChainDescript" +
"or\"\033\n\031GetCodecDescriptorRequest\"]\n\032GetCo" +
"decDescriptorResponse\022?\n\005codec\030\001 \001(\01320.c" +
"osmos.base.reflection.v2alpha1.CodecDesc" +
"riptor\"#\n!GetConfigurationDescriptorRequ" +
"est\"n\n\"GetConfigurationDescriptorRespons" +
"e\022H\n\006config\030\001 \001(\01328.cosmos.base.reflecti" +
"on.v2alpha1.ConfigurationDescriptor\"#\n!G" +
"etQueryServicesDescriptorRequest\"o\n\"GetQ" +
"ueryServicesDescriptorResponse\022I\n\007querie" +
"s\030\001 \001(\01328.cosmos.base.reflection.v2alpha" +
"1.QueryServicesDescriptor\"\030\n\026GetTxDescri" +
"ptorRequest\"T\n\027GetTxDescriptorResponse\0229" +
"\n\002tx\030\001 \001(\0132-.cosmos.base.reflection.v2al" +
"pha1.TxDescriptor\"j\n\027QueryServicesDescri" +
"ptor\022O\n\016query_services\030\001 \003(\01327.cosmos.ba" +
"se.reflection.v2alpha1.QueryServiceDescr" +
"iptor\"\206\001\n\026QueryServiceDescriptor\022\020\n\010full" +
"name\030\001 \001(\t\022\021\n\tis_module\030\002 \001(\010\022G\n\007methods" +
"\030\003 \003(\01326.cosmos.base.reflection.v2alpha1" +
".QueryMethodDescriptor\">\n\025QueryMethodDes" +
"criptor\022\014\n\004name\030\001 \001(\t\022\027\n\017full_query_path" +
"\030\002 \001(\t2\247\n\n\021ReflectionService\022\313\001\n\022GetAuth" +
"nDescriptor\022:.cosmos.base.reflection.v2a" +
"lpha1.GetAuthnDescriptorRequest\032;.cosmos" +
".base.reflection.v2alpha1.GetAuthnDescri" +
"ptorResponse\"<\202\323\344\223\0026\0224/cosmos/base/refle" +
"ction/v1beta1/app_descriptor/authn\022\313\001\n\022G" +
"etChainDescriptor\022:.cosmos.base.reflecti" +
"on.v2alpha1.GetChainDescriptorRequest\032;." +
"cosmos.base.reflection.v2alpha1.GetChain" +
"DescriptorResponse\"<\202\323\344\223\0026\0224/cosmos/base" +
"/reflection/v1beta1/app_descriptor/chain" +
"\022\313\001\n\022GetCodecDescriptor\022:.cosmos.base.re" +
"flection.v2alpha1.GetCodecDescriptorRequ" +
"est\032;.cosmos.base.reflection.v2alpha1.Ge" +
"tCodecDescriptorResponse\"<\202\323\344\223\0026\0224/cosmo" +
"s/base/reflection/v1beta1/app_descriptor" +
"/codec\022\353\001\n\032GetConfigurationDescriptor\022B." +
"cosmos.base.reflection.v2alpha1.GetConfi" +
"gurationDescriptorRequest\032C.cosmos.base." +
"reflection.v2alpha1.GetConfigurationDesc" +
"riptorResponse\"D\202\323\344\223\002>\022\022Z
© 2015 - 2025 Weber Informatics LLC | Privacy Policy