1104 lines
42 KiB
Java
1104 lines
42 KiB
Java
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
|||
|
// source: site/api_site_config.proto
|
|||
|
|
|||
|
package com.akaxin.proto.site;
|
|||
|
|
|||
|
public final class ApiSiteConfigProto {
|
|||
|
private ApiSiteConfigProto() {}
|
|||
|
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 ApiSiteConfigRequestOrBuilder extends
|
|||
|
// @@protoc_insertion_point(interface_extends:site.ApiSiteConfigRequest)
|
|||
|
com.google.protobuf.MessageOrBuilder {
|
|||
|
}
|
|||
|
/**
|
|||
|
* Protobuf type {@code site.ApiSiteConfigRequest}
|
|||
|
*/
|
|||
|
public static final class ApiSiteConfigRequest extends
|
|||
|
com.google.protobuf.GeneratedMessageV3 implements
|
|||
|
// @@protoc_insertion_point(message_implements:site.ApiSiteConfigRequest)
|
|||
|
ApiSiteConfigRequestOrBuilder {
|
|||
|
private static final long serialVersionUID = 0L;
|
|||
|
// Use ApiSiteConfigRequest.newBuilder() to construct.
|
|||
|
private ApiSiteConfigRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
|
|||
|
super(builder);
|
|||
|
}
|
|||
|
private ApiSiteConfigRequest() {
|
|||
|
}
|
|||
|
|
|||
|
@java.lang.Override
|
|||
|
public final com.google.protobuf.UnknownFieldSet
|
|||
|
getUnknownFields() {
|
|||
|
return this.unknownFields;
|
|||
|
}
|
|||
|
private ApiSiteConfigRequest(
|
|||
|
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 (!parseUnknownFieldProto3(
|
|||
|
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 com.akaxin.proto.site.ApiSiteConfigProto.internal_static_site_ApiSiteConfigRequest_descriptor;
|
|||
|
}
|
|||
|
|
|||
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
|||
|
internalGetFieldAccessorTable() {
|
|||
|
return com.akaxin.proto.site.ApiSiteConfigProto.internal_static_site_ApiSiteConfigRequest_fieldAccessorTable
|
|||
|
.ensureFieldAccessorsInitialized(
|
|||
|
com.akaxin.proto.site.ApiSiteConfigProto.ApiSiteConfigRequest.class, com.akaxin.proto.site.ApiSiteConfigProto.ApiSiteConfigRequest.Builder.class);
|
|||
|
}
|
|||
|
|
|||
|
private byte memoizedIsInitialized = -1;
|
|||
|
public final boolean isInitialized() {
|
|||
|
byte isInitialized = memoizedIsInitialized;
|
|||
|
if (isInitialized == 1) return true;
|
|||
|
if (isInitialized == 0) return false;
|
|||
|
|
|||
|
memoizedIsInitialized = 1;
|
|||
|
return true;
|
|||
|
}
|
|||
|
|
|||
|
public void writeTo(com.google.protobuf.CodedOutputStream output)
|
|||
|
throws java.io.IOException {
|
|||
|
unknownFields.writeTo(output);
|
|||
|
}
|
|||
|
|
|||
|
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 com.akaxin.proto.site.ApiSiteConfigProto.ApiSiteConfigRequest)) {
|
|||
|
return super.equals(obj);
|
|||
|
}
|
|||
|
com.akaxin.proto.site.ApiSiteConfigProto.ApiSiteConfigRequest other = (com.akaxin.proto.site.ApiSiteConfigProto.ApiSiteConfigRequest) obj;
|
|||
|
|
|||
|
boolean result = true;
|
|||
|
result = result && unknownFields.equals(other.unknownFields);
|
|||
|
return result;
|
|||
|
}
|
|||
|
|
|||
|
@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 com.akaxin.proto.site.ApiSiteConfigProto.ApiSiteConfigRequest parseFrom(
|
|||
|
java.nio.ByteBuffer data)
|
|||
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|||
|
return PARSER.parseFrom(data);
|
|||
|
}
|
|||
|
public static com.akaxin.proto.site.ApiSiteConfigProto.ApiSiteConfigRequest parseFrom(
|
|||
|
java.nio.ByteBuffer data,
|
|||
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|||
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|||
|
return PARSER.parseFrom(data, extensionRegistry);
|
|||
|
}
|
|||
|
public static com.akaxin.proto.site.ApiSiteConfigProto.ApiSiteConfigRequest parseFrom(
|
|||
|
com.google.protobuf.ByteString data)
|
|||
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|||
|
return PARSER.parseFrom(data);
|
|||
|
}
|
|||
|
public static com.akaxin.proto.site.ApiSiteConfigProto.ApiSiteConfigRequest parseFrom(
|
|||
|
com.google.protobuf.ByteString data,
|
|||
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|||
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|||
|
return PARSER.parseFrom(data, extensionRegistry);
|
|||
|
}
|
|||
|
public static com.akaxin.proto.site.ApiSiteConfigProto.ApiSiteConfigRequest parseFrom(byte[] data)
|
|||
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|||
|
return PARSER.parseFrom(data);
|
|||
|
}
|
|||
|
public static com.akaxin.proto.site.ApiSiteConfigProto.ApiSiteConfigRequest parseFrom(
|
|||
|
byte[] data,
|
|||
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|||
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|||
|
return PARSER.parseFrom(data, extensionRegistry);
|
|||
|
}
|
|||
|
public static com.akaxin.proto.site.ApiSiteConfigProto.ApiSiteConfigRequest parseFrom(java.io.InputStream input)
|
|||
|
throws java.io.IOException {
|
|||
|
return com.google.protobuf.GeneratedMessageV3
|
|||
|
.parseWithIOException(PARSER, input);
|
|||
|
}
|
|||
|
public static com.akaxin.proto.site.ApiSiteConfigProto.ApiSiteConfigRequest 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 com.akaxin.proto.site.ApiSiteConfigProto.ApiSiteConfigRequest parseDelimitedFrom(java.io.InputStream input)
|
|||
|
throws java.io.IOException {
|
|||
|
return com.google.protobuf.GeneratedMessageV3
|
|||
|
.parseDelimitedWithIOException(PARSER, input);
|
|||
|
}
|
|||
|
public static com.akaxin.proto.site.ApiSiteConfigProto.ApiSiteConfigRequest 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 com.akaxin.proto.site.ApiSiteConfigProto.ApiSiteConfigRequest parseFrom(
|
|||
|
com.google.protobuf.CodedInputStream input)
|
|||
|
throws java.io.IOException {
|
|||
|
return com.google.protobuf.GeneratedMessageV3
|
|||
|
.parseWithIOException(PARSER, input);
|
|||
|
}
|
|||
|
public static com.akaxin.proto.site.ApiSiteConfigProto.ApiSiteConfigRequest parseFrom(
|
|||
|
com.google.protobuf.CodedInputStream input,
|
|||
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|||
|
throws java.io.IOException {
|
|||
|
return com.google.protobuf.GeneratedMessageV3
|
|||
|
.parseWithIOException(PARSER, input, extensionRegistry);
|
|||
|
}
|
|||
|
|
|||
|
public Builder newBuilderForType() { return newBuilder(); }
|
|||
|
public static Builder newBuilder() {
|
|||
|
return DEFAULT_INSTANCE.toBuilder();
|
|||
|
}
|
|||
|
public static Builder newBuilder(com.akaxin.proto.site.ApiSiteConfigProto.ApiSiteConfigRequest prototype) {
|
|||
|
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
|
|||
|
}
|
|||
|
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;
|
|||
|
}
|
|||
|
/**
|
|||
|
* Protobuf type {@code site.ApiSiteConfigRequest}
|
|||
|
*/
|
|||
|
public static final class Builder extends
|
|||
|
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
|
|||
|
// @@protoc_insertion_point(builder_implements:site.ApiSiteConfigRequest)
|
|||
|
com.akaxin.proto.site.ApiSiteConfigProto.ApiSiteConfigRequestOrBuilder {
|
|||
|
public static final com.google.protobuf.Descriptors.Descriptor
|
|||
|
getDescriptor() {
|
|||
|
return com.akaxin.proto.site.ApiSiteConfigProto.internal_static_site_ApiSiteConfigRequest_descriptor;
|
|||
|
}
|
|||
|
|
|||
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
|||
|
internalGetFieldAccessorTable() {
|
|||
|
return com.akaxin.proto.site.ApiSiteConfigProto.internal_static_site_ApiSiteConfigRequest_fieldAccessorTable
|
|||
|
.ensureFieldAccessorsInitialized(
|
|||
|
com.akaxin.proto.site.ApiSiteConfigProto.ApiSiteConfigRequest.class, com.akaxin.proto.site.ApiSiteConfigProto.ApiSiteConfigRequest.Builder.class);
|
|||
|
}
|
|||
|
|
|||
|
// Construct using com.akaxin.proto.site.ApiSiteConfigProto.ApiSiteConfigRequest.newBuilder()
|
|||
|
private Builder() {
|
|||
|
maybeForceBuilderInitialization();
|
|||
|
}
|
|||
|
|
|||
|
private Builder(
|
|||
|
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
|
|||
|
super(parent);
|
|||
|
maybeForceBuilderInitialization();
|
|||
|
}
|
|||
|
private void maybeForceBuilderInitialization() {
|
|||
|
if (com.google.protobuf.GeneratedMessageV3
|
|||
|
.alwaysUseFieldBuilders) {
|
|||
|
}
|
|||
|
}
|
|||
|
public Builder clear() {
|
|||
|
super.clear();
|
|||
|
return this;
|
|||
|
}
|
|||
|
|
|||
|
public com.google.protobuf.Descriptors.Descriptor
|
|||
|
getDescriptorForType() {
|
|||
|
return com.akaxin.proto.site.ApiSiteConfigProto.internal_static_site_ApiSiteConfigRequest_descriptor;
|
|||
|
}
|
|||
|
|
|||
|
public com.akaxin.proto.site.ApiSiteConfigProto.ApiSiteConfigRequest getDefaultInstanceForType() {
|
|||
|
return com.akaxin.proto.site.ApiSiteConfigProto.ApiSiteConfigRequest.getDefaultInstance();
|
|||
|
}
|
|||
|
|
|||
|
public com.akaxin.proto.site.ApiSiteConfigProto.ApiSiteConfigRequest build() {
|
|||
|
com.akaxin.proto.site.ApiSiteConfigProto.ApiSiteConfigRequest result = buildPartial();
|
|||
|
if (!result.isInitialized()) {
|
|||
|
throw newUninitializedMessageException(result);
|
|||
|
}
|
|||
|
return result;
|
|||
|
}
|
|||
|
|
|||
|
public com.akaxin.proto.site.ApiSiteConfigProto.ApiSiteConfigRequest buildPartial() {
|
|||
|
com.akaxin.proto.site.ApiSiteConfigProto.ApiSiteConfigRequest result = new com.akaxin.proto.site.ApiSiteConfigProto.ApiSiteConfigRequest(this);
|
|||
|
onBuilt();
|
|||
|
return result;
|
|||
|
}
|
|||
|
|
|||
|
public Builder clone() {
|
|||
|
return (Builder) super.clone();
|
|||
|
}
|
|||
|
public Builder setField(
|
|||
|
com.google.protobuf.Descriptors.FieldDescriptor field,
|
|||
|
java.lang.Object value) {
|
|||
|
return (Builder) super.setField(field, value);
|
|||
|
}
|
|||
|
public Builder clearField(
|
|||
|
com.google.protobuf.Descriptors.FieldDescriptor field) {
|
|||
|
return (Builder) super.clearField(field);
|
|||
|
}
|
|||
|
public Builder clearOneof(
|
|||
|
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
|
|||
|
return (Builder) super.clearOneof(oneof);
|
|||
|
}
|
|||
|
public Builder setRepeatedField(
|
|||
|
com.google.protobuf.Descriptors.FieldDescriptor field,
|
|||
|
int index, java.lang.Object value) {
|
|||
|
return (Builder) super.setRepeatedField(field, index, value);
|
|||
|
}
|
|||
|
public Builder addRepeatedField(
|
|||
|
com.google.protobuf.Descriptors.FieldDescriptor field,
|
|||
|
java.lang.Object value) {
|
|||
|
return (Builder) super.addRepeatedField(field, value);
|
|||
|
}
|
|||
|
public Builder mergeFrom(com.google.protobuf.Message other) {
|
|||
|
if (other instanceof com.akaxin.proto.site.ApiSiteConfigProto.ApiSiteConfigRequest) {
|
|||
|
return mergeFrom((com.akaxin.proto.site.ApiSiteConfigProto.ApiSiteConfigRequest)other);
|
|||
|
} else {
|
|||
|
super.mergeFrom(other);
|
|||
|
return this;
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
public Builder mergeFrom(com.akaxin.proto.site.ApiSiteConfigProto.ApiSiteConfigRequest other) {
|
|||
|
if (other == com.akaxin.proto.site.ApiSiteConfigProto.ApiSiteConfigRequest.getDefaultInstance()) return this;
|
|||
|
this.mergeUnknownFields(other.unknownFields);
|
|||
|
onChanged();
|
|||
|
return this;
|
|||
|
}
|
|||
|
|
|||
|
public final boolean isInitialized() {
|
|||
|
return true;
|
|||
|
}
|
|||
|
|
|||
|
public Builder mergeFrom(
|
|||
|
com.google.protobuf.CodedInputStream input,
|
|||
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|||
|
throws java.io.IOException {
|
|||
|
com.akaxin.proto.site.ApiSiteConfigProto.ApiSiteConfigRequest parsedMessage = null;
|
|||
|
try {
|
|||
|
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
|
|||
|
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
|
|||
|
parsedMessage = (com.akaxin.proto.site.ApiSiteConfigProto.ApiSiteConfigRequest) e.getUnfinishedMessage();
|
|||
|
throw e.unwrapIOException();
|
|||
|
} finally {
|
|||
|
if (parsedMessage != null) {
|
|||
|
mergeFrom(parsedMessage);
|
|||
|
}
|
|||
|
}
|
|||
|
return this;
|
|||
|
}
|
|||
|
public final Builder setUnknownFields(
|
|||
|
final com.google.protobuf.UnknownFieldSet unknownFields) {
|
|||
|
return super.setUnknownFieldsProto3(unknownFields);
|
|||
|
}
|
|||
|
|
|||
|
public final Builder mergeUnknownFields(
|
|||
|
final com.google.protobuf.UnknownFieldSet unknownFields) {
|
|||
|
return super.mergeUnknownFields(unknownFields);
|
|||
|
}
|
|||
|
|
|||
|
|
|||
|
// @@protoc_insertion_point(builder_scope:site.ApiSiteConfigRequest)
|
|||
|
}
|
|||
|
|
|||
|
// @@protoc_insertion_point(class_scope:site.ApiSiteConfigRequest)
|
|||
|
private static final com.akaxin.proto.site.ApiSiteConfigProto.ApiSiteConfigRequest DEFAULT_INSTANCE;
|
|||
|
static {
|
|||
|
DEFAULT_INSTANCE = new com.akaxin.proto.site.ApiSiteConfigProto.ApiSiteConfigRequest();
|
|||
|
}
|
|||
|
|
|||
|
public static com.akaxin.proto.site.ApiSiteConfigProto.ApiSiteConfigRequest getDefaultInstance() {
|
|||
|
return DEFAULT_INSTANCE;
|
|||
|
}
|
|||
|
|
|||
|
private static final com.google.protobuf.Parser<ApiSiteConfigRequest>
|
|||
|
PARSER = new com.google.protobuf.AbstractParser<ApiSiteConfigRequest>() {
|
|||
|
public ApiSiteConfigRequest parsePartialFrom(
|
|||
|
com.google.protobuf.CodedInputStream input,
|
|||
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|||
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|||
|
return new ApiSiteConfigRequest(input, extensionRegistry);
|
|||
|
}
|
|||
|
};
|
|||
|
|
|||
|
public static com.google.protobuf.Parser<ApiSiteConfigRequest> parser() {
|
|||
|
return PARSER;
|
|||
|
}
|
|||
|
|
|||
|
@java.lang.Override
|
|||
|
public com.google.protobuf.Parser<ApiSiteConfigRequest> getParserForType() {
|
|||
|
return PARSER;
|
|||
|
}
|
|||
|
|
|||
|
public com.akaxin.proto.site.ApiSiteConfigProto.ApiSiteConfigRequest getDefaultInstanceForType() {
|
|||
|
return DEFAULT_INSTANCE;
|
|||
|
}
|
|||
|
|
|||
|
}
|
|||
|
|
|||
|
public interface ApiSiteConfigResponseOrBuilder extends
|
|||
|
// @@protoc_insertion_point(interface_extends:site.ApiSiteConfigResponse)
|
|||
|
com.google.protobuf.MessageOrBuilder {
|
|||
|
|
|||
|
/**
|
|||
|
* <pre>
|
|||
|
*信息配置,Key为SiteConfigKey
|
|||
|
* </pre>
|
|||
|
*
|
|||
|
* <code>.core.SiteConfig site_config = 1;</code>
|
|||
|
*/
|
|||
|
boolean hasSiteConfig();
|
|||
|
/**
|
|||
|
* <pre>
|
|||
|
*信息配置,Key为SiteConfigKey
|
|||
|
* </pre>
|
|||
|
*
|
|||
|
* <code>.core.SiteConfig site_config = 1;</code>
|
|||
|
*/
|
|||
|
com.akaxin.proto.core.ConfigProto.SiteConfig getSiteConfig();
|
|||
|
/**
|
|||
|
* <pre>
|
|||
|
*信息配置,Key为SiteConfigKey
|
|||
|
* </pre>
|
|||
|
*
|
|||
|
* <code>.core.SiteConfig site_config = 1;</code>
|
|||
|
*/
|
|||
|
com.akaxin.proto.core.ConfigProto.SiteConfigOrBuilder getSiteConfigOrBuilder();
|
|||
|
}
|
|||
|
/**
|
|||
|
* Protobuf type {@code site.ApiSiteConfigResponse}
|
|||
|
*/
|
|||
|
public static final class ApiSiteConfigResponse extends
|
|||
|
com.google.protobuf.GeneratedMessageV3 implements
|
|||
|
// @@protoc_insertion_point(message_implements:site.ApiSiteConfigResponse)
|
|||
|
ApiSiteConfigResponseOrBuilder {
|
|||
|
private static final long serialVersionUID = 0L;
|
|||
|
// Use ApiSiteConfigResponse.newBuilder() to construct.
|
|||
|
private ApiSiteConfigResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
|
|||
|
super(builder);
|
|||
|
}
|
|||
|
private ApiSiteConfigResponse() {
|
|||
|
}
|
|||
|
|
|||
|
@java.lang.Override
|
|||
|
public final com.google.protobuf.UnknownFieldSet
|
|||
|
getUnknownFields() {
|
|||
|
return this.unknownFields;
|
|||
|
}
|
|||
|
private ApiSiteConfigResponse(
|
|||
|
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;
|
|||
|
default: {
|
|||
|
if (!parseUnknownFieldProto3(
|
|||
|
input, unknownFields, extensionRegistry, tag)) {
|
|||
|
done = true;
|
|||
|
}
|
|||
|
break;
|
|||
|
}
|
|||
|
case 10: {
|
|||
|
com.akaxin.proto.core.ConfigProto.SiteConfig.Builder subBuilder = null;
|
|||
|
if (siteConfig_ != null) {
|
|||
|
subBuilder = siteConfig_.toBuilder();
|
|||
|
}
|
|||
|
siteConfig_ = input.readMessage(com.akaxin.proto.core.ConfigProto.SiteConfig.parser(), extensionRegistry);
|
|||
|
if (subBuilder != null) {
|
|||
|
subBuilder.mergeFrom(siteConfig_);
|
|||
|
siteConfig_ = subBuilder.buildPartial();
|
|||
|
}
|
|||
|
|
|||
|
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 com.akaxin.proto.site.ApiSiteConfigProto.internal_static_site_ApiSiteConfigResponse_descriptor;
|
|||
|
}
|
|||
|
|
|||
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
|||
|
internalGetFieldAccessorTable() {
|
|||
|
return com.akaxin.proto.site.ApiSiteConfigProto.internal_static_site_ApiSiteConfigResponse_fieldAccessorTable
|
|||
|
.ensureFieldAccessorsInitialized(
|
|||
|
com.akaxin.proto.site.ApiSiteConfigProto.ApiSiteConfigResponse.class, com.akaxin.proto.site.ApiSiteConfigProto.ApiSiteConfigResponse.Builder.class);
|
|||
|
}
|
|||
|
|
|||
|
public static final int SITE_CONFIG_FIELD_NUMBER = 1;
|
|||
|
private com.akaxin.proto.core.ConfigProto.SiteConfig siteConfig_;
|
|||
|
/**
|
|||
|
* <pre>
|
|||
|
*信息配置,Key为SiteConfigKey
|
|||
|
* </pre>
|
|||
|
*
|
|||
|
* <code>.core.SiteConfig site_config = 1;</code>
|
|||
|
*/
|
|||
|
public boolean hasSiteConfig() {
|
|||
|
return siteConfig_ != null;
|
|||
|
}
|
|||
|
/**
|
|||
|
* <pre>
|
|||
|
*信息配置,Key为SiteConfigKey
|
|||
|
* </pre>
|
|||
|
*
|
|||
|
* <code>.core.SiteConfig site_config = 1;</code>
|
|||
|
*/
|
|||
|
public com.akaxin.proto.core.ConfigProto.SiteConfig getSiteConfig() {
|
|||
|
return siteConfig_ == null ? com.akaxin.proto.core.ConfigProto.SiteConfig.getDefaultInstance() : siteConfig_;
|
|||
|
}
|
|||
|
/**
|
|||
|
* <pre>
|
|||
|
*信息配置,Key为SiteConfigKey
|
|||
|
* </pre>
|
|||
|
*
|
|||
|
* <code>.core.SiteConfig site_config = 1;</code>
|
|||
|
*/
|
|||
|
public com.akaxin.proto.core.ConfigProto.SiteConfigOrBuilder getSiteConfigOrBuilder() {
|
|||
|
return getSiteConfig();
|
|||
|
}
|
|||
|
|
|||
|
private byte memoizedIsInitialized = -1;
|
|||
|
public final boolean isInitialized() {
|
|||
|
byte isInitialized = memoizedIsInitialized;
|
|||
|
if (isInitialized == 1) return true;
|
|||
|
if (isInitialized == 0) return false;
|
|||
|
|
|||
|
memoizedIsInitialized = 1;
|
|||
|
return true;
|
|||
|
}
|
|||
|
|
|||
|
public void writeTo(com.google.protobuf.CodedOutputStream output)
|
|||
|
throws java.io.IOException {
|
|||
|
if (siteConfig_ != null) {
|
|||
|
output.writeMessage(1, getSiteConfig());
|
|||
|
}
|
|||
|
unknownFields.writeTo(output);
|
|||
|
}
|
|||
|
|
|||
|
public int getSerializedSize() {
|
|||
|
int size = memoizedSize;
|
|||
|
if (size != -1) return size;
|
|||
|
|
|||
|
size = 0;
|
|||
|
if (siteConfig_ != null) {
|
|||
|
size += com.google.protobuf.CodedOutputStream
|
|||
|
.computeMessageSize(1, getSiteConfig());
|
|||
|
}
|
|||
|
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 com.akaxin.proto.site.ApiSiteConfigProto.ApiSiteConfigResponse)) {
|
|||
|
return super.equals(obj);
|
|||
|
}
|
|||
|
com.akaxin.proto.site.ApiSiteConfigProto.ApiSiteConfigResponse other = (com.akaxin.proto.site.ApiSiteConfigProto.ApiSiteConfigResponse) obj;
|
|||
|
|
|||
|
boolean result = true;
|
|||
|
result = result && (hasSiteConfig() == other.hasSiteConfig());
|
|||
|
if (hasSiteConfig()) {
|
|||
|
result = result && getSiteConfig()
|
|||
|
.equals(other.getSiteConfig());
|
|||
|
}
|
|||
|
result = result && unknownFields.equals(other.unknownFields);
|
|||
|
return result;
|
|||
|
}
|
|||
|
|
|||
|
@java.lang.Override
|
|||
|
public int hashCode() {
|
|||
|
if (memoizedHashCode != 0) {
|
|||
|
return memoizedHashCode;
|
|||
|
}
|
|||
|
int hash = 41;
|
|||
|
hash = (19 * hash) + getDescriptor().hashCode();
|
|||
|
if (hasSiteConfig()) {
|
|||
|
hash = (37 * hash) + SITE_CONFIG_FIELD_NUMBER;
|
|||
|
hash = (53 * hash) + getSiteConfig().hashCode();
|
|||
|
}
|
|||
|
hash = (29 * hash) + unknownFields.hashCode();
|
|||
|
memoizedHashCode = hash;
|
|||
|
return hash;
|
|||
|
}
|
|||
|
|
|||
|
public static com.akaxin.proto.site.ApiSiteConfigProto.ApiSiteConfigResponse parseFrom(
|
|||
|
java.nio.ByteBuffer data)
|
|||
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|||
|
return PARSER.parseFrom(data);
|
|||
|
}
|
|||
|
public static com.akaxin.proto.site.ApiSiteConfigProto.ApiSiteConfigResponse parseFrom(
|
|||
|
java.nio.ByteBuffer data,
|
|||
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|||
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|||
|
return PARSER.parseFrom(data, extensionRegistry);
|
|||
|
}
|
|||
|
public static com.akaxin.proto.site.ApiSiteConfigProto.ApiSiteConfigResponse parseFrom(
|
|||
|
com.google.protobuf.ByteString data)
|
|||
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|||
|
return PARSER.parseFrom(data);
|
|||
|
}
|
|||
|
public static com.akaxin.proto.site.ApiSiteConfigProto.ApiSiteConfigResponse parseFrom(
|
|||
|
com.google.protobuf.ByteString data,
|
|||
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|||
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|||
|
return PARSER.parseFrom(data, extensionRegistry);
|
|||
|
}
|
|||
|
public static com.akaxin.proto.site.ApiSiteConfigProto.ApiSiteConfigResponse parseFrom(byte[] data)
|
|||
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|||
|
return PARSER.parseFrom(data);
|
|||
|
}
|
|||
|
public static com.akaxin.proto.site.ApiSiteConfigProto.ApiSiteConfigResponse parseFrom(
|
|||
|
byte[] data,
|
|||
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|||
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|||
|
return PARSER.parseFrom(data, extensionRegistry);
|
|||
|
}
|
|||
|
public static com.akaxin.proto.site.ApiSiteConfigProto.ApiSiteConfigResponse parseFrom(java.io.InputStream input)
|
|||
|
throws java.io.IOException {
|
|||
|
return com.google.protobuf.GeneratedMessageV3
|
|||
|
.parseWithIOException(PARSER, input);
|
|||
|
}
|
|||
|
public static com.akaxin.proto.site.ApiSiteConfigProto.ApiSiteConfigResponse 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 com.akaxin.proto.site.ApiSiteConfigProto.ApiSiteConfigResponse parseDelimitedFrom(java.io.InputStream input)
|
|||
|
throws java.io.IOException {
|
|||
|
return com.google.protobuf.GeneratedMessageV3
|
|||
|
.parseDelimitedWithIOException(PARSER, input);
|
|||
|
}
|
|||
|
public static com.akaxin.proto.site.ApiSiteConfigProto.ApiSiteConfigResponse 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 com.akaxin.proto.site.ApiSiteConfigProto.ApiSiteConfigResponse parseFrom(
|
|||
|
com.google.protobuf.CodedInputStream input)
|
|||
|
throws java.io.IOException {
|
|||
|
return com.google.protobuf.GeneratedMessageV3
|
|||
|
.parseWithIOException(PARSER, input);
|
|||
|
}
|
|||
|
public static com.akaxin.proto.site.ApiSiteConfigProto.ApiSiteConfigResponse parseFrom(
|
|||
|
com.google.protobuf.CodedInputStream input,
|
|||
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|||
|
throws java.io.IOException {
|
|||
|
return com.google.protobuf.GeneratedMessageV3
|
|||
|
.parseWithIOException(PARSER, input, extensionRegistry);
|
|||
|
}
|
|||
|
|
|||
|
public Builder newBuilderForType() { return newBuilder(); }
|
|||
|
public static Builder newBuilder() {
|
|||
|
return DEFAULT_INSTANCE.toBuilder();
|
|||
|
}
|
|||
|
public static Builder newBuilder(com.akaxin.proto.site.ApiSiteConfigProto.ApiSiteConfigResponse prototype) {
|
|||
|
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
|
|||
|
}
|
|||
|
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;
|
|||
|
}
|
|||
|
/**
|
|||
|
* Protobuf type {@code site.ApiSiteConfigResponse}
|
|||
|
*/
|
|||
|
public static final class Builder extends
|
|||
|
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
|
|||
|
// @@protoc_insertion_point(builder_implements:site.ApiSiteConfigResponse)
|
|||
|
com.akaxin.proto.site.ApiSiteConfigProto.ApiSiteConfigResponseOrBuilder {
|
|||
|
public static final com.google.protobuf.Descriptors.Descriptor
|
|||
|
getDescriptor() {
|
|||
|
return com.akaxin.proto.site.ApiSiteConfigProto.internal_static_site_ApiSiteConfigResponse_descriptor;
|
|||
|
}
|
|||
|
|
|||
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
|||
|
internalGetFieldAccessorTable() {
|
|||
|
return com.akaxin.proto.site.ApiSiteConfigProto.internal_static_site_ApiSiteConfigResponse_fieldAccessorTable
|
|||
|
.ensureFieldAccessorsInitialized(
|
|||
|
com.akaxin.proto.site.ApiSiteConfigProto.ApiSiteConfigResponse.class, com.akaxin.proto.site.ApiSiteConfigProto.ApiSiteConfigResponse.Builder.class);
|
|||
|
}
|
|||
|
|
|||
|
// Construct using com.akaxin.proto.site.ApiSiteConfigProto.ApiSiteConfigResponse.newBuilder()
|
|||
|
private Builder() {
|
|||
|
maybeForceBuilderInitialization();
|
|||
|
}
|
|||
|
|
|||
|
private Builder(
|
|||
|
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
|
|||
|
super(parent);
|
|||
|
maybeForceBuilderInitialization();
|
|||
|
}
|
|||
|
private void maybeForceBuilderInitialization() {
|
|||
|
if (com.google.protobuf.GeneratedMessageV3
|
|||
|
.alwaysUseFieldBuilders) {
|
|||
|
}
|
|||
|
}
|
|||
|
public Builder clear() {
|
|||
|
super.clear();
|
|||
|
if (siteConfigBuilder_ == null) {
|
|||
|
siteConfig_ = null;
|
|||
|
} else {
|
|||
|
siteConfig_ = null;
|
|||
|
siteConfigBuilder_ = null;
|
|||
|
}
|
|||
|
return this;
|
|||
|
}
|
|||
|
|
|||
|
public com.google.protobuf.Descriptors.Descriptor
|
|||
|
getDescriptorForType() {
|
|||
|
return com.akaxin.proto.site.ApiSiteConfigProto.internal_static_site_ApiSiteConfigResponse_descriptor;
|
|||
|
}
|
|||
|
|
|||
|
public com.akaxin.proto.site.ApiSiteConfigProto.ApiSiteConfigResponse getDefaultInstanceForType() {
|
|||
|
return com.akaxin.proto.site.ApiSiteConfigProto.ApiSiteConfigResponse.getDefaultInstance();
|
|||
|
}
|
|||
|
|
|||
|
public com.akaxin.proto.site.ApiSiteConfigProto.ApiSiteConfigResponse build() {
|
|||
|
com.akaxin.proto.site.ApiSiteConfigProto.ApiSiteConfigResponse result = buildPartial();
|
|||
|
if (!result.isInitialized()) {
|
|||
|
throw newUninitializedMessageException(result);
|
|||
|
}
|
|||
|
return result;
|
|||
|
}
|
|||
|
|
|||
|
public com.akaxin.proto.site.ApiSiteConfigProto.ApiSiteConfigResponse buildPartial() {
|
|||
|
com.akaxin.proto.site.ApiSiteConfigProto.ApiSiteConfigResponse result = new com.akaxin.proto.site.ApiSiteConfigProto.ApiSiteConfigResponse(this);
|
|||
|
if (siteConfigBuilder_ == null) {
|
|||
|
result.siteConfig_ = siteConfig_;
|
|||
|
} else {
|
|||
|
result.siteConfig_ = siteConfigBuilder_.build();
|
|||
|
}
|
|||
|
onBuilt();
|
|||
|
return result;
|
|||
|
}
|
|||
|
|
|||
|
public Builder clone() {
|
|||
|
return (Builder) super.clone();
|
|||
|
}
|
|||
|
public Builder setField(
|
|||
|
com.google.protobuf.Descriptors.FieldDescriptor field,
|
|||
|
java.lang.Object value) {
|
|||
|
return (Builder) super.setField(field, value);
|
|||
|
}
|
|||
|
public Builder clearField(
|
|||
|
com.google.protobuf.Descriptors.FieldDescriptor field) {
|
|||
|
return (Builder) super.clearField(field);
|
|||
|
}
|
|||
|
public Builder clearOneof(
|
|||
|
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
|
|||
|
return (Builder) super.clearOneof(oneof);
|
|||
|
}
|
|||
|
public Builder setRepeatedField(
|
|||
|
com.google.protobuf.Descriptors.FieldDescriptor field,
|
|||
|
int index, java.lang.Object value) {
|
|||
|
return (Builder) super.setRepeatedField(field, index, value);
|
|||
|
}
|
|||
|
public Builder addRepeatedField(
|
|||
|
com.google.protobuf.Descriptors.FieldDescriptor field,
|
|||
|
java.lang.Object value) {
|
|||
|
return (Builder) super.addRepeatedField(field, value);
|
|||
|
}
|
|||
|
public Builder mergeFrom(com.google.protobuf.Message other) {
|
|||
|
if (other instanceof com.akaxin.proto.site.ApiSiteConfigProto.ApiSiteConfigResponse) {
|
|||
|
return mergeFrom((com.akaxin.proto.site.ApiSiteConfigProto.ApiSiteConfigResponse)other);
|
|||
|
} else {
|
|||
|
super.mergeFrom(other);
|
|||
|
return this;
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
public Builder mergeFrom(com.akaxin.proto.site.ApiSiteConfigProto.ApiSiteConfigResponse other) {
|
|||
|
if (other == com.akaxin.proto.site.ApiSiteConfigProto.ApiSiteConfigResponse.getDefaultInstance()) return this;
|
|||
|
if (other.hasSiteConfig()) {
|
|||
|
mergeSiteConfig(other.getSiteConfig());
|
|||
|
}
|
|||
|
this.mergeUnknownFields(other.unknownFields);
|
|||
|
onChanged();
|
|||
|
return this;
|
|||
|
}
|
|||
|
|
|||
|
public final boolean isInitialized() {
|
|||
|
return true;
|
|||
|
}
|
|||
|
|
|||
|
public Builder mergeFrom(
|
|||
|
com.google.protobuf.CodedInputStream input,
|
|||
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|||
|
throws java.io.IOException {
|
|||
|
com.akaxin.proto.site.ApiSiteConfigProto.ApiSiteConfigResponse parsedMessage = null;
|
|||
|
try {
|
|||
|
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
|
|||
|
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
|
|||
|
parsedMessage = (com.akaxin.proto.site.ApiSiteConfigProto.ApiSiteConfigResponse) e.getUnfinishedMessage();
|
|||
|
throw e.unwrapIOException();
|
|||
|
} finally {
|
|||
|
if (parsedMessage != null) {
|
|||
|
mergeFrom(parsedMessage);
|
|||
|
}
|
|||
|
}
|
|||
|
return this;
|
|||
|
}
|
|||
|
|
|||
|
private com.akaxin.proto.core.ConfigProto.SiteConfig siteConfig_ = null;
|
|||
|
private com.google.protobuf.SingleFieldBuilderV3<
|
|||
|
com.akaxin.proto.core.ConfigProto.SiteConfig, com.akaxin.proto.core.ConfigProto.SiteConfig.Builder, com.akaxin.proto.core.ConfigProto.SiteConfigOrBuilder> siteConfigBuilder_;
|
|||
|
/**
|
|||
|
* <pre>
|
|||
|
*信息配置,Key为SiteConfigKey
|
|||
|
* </pre>
|
|||
|
*
|
|||
|
* <code>.core.SiteConfig site_config = 1;</code>
|
|||
|
*/
|
|||
|
public boolean hasSiteConfig() {
|
|||
|
return siteConfigBuilder_ != null || siteConfig_ != null;
|
|||
|
}
|
|||
|
/**
|
|||
|
* <pre>
|
|||
|
*信息配置,Key为SiteConfigKey
|
|||
|
* </pre>
|
|||
|
*
|
|||
|
* <code>.core.SiteConfig site_config = 1;</code>
|
|||
|
*/
|
|||
|
public com.akaxin.proto.core.ConfigProto.SiteConfig getSiteConfig() {
|
|||
|
if (siteConfigBuilder_ == null) {
|
|||
|
return siteConfig_ == null ? com.akaxin.proto.core.ConfigProto.SiteConfig.getDefaultInstance() : siteConfig_;
|
|||
|
} else {
|
|||
|
return siteConfigBuilder_.getMessage();
|
|||
|
}
|
|||
|
}
|
|||
|
/**
|
|||
|
* <pre>
|
|||
|
*信息配置,Key为SiteConfigKey
|
|||
|
* </pre>
|
|||
|
*
|
|||
|
* <code>.core.SiteConfig site_config = 1;</code>
|
|||
|
*/
|
|||
|
public Builder setSiteConfig(com.akaxin.proto.core.ConfigProto.SiteConfig value) {
|
|||
|
if (siteConfigBuilder_ == null) {
|
|||
|
if (value == null) {
|
|||
|
throw new NullPointerException();
|
|||
|
}
|
|||
|
siteConfig_ = value;
|
|||
|
onChanged();
|
|||
|
} else {
|
|||
|
siteConfigBuilder_.setMessage(value);
|
|||
|
}
|
|||
|
|
|||
|
return this;
|
|||
|
}
|
|||
|
/**
|
|||
|
* <pre>
|
|||
|
*信息配置,Key为SiteConfigKey
|
|||
|
* </pre>
|
|||
|
*
|
|||
|
* <code>.core.SiteConfig site_config = 1;</code>
|
|||
|
*/
|
|||
|
public Builder setSiteConfig(
|
|||
|
com.akaxin.proto.core.ConfigProto.SiteConfig.Builder builderForValue) {
|
|||
|
if (siteConfigBuilder_ == null) {
|
|||
|
siteConfig_ = builderForValue.build();
|
|||
|
onChanged();
|
|||
|
} else {
|
|||
|
siteConfigBuilder_.setMessage(builderForValue.build());
|
|||
|
}
|
|||
|
|
|||
|
return this;
|
|||
|
}
|
|||
|
/**
|
|||
|
* <pre>
|
|||
|
*信息配置,Key为SiteConfigKey
|
|||
|
* </pre>
|
|||
|
*
|
|||
|
* <code>.core.SiteConfig site_config = 1;</code>
|
|||
|
*/
|
|||
|
public Builder mergeSiteConfig(com.akaxin.proto.core.ConfigProto.SiteConfig value) {
|
|||
|
if (siteConfigBuilder_ == null) {
|
|||
|
if (siteConfig_ != null) {
|
|||
|
siteConfig_ =
|
|||
|
com.akaxin.proto.core.ConfigProto.SiteConfig.newBuilder(siteConfig_).mergeFrom(value).buildPartial();
|
|||
|
} else {
|
|||
|
siteConfig_ = value;
|
|||
|
}
|
|||
|
onChanged();
|
|||
|
} else {
|
|||
|
siteConfigBuilder_.mergeFrom(value);
|
|||
|
}
|
|||
|
|
|||
|
return this;
|
|||
|
}
|
|||
|
/**
|
|||
|
* <pre>
|
|||
|
*信息配置,Key为SiteConfigKey
|
|||
|
* </pre>
|
|||
|
*
|
|||
|
* <code>.core.SiteConfig site_config = 1;</code>
|
|||
|
*/
|
|||
|
public Builder clearSiteConfig() {
|
|||
|
if (siteConfigBuilder_ == null) {
|
|||
|
siteConfig_ = null;
|
|||
|
onChanged();
|
|||
|
} else {
|
|||
|
siteConfig_ = null;
|
|||
|
siteConfigBuilder_ = null;
|
|||
|
}
|
|||
|
|
|||
|
return this;
|
|||
|
}
|
|||
|
/**
|
|||
|
* <pre>
|
|||
|
*信息配置,Key为SiteConfigKey
|
|||
|
* </pre>
|
|||
|
*
|
|||
|
* <code>.core.SiteConfig site_config = 1;</code>
|
|||
|
*/
|
|||
|
public com.akaxin.proto.core.ConfigProto.SiteConfig.Builder getSiteConfigBuilder() {
|
|||
|
|
|||
|
onChanged();
|
|||
|
return getSiteConfigFieldBuilder().getBuilder();
|
|||
|
}
|
|||
|
/**
|
|||
|
* <pre>
|
|||
|
*信息配置,Key为SiteConfigKey
|
|||
|
* </pre>
|
|||
|
*
|
|||
|
* <code>.core.SiteConfig site_config = 1;</code>
|
|||
|
*/
|
|||
|
public com.akaxin.proto.core.ConfigProto.SiteConfigOrBuilder getSiteConfigOrBuilder() {
|
|||
|
if (siteConfigBuilder_ != null) {
|
|||
|
return siteConfigBuilder_.getMessageOrBuilder();
|
|||
|
} else {
|
|||
|
return siteConfig_ == null ?
|
|||
|
com.akaxin.proto.core.ConfigProto.SiteConfig.getDefaultInstance() : siteConfig_;
|
|||
|
}
|
|||
|
}
|
|||
|
/**
|
|||
|
* <pre>
|
|||
|
*信息配置,Key为SiteConfigKey
|
|||
|
* </pre>
|
|||
|
*
|
|||
|
* <code>.core.SiteConfig site_config = 1;</code>
|
|||
|
*/
|
|||
|
private com.google.protobuf.SingleFieldBuilderV3<
|
|||
|
com.akaxin.proto.core.ConfigProto.SiteConfig, com.akaxin.proto.core.ConfigProto.SiteConfig.Builder, com.akaxin.proto.core.ConfigProto.SiteConfigOrBuilder>
|
|||
|
getSiteConfigFieldBuilder() {
|
|||
|
if (siteConfigBuilder_ == null) {
|
|||
|
siteConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
|
|||
|
com.akaxin.proto.core.ConfigProto.SiteConfig, com.akaxin.proto.core.ConfigProto.SiteConfig.Builder, com.akaxin.proto.core.ConfigProto.SiteConfigOrBuilder>(
|
|||
|
getSiteConfig(),
|
|||
|
getParentForChildren(),
|
|||
|
isClean());
|
|||
|
siteConfig_ = null;
|
|||
|
}
|
|||
|
return siteConfigBuilder_;
|
|||
|
}
|
|||
|
public final Builder setUnknownFields(
|
|||
|
final com.google.protobuf.UnknownFieldSet unknownFields) {
|
|||
|
return super.setUnknownFieldsProto3(unknownFields);
|
|||
|
}
|
|||
|
|
|||
|
public final Builder mergeUnknownFields(
|
|||
|
final com.google.protobuf.UnknownFieldSet unknownFields) {
|
|||
|
return super.mergeUnknownFields(unknownFields);
|
|||
|
}
|
|||
|
|
|||
|
|
|||
|
// @@protoc_insertion_point(builder_scope:site.ApiSiteConfigResponse)
|
|||
|
}
|
|||
|
|
|||
|
// @@protoc_insertion_point(class_scope:site.ApiSiteConfigResponse)
|
|||
|
private static final com.akaxin.proto.site.ApiSiteConfigProto.ApiSiteConfigResponse DEFAULT_INSTANCE;
|
|||
|
static {
|
|||
|
DEFAULT_INSTANCE = new com.akaxin.proto.site.ApiSiteConfigProto.ApiSiteConfigResponse();
|
|||
|
}
|
|||
|
|
|||
|
public static com.akaxin.proto.site.ApiSiteConfigProto.ApiSiteConfigResponse getDefaultInstance() {
|
|||
|
return DEFAULT_INSTANCE;
|
|||
|
}
|
|||
|
|
|||
|
private static final com.google.protobuf.Parser<ApiSiteConfigResponse>
|
|||
|
PARSER = new com.google.protobuf.AbstractParser<ApiSiteConfigResponse>() {
|
|||
|
public ApiSiteConfigResponse parsePartialFrom(
|
|||
|
com.google.protobuf.CodedInputStream input,
|
|||
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|||
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|||
|
return new ApiSiteConfigResponse(input, extensionRegistry);
|
|||
|
}
|
|||
|
};
|
|||
|
|
|||
|
public static com.google.protobuf.Parser<ApiSiteConfigResponse> parser() {
|
|||
|
return PARSER;
|
|||
|
}
|
|||
|
|
|||
|
@java.lang.Override
|
|||
|
public com.google.protobuf.Parser<ApiSiteConfigResponse> getParserForType() {
|
|||
|
return PARSER;
|
|||
|
}
|
|||
|
|
|||
|
public com.akaxin.proto.site.ApiSiteConfigProto.ApiSiteConfigResponse getDefaultInstanceForType() {
|
|||
|
return DEFAULT_INSTANCE;
|
|||
|
}
|
|||
|
|
|||
|
}
|
|||
|
|
|||
|
private static final com.google.protobuf.Descriptors.Descriptor
|
|||
|
internal_static_site_ApiSiteConfigRequest_descriptor;
|
|||
|
private static final
|
|||
|
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
|||
|
internal_static_site_ApiSiteConfigRequest_fieldAccessorTable;
|
|||
|
private static final com.google.protobuf.Descriptors.Descriptor
|
|||
|
internal_static_site_ApiSiteConfigResponse_descriptor;
|
|||
|
private static final
|
|||
|
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
|||
|
internal_static_site_ApiSiteConfigResponse_fieldAccessorTable;
|
|||
|
|
|||
|
public static com.google.protobuf.Descriptors.FileDescriptor
|
|||
|
getDescriptor() {
|
|||
|
return descriptor;
|
|||
|
}
|
|||
|
private static com.google.protobuf.Descriptors.FileDescriptor
|
|||
|
descriptor;
|
|||
|
static {
|
|||
|
java.lang.String[] descriptorData = {
|
|||
|
"\n\032site/api_site_config.proto\022\004site\032\021core" +
|
|||
|
"/config.proto\"\026\n\024ApiSiteConfigRequest\">\n" +
|
|||
|
"\025ApiSiteConfigResponse\022%\n\013site_config\030\001 " +
|
|||
|
"\001(\0132\020.core.SiteConfig2Y\n\024ApiSiteConfigSe" +
|
|||
|
"rvice\022A\n\006config\022\032.site.ApiSiteConfigRequ" +
|
|||
|
"est\032\033.site.ApiSiteConfigResponseB+\n\025com." +
|
|||
|
"akaxin.proto.siteB\022ApiSiteConfigProtob\006p" +
|
|||
|
"roto3"
|
|||
|
};
|
|||
|
com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
|
|||
|
new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() {
|
|||
|
public com.google.protobuf.ExtensionRegistry assignDescriptors(
|
|||
|
com.google.protobuf.Descriptors.FileDescriptor root) {
|
|||
|
descriptor = root;
|
|||
|
return null;
|
|||
|
}
|
|||
|
};
|
|||
|
com.google.protobuf.Descriptors.FileDescriptor
|
|||
|
.internalBuildGeneratedFileFrom(descriptorData,
|
|||
|
new com.google.protobuf.Descriptors.FileDescriptor[] {
|
|||
|
com.akaxin.proto.core.ConfigProto.getDescriptor(),
|
|||
|
}, assigner);
|
|||
|
internal_static_site_ApiSiteConfigRequest_descriptor =
|
|||
|
getDescriptor().getMessageTypes().get(0);
|
|||
|
internal_static_site_ApiSiteConfigRequest_fieldAccessorTable = new
|
|||
|
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
|
|||
|
internal_static_site_ApiSiteConfigRequest_descriptor,
|
|||
|
new java.lang.String[] { });
|
|||
|
internal_static_site_ApiSiteConfigResponse_descriptor =
|
|||
|
getDescriptor().getMessageTypes().get(1);
|
|||
|
internal_static_site_ApiSiteConfigResponse_fieldAccessorTable = new
|
|||
|
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
|
|||
|
internal_static_site_ApiSiteConfigResponse_descriptor,
|
|||
|
new java.lang.String[] { "SiteConfig", });
|
|||
|
com.akaxin.proto.core.ConfigProto.getDescriptor();
|
|||
|
}
|
|||
|
|
|||
|
// @@protoc_insertion_point(outer_class_scope)
|
|||
|
}
|