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

com.alachisoft.ncache.common.protobuf.GetRunningServersResponseProtocol Maven / Gradle / Ivy

// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: GetRunningServersResponse.proto

package com.alachisoft.ncache.common.protobuf;

public final class GetRunningServersResponseProtocol {
    private static com.google.protobuf.Descriptors.Descriptor
            internal_static_com_alachisoft_ncache_common_protobuf_GetRunningServersResponse_descriptor;
    private static
    com.google.protobuf.GeneratedMessage.FieldAccessorTable
            internal_static_com_alachisoft_ncache_common_protobuf_GetRunningServersResponse_fieldAccessorTable;
    private static com.google.protobuf.Descriptors.FileDescriptor
            descriptor;

    static {
        java.lang.String[] descriptorData = {
                "\n\037GetRunningServersResponse.proto\022%com.a" +
                        "lachisoft.ncache.common.protobuf\032\022KeyVal" +
                        "uePair.proto\"f\n\031GetRunningServersRespons" +
                        "e\022I\n\014keyValuePair\030\001 \003(\01323.com.alachisoft" +
                        ".ncache.common.protobuf.KeyValuePairB#B!" +
                        "GetRunningServersResponseProtocol"
        };
        com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
                new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() {
                    public com.google.protobuf.ExtensionRegistry assignDescriptors(
                            com.google.protobuf.Descriptors.FileDescriptor root) {
                        descriptor = root;
                        internal_static_com_alachisoft_ncache_common_protobuf_GetRunningServersResponse_descriptor =
                                getDescriptor().getMessageTypes().get(0);
                        internal_static_com_alachisoft_ncache_common_protobuf_GetRunningServersResponse_fieldAccessorTable = new
                                com.google.protobuf.GeneratedMessage.FieldAccessorTable(
                                internal_static_com_alachisoft_ncache_common_protobuf_GetRunningServersResponse_descriptor,
                                new java.lang.String[]{"KeyValuePair",},
                                com.alachisoft.ncache.common.protobuf.GetRunningServersResponseProtocol.GetRunningServersResponse.class,
                                com.alachisoft.ncache.common.protobuf.GetRunningServersResponseProtocol.GetRunningServersResponse.Builder.class);
                        return null;
                    }
                };
        com.google.protobuf.Descriptors.FileDescriptor
                .internalBuildGeneratedFileFrom(descriptorData,
                        new com.google.protobuf.Descriptors.FileDescriptor[]{
                                com.alachisoft.ncache.common.protobuf.KeyValuePairProtocol.getDescriptor(),
                        }, assigner);
    }
    private GetRunningServersResponseProtocol() {
    }

    public static void registerAllExtensions(
            com.google.protobuf.ExtensionRegistry registry) {
    }

    public static com.google.protobuf.Descriptors.FileDescriptor
    getDescriptor() {
        return descriptor;
    }

    public static void internalForceInit() {
    }

    public static final class GetRunningServersResponse extends
            com.google.protobuf.GeneratedMessage {
        // repeated .com.alachisoft.ncache.common.protobuf.KeyValuePair keyValuePair = 1;
        public static final int KEYVALUEPAIR_FIELD_NUMBER = 1;
        private static final GetRunningServersResponse defaultInstance;

        static {
            defaultInstance = new GetRunningServersResponse(true);
            com.alachisoft.ncache.common.protobuf.GetRunningServersResponseProtocol.internalForceInit();
            defaultInstance.initFields();
        }

        private java.util.List keyValuePair_ =
                java.util.Collections.emptyList();
        private int memoizedSerializedSize = -1;

        // Use GetRunningServersResponse.newBuilder() to construct.
        private GetRunningServersResponse() {
            initFields();
        }

        private GetRunningServersResponse(boolean noInit) {
        }

        public static GetRunningServersResponse getDefaultInstance() {
            return defaultInstance;
        }

        public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
            return com.alachisoft.ncache.common.protobuf.GetRunningServersResponseProtocol.internal_static_com_alachisoft_ncache_common_protobuf_GetRunningServersResponse_descriptor;
        }

        public static com.alachisoft.ncache.common.protobuf.GetRunningServersResponseProtocol.GetRunningServersResponse parseFrom(
                com.google.protobuf.ByteString data)
                throws com.google.protobuf.InvalidProtocolBufferException {
            return newBuilder().mergeFrom(data).buildParsed();
        }

        public static com.alachisoft.ncache.common.protobuf.GetRunningServersResponseProtocol.GetRunningServersResponse parseFrom(
                com.google.protobuf.ByteString data,
                com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                throws com.google.protobuf.InvalidProtocolBufferException {
            return newBuilder().mergeFrom(data, extensionRegistry)
                    .buildParsed();
        }

        public static com.alachisoft.ncache.common.protobuf.GetRunningServersResponseProtocol.GetRunningServersResponse parseFrom(byte[] data)
                throws com.google.protobuf.InvalidProtocolBufferException {
            return newBuilder().mergeFrom(data).buildParsed();
        }

        public static com.alachisoft.ncache.common.protobuf.GetRunningServersResponseProtocol.GetRunningServersResponse parseFrom(
                byte[] data,
                com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                throws com.google.protobuf.InvalidProtocolBufferException {
            return newBuilder().mergeFrom(data, extensionRegistry)
                    .buildParsed();
        }

        public static com.alachisoft.ncache.common.protobuf.GetRunningServersResponseProtocol.GetRunningServersResponse parseFrom(java.io.InputStream input)
                throws java.io.IOException {
            return newBuilder().mergeFrom(input).buildParsed();
        }

        public static com.alachisoft.ncache.common.protobuf.GetRunningServersResponseProtocol.GetRunningServersResponse parseFrom(
                java.io.InputStream input,
                com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                throws java.io.IOException {
            return newBuilder().mergeFrom(input, extensionRegistry)
                    .buildParsed();
        }

        public static com.alachisoft.ncache.common.protobuf.GetRunningServersResponseProtocol.GetRunningServersResponse parseDelimitedFrom(java.io.InputStream input)
                throws java.io.IOException {
            Builder builder = newBuilder();
            if (builder.mergeDelimitedFrom(input)) {
                return builder.buildParsed();
            } else {
                return null;
            }
        }

        public static com.alachisoft.ncache.common.protobuf.GetRunningServersResponseProtocol.GetRunningServersResponse parseDelimitedFrom(
                java.io.InputStream input,
                com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                throws java.io.IOException {
            Builder builder = newBuilder();
            if (builder.mergeDelimitedFrom(input, extensionRegistry)) {
                return builder.buildParsed();
            } else {
                return null;
            }
        }

        public static com.alachisoft.ncache.common.protobuf.GetRunningServersResponseProtocol.GetRunningServersResponse parseFrom(
                com.google.protobuf.CodedInputStream input)
                throws java.io.IOException {
            return newBuilder().mergeFrom(input).buildParsed();
        }

        public static com.alachisoft.ncache.common.protobuf.GetRunningServersResponseProtocol.GetRunningServersResponse parseFrom(
                com.google.protobuf.CodedInputStream input,
                com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                throws java.io.IOException {
            return newBuilder().mergeFrom(input, extensionRegistry)
                    .buildParsed();
        }

        public static Builder newBuilder() {
            return Builder.create();
        }

        public static Builder newBuilder(com.alachisoft.ncache.common.protobuf.GetRunningServersResponseProtocol.GetRunningServersResponse prototype) {
            return newBuilder().mergeFrom(prototype);
        }

        public GetRunningServersResponse getDefaultInstanceForType() {
            return defaultInstance;
        }

        protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
        internalGetFieldAccessorTable() {
            return com.alachisoft.ncache.common.protobuf.GetRunningServersResponseProtocol.internal_static_com_alachisoft_ncache_common_protobuf_GetRunningServersResponse_fieldAccessorTable;
        }

        public java.util.List getKeyValuePairList() {
            return keyValuePair_;
        }

        public int getKeyValuePairCount() {
            return keyValuePair_.size();
        }

        public com.alachisoft.ncache.common.protobuf.KeyValuePairProtocol.KeyValuePair getKeyValuePair(int index) {
            return keyValuePair_.get(index);
        }

        private void initFields() {
        }

        public final boolean isInitialized() {
            return true;
        }

        public void writeTo(com.google.protobuf.CodedOutputStream output)
                throws java.io.IOException {
            getSerializedSize();
            for (com.alachisoft.ncache.common.protobuf.KeyValuePairProtocol.KeyValuePair element : getKeyValuePairList()) {
                output.writeMessage(1, element);
            }
            getUnknownFields().writeTo(output);
        }

        public int getSerializedSize() {
            int size = memoizedSerializedSize;
            if (size != -1) return size;

            size = 0;
            for (com.alachisoft.ncache.common.protobuf.KeyValuePairProtocol.KeyValuePair element : getKeyValuePairList()) {
                size += com.google.protobuf.CodedOutputStream
                        .computeMessageSize(1, element);
            }
            size += getUnknownFields().getSerializedSize();
            memoizedSerializedSize = size;
            return size;
        }

        public Builder newBuilderForType() {
            return newBuilder();
        }

        public Builder toBuilder() {
            return newBuilder(this);
        }

        public static final class Builder extends
                com.google.protobuf.GeneratedMessage.Builder {
            private com.alachisoft.ncache.common.protobuf.GetRunningServersResponseProtocol.GetRunningServersResponse result;

            // Construct using com.alachisoft.ncache.common.protobuf.GetRunningServersResponseProtocol.GetRunningServersResponse.newBuilder()
            private Builder() {
            }

            private static Builder create() {
                Builder builder = new Builder();
                builder.result = new com.alachisoft.ncache.common.protobuf.GetRunningServersResponseProtocol.GetRunningServersResponse();
                return builder;
            }

            protected com.alachisoft.ncache.common.protobuf.GetRunningServersResponseProtocol.GetRunningServersResponse internalGetResult() {
                return result;
            }

            public Builder clear() {
                if (result == null) {
                    throw new IllegalStateException(
                            "Cannot call clear() after build().");
                }
                result = new com.alachisoft.ncache.common.protobuf.GetRunningServersResponseProtocol.GetRunningServersResponse();
                return this;
            }

            public Builder clone() {
                return create().mergeFrom(result);
            }

            public com.google.protobuf.Descriptors.Descriptor
            getDescriptorForType() {
                return com.alachisoft.ncache.common.protobuf.GetRunningServersResponseProtocol.GetRunningServersResponse.getDescriptor();
            }

            public com.alachisoft.ncache.common.protobuf.GetRunningServersResponseProtocol.GetRunningServersResponse getDefaultInstanceForType() {
                return com.alachisoft.ncache.common.protobuf.GetRunningServersResponseProtocol.GetRunningServersResponse.getDefaultInstance();
            }

            public boolean isInitialized() {
                return result.isInitialized();
            }

            public com.alachisoft.ncache.common.protobuf.GetRunningServersResponseProtocol.GetRunningServersResponse build() {
                if (result != null && !isInitialized()) {
                    throw newUninitializedMessageException(result);
                }
                return buildPartial();
            }

            private com.alachisoft.ncache.common.protobuf.GetRunningServersResponseProtocol.GetRunningServersResponse buildParsed()
                    throws com.google.protobuf.InvalidProtocolBufferException {
                if (!isInitialized()) {
                    throw newUninitializedMessageException(
                            result).asInvalidProtocolBufferException();
                }
                return buildPartial();
            }

            public com.alachisoft.ncache.common.protobuf.GetRunningServersResponseProtocol.GetRunningServersResponse buildPartial() {
                if (result == null) {
                    throw new IllegalStateException(
                            "build() has already been called on this Builder.");
                }
                if (result.keyValuePair_ != java.util.Collections.EMPTY_LIST) {
                    result.keyValuePair_ =
                            java.util.Collections.unmodifiableList(result.keyValuePair_);
                }
                com.alachisoft.ncache.common.protobuf.GetRunningServersResponseProtocol.GetRunningServersResponse returnMe = result;
                result = null;
                return returnMe;
            }

            public Builder mergeFrom(com.google.protobuf.Message other) {
                if (other instanceof com.alachisoft.ncache.common.protobuf.GetRunningServersResponseProtocol.GetRunningServersResponse) {
                    return mergeFrom((com.alachisoft.ncache.common.protobuf.GetRunningServersResponseProtocol.GetRunningServersResponse) other);
                } else {
                    super.mergeFrom(other);
                    return this;
                }
            }

            public Builder mergeFrom(com.alachisoft.ncache.common.protobuf.GetRunningServersResponseProtocol.GetRunningServersResponse other) {
                if (other == com.alachisoft.ncache.common.protobuf.GetRunningServersResponseProtocol.GetRunningServersResponse.getDefaultInstance())
                    return this;
                if (!other.keyValuePair_.isEmpty()) {
                    if (result.keyValuePair_.isEmpty()) {
                        result.keyValuePair_ = new java.util.ArrayList();
                    }
                    result.keyValuePair_.addAll(other.keyValuePair_);
                }
                this.mergeUnknownFields(other.getUnknownFields());
                return this;
            }

            public Builder mergeFrom(
                    com.google.protobuf.CodedInputStream input,
                    com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                    throws java.io.IOException {
                com.google.protobuf.UnknownFieldSet.Builder unknownFields =
                        com.google.protobuf.UnknownFieldSet.newBuilder(
                                this.getUnknownFields());
                while (true) {
                    int tag = input.readTag();
                    switch (tag) {
                        case 0:
                            this.setUnknownFields(unknownFields.build());
                            return this;
                        default: {
                            if (!parseUnknownField(input, unknownFields,
                                    extensionRegistry, tag)) {
                                this.setUnknownFields(unknownFields.build());
                                return this;
                            }
                            break;
                        }
                        case 10: {
                            com.alachisoft.ncache.common.protobuf.KeyValuePairProtocol.KeyValuePair.Builder subBuilder = com.alachisoft.ncache.common.protobuf.KeyValuePairProtocol.KeyValuePair.newBuilder();
                            input.readMessage(subBuilder, extensionRegistry);
                            addKeyValuePair(subBuilder.buildPartial());
                            break;
                        }
                    }
                }
            }


            // repeated .com.alachisoft.ncache.common.protobuf.KeyValuePair keyValuePair = 1;
            public java.util.List getKeyValuePairList() {
                return java.util.Collections.unmodifiableList(result.keyValuePair_);
            }

            public int getKeyValuePairCount() {
                return result.getKeyValuePairCount();
            }

            public com.alachisoft.ncache.common.protobuf.KeyValuePairProtocol.KeyValuePair getKeyValuePair(int index) {
                return result.getKeyValuePair(index);
            }

            public Builder setKeyValuePair(int index, com.alachisoft.ncache.common.protobuf.KeyValuePairProtocol.KeyValuePair value) {
                if (value == null) {
                    throw new NullPointerException();
                }
                result.keyValuePair_.set(index, value);
                return this;
            }

            public Builder setKeyValuePair(int index, com.alachisoft.ncache.common.protobuf.KeyValuePairProtocol.KeyValuePair.Builder builderForValue) {
                result.keyValuePair_.set(index, builderForValue.build());
                return this;
            }

            public Builder addKeyValuePair(com.alachisoft.ncache.common.protobuf.KeyValuePairProtocol.KeyValuePair value) {
                if (value == null) {
                    throw new NullPointerException();
                }
                if (result.keyValuePair_.isEmpty()) {
                    result.keyValuePair_ = new java.util.ArrayList();
                }
                result.keyValuePair_.add(value);
                return this;
            }

            public Builder addKeyValuePair(com.alachisoft.ncache.common.protobuf.KeyValuePairProtocol.KeyValuePair.Builder builderForValue) {
                if (result.keyValuePair_.isEmpty()) {
                    result.keyValuePair_ = new java.util.ArrayList();
                }
                result.keyValuePair_.add(builderForValue.build());
                return this;
            }

            public Builder addAllKeyValuePair(
                    java.lang.Iterable values) {
                if (result.keyValuePair_.isEmpty()) {
                    result.keyValuePair_ = new java.util.ArrayList();
                }
                super.addAll(values, result.keyValuePair_);
                return this;
            }

            public Builder clearKeyValuePair() {
                result.keyValuePair_ = java.util.Collections.emptyList();
                return this;
            }

            // @@protoc_insertion_point(builder_scope:com.alachisoft.ncache.common.protobuf.GetRunningServersResponse)
        }

        // @@protoc_insertion_point(class_scope:com.alachisoft.ncache.common.protobuf.GetRunningServersResponse)
    }

    // @@protoc_insertion_point(outer_class_scope)
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy