configpb.Configpb Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: configpb.proto
package configpb;
public final class Configpb {
private Configpb() {}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistryLite registry) {
}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistry registry) {
registerAllExtensions(
(com.google.protobuf.ExtensionRegistryLite) registry);
}
/**
* Protobuf enum {@code configpb.StatusCode}
*/
public enum StatusCode
implements com.google.protobuf.ProtocolMessageEnum {
/**
* UNKNOWN = 0;
*/
UNKNOWN(0),
/**
* OK = 1;
*/
OK(1),
/**
* WRONG_VERSION = 2;
*/
WRONG_VERSION(2),
/**
* NOT_CHANGE = 3;
*/
NOT_CHANGE(3),
/**
* COMPONENT_NOT_FOUND = 4;
*/
COMPONENT_NOT_FOUND(4),
/**
* COMPONENT_ID_NOT_FOUND = 5;
*/
COMPONENT_ID_NOT_FOUND(5),
UNRECOGNIZED(-1),
;
/**
* UNKNOWN = 0;
*/
public static final int UNKNOWN_VALUE = 0;
/**
* OK = 1;
*/
public static final int OK_VALUE = 1;
/**
* WRONG_VERSION = 2;
*/
public static final int WRONG_VERSION_VALUE = 2;
/**
* NOT_CHANGE = 3;
*/
public static final int NOT_CHANGE_VALUE = 3;
/**
* COMPONENT_NOT_FOUND = 4;
*/
public static final int COMPONENT_NOT_FOUND_VALUE = 4;
/**
* COMPONENT_ID_NOT_FOUND = 5;
*/
public static final int COMPONENT_ID_NOT_FOUND_VALUE = 5;
public final int getNumber() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalArgumentException(
"Can't get the number of an unknown enum value.");
}
return value;
}
/**
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static StatusCode valueOf(int value) {
return forNumber(value);
}
public static StatusCode forNumber(int value) {
switch (value) {
case 0: return UNKNOWN;
case 1: return OK;
case 2: return WRONG_VERSION;
case 3: return NOT_CHANGE;
case 4: return COMPONENT_NOT_FOUND;
case 5: return COMPONENT_ID_NOT_FOUND;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
StatusCode> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap() {
public StatusCode findValueByNumber(int number) {
return StatusCode.forNumber(number);
}
};
public final com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor() {
return getDescriptor().getValues().get(ordinal());
}
public final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType() {
return getDescriptor();
}
public static final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor() {
return configpb.Configpb.getDescriptor().getEnumTypes().get(0);
}
private static final StatusCode[] VALUES = values();
public static StatusCode valueOf(
com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
if (desc.getType() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"EnumValueDescriptor is not for this type.");
}
if (desc.getIndex() == -1) {
return UNRECOGNIZED;
}
return VALUES[desc.getIndex()];
}
private final int value;
private StatusCode(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:configpb.StatusCode)
}
public interface StatusOrBuilder extends
// @@protoc_insertion_point(interface_extends:configpb.Status)
com.google.protobuf.MessageOrBuilder {
/**
* .configpb.StatusCode code = 1;
*/
int getCodeValue();
/**
* .configpb.StatusCode code = 1;
*/
configpb.Configpb.StatusCode getCode();
/**
* string message = 2;
*/
java.lang.String getMessage();
/**
* string message = 2;
*/
com.google.protobuf.ByteString
getMessageBytes();
}
/**
* Protobuf type {@code configpb.Status}
*/
public static final class Status extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:configpb.Status)
StatusOrBuilder {
private static final long serialVersionUID = 0L;
// Use Status.newBuilder() to construct.
private Status(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private Status() {
code_ = 0;
message_ = "";
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private Status(
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 8: {
int rawValue = input.readEnum();
code_ = rawValue;
break;
}
case 18: {
java.lang.String s = input.readStringRequireUtf8();
message_ = s;
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 configpb.Configpb.internal_static_configpb_Status_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return configpb.Configpb.internal_static_configpb_Status_fieldAccessorTable
.ensureFieldAccessorsInitialized(
configpb.Configpb.Status.class, configpb.Configpb.Status.Builder.class);
}
public static final int CODE_FIELD_NUMBER = 1;
private int code_;
/**
* .configpb.StatusCode code = 1;
*/
public int getCodeValue() {
return code_;
}
/**
* .configpb.StatusCode code = 1;
*/
public configpb.Configpb.StatusCode getCode() {
configpb.Configpb.StatusCode result = configpb.Configpb.StatusCode.valueOf(code_);
return result == null ? configpb.Configpb.StatusCode.UNRECOGNIZED : result;
}
public static final int MESSAGE_FIELD_NUMBER = 2;
private volatile java.lang.Object message_;
/**
* string message = 2;
*/
public java.lang.String getMessage() {
java.lang.Object ref = message_;
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();
message_ = s;
return s;
}
}
/**
* string message = 2;
*/
public com.google.protobuf.ByteString
getMessageBytes() {
java.lang.Object ref = message_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
message_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
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 (code_ != configpb.Configpb.StatusCode.UNKNOWN.getNumber()) {
output.writeEnum(1, code_);
}
if (!getMessageBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, message_);
}
unknownFields.writeTo(output);
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (code_ != configpb.Configpb.StatusCode.UNKNOWN.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(1, code_);
}
if (!getMessageBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, message_);
}
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 configpb.Configpb.Status)) {
return super.equals(obj);
}
configpb.Configpb.Status other = (configpb.Configpb.Status) obj;
boolean result = true;
result = result && code_ == other.code_;
result = result && getMessage()
.equals(other.getMessage());
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 = (37 * hash) + CODE_FIELD_NUMBER;
hash = (53 * hash) + code_;
hash = (37 * hash) + MESSAGE_FIELD_NUMBER;
hash = (53 * hash) + getMessage().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static configpb.Configpb.Status parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static configpb.Configpb.Status parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static configpb.Configpb.Status parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static configpb.Configpb.Status parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static configpb.Configpb.Status parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static configpb.Configpb.Status parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static configpb.Configpb.Status parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static configpb.Configpb.Status 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 configpb.Configpb.Status parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static configpb.Configpb.Status 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 configpb.Configpb.Status parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static configpb.Configpb.Status 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(configpb.Configpb.Status 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 configpb.Status}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:configpb.Status)
configpb.Configpb.StatusOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return configpb.Configpb.internal_static_configpb_Status_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return configpb.Configpb.internal_static_configpb_Status_fieldAccessorTable
.ensureFieldAccessorsInitialized(
configpb.Configpb.Status.class, configpb.Configpb.Status.Builder.class);
}
// Construct using configpb.Configpb.Status.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();
code_ = 0;
message_ = "";
return this;
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return configpb.Configpb.internal_static_configpb_Status_descriptor;
}
public configpb.Configpb.Status getDefaultInstanceForType() {
return configpb.Configpb.Status.getDefaultInstance();
}
public configpb.Configpb.Status build() {
configpb.Configpb.Status result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public configpb.Configpb.Status buildPartial() {
configpb.Configpb.Status result = new configpb.Configpb.Status(this);
result.code_ = code_;
result.message_ = message_;
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 configpb.Configpb.Status) {
return mergeFrom((configpb.Configpb.Status)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(configpb.Configpb.Status other) {
if (other == configpb.Configpb.Status.getDefaultInstance()) return this;
if (other.code_ != 0) {
setCodeValue(other.getCodeValue());
}
if (!other.getMessage().isEmpty()) {
message_ = other.message_;
onChanged();
}
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 {
configpb.Configpb.Status parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (configpb.Configpb.Status) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int code_ = 0;
/**
* .configpb.StatusCode code = 1;
*/
public int getCodeValue() {
return code_;
}
/**
* .configpb.StatusCode code = 1;
*/
public Builder setCodeValue(int value) {
code_ = value;
onChanged();
return this;
}
/**
* .configpb.StatusCode code = 1;
*/
public configpb.Configpb.StatusCode getCode() {
configpb.Configpb.StatusCode result = configpb.Configpb.StatusCode.valueOf(code_);
return result == null ? configpb.Configpb.StatusCode.UNRECOGNIZED : result;
}
/**
* .configpb.StatusCode code = 1;
*/
public Builder setCode(configpb.Configpb.StatusCode value) {
if (value == null) {
throw new NullPointerException();
}
code_ = value.getNumber();
onChanged();
return this;
}
/**
* .configpb.StatusCode code = 1;
*/
public Builder clearCode() {
code_ = 0;
onChanged();
return this;
}
private java.lang.Object message_ = "";
/**
* string message = 2;
*/
public java.lang.String getMessage() {
java.lang.Object ref = message_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
message_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string message = 2;
*/
public com.google.protobuf.ByteString
getMessageBytes() {
java.lang.Object ref = message_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
message_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string message = 2;
*/
public Builder setMessage(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
message_ = value;
onChanged();
return this;
}
/**
* string message = 2;
*/
public Builder clearMessage() {
message_ = getDefaultInstance().getMessage();
onChanged();
return this;
}
/**
* string message = 2;
*/
public Builder setMessageBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
message_ = value;
onChanged();
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:configpb.Status)
}
// @@protoc_insertion_point(class_scope:configpb.Status)
private static final configpb.Configpb.Status DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new configpb.Configpb.Status();
}
public static configpb.Configpb.Status getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
public Status parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new Status(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
public configpb.Configpb.Status getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface VersionOrBuilder extends
// @@protoc_insertion_point(interface_extends:configpb.Version)
com.google.protobuf.MessageOrBuilder {
/**
* uint64 local = 1;
*/
long getLocal();
/**
* uint64 global = 2;
*/
long getGlobal();
}
/**
*
* The version is used to tell the configuration which can be shared
* or not apart.
* Global version represents the version of these configuration
* which can be shared, each kind of component only have one.
* For local version, every component will have one to represent
* the version of these configuration which cannot be shared.
*
*
* Protobuf type {@code configpb.Version}
*/
public static final class Version extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:configpb.Version)
VersionOrBuilder {
private static final long serialVersionUID = 0L;
// Use Version.newBuilder() to construct.
private Version(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private Version() {
local_ = 0L;
global_ = 0L;
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private Version(
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 8: {
local_ = input.readUInt64();
break;
}
case 16: {
global_ = input.readUInt64();
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 configpb.Configpb.internal_static_configpb_Version_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return configpb.Configpb.internal_static_configpb_Version_fieldAccessorTable
.ensureFieldAccessorsInitialized(
configpb.Configpb.Version.class, configpb.Configpb.Version.Builder.class);
}
public static final int LOCAL_FIELD_NUMBER = 1;
private long local_;
/**
* uint64 local = 1;
*/
public long getLocal() {
return local_;
}
public static final int GLOBAL_FIELD_NUMBER = 2;
private long global_;
/**
* uint64 global = 2;
*/
public long getGlobal() {
return global_;
}
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 (local_ != 0L) {
output.writeUInt64(1, local_);
}
if (global_ != 0L) {
output.writeUInt64(2, global_);
}
unknownFields.writeTo(output);
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (local_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeUInt64Size(1, local_);
}
if (global_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeUInt64Size(2, global_);
}
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 configpb.Configpb.Version)) {
return super.equals(obj);
}
configpb.Configpb.Version other = (configpb.Configpb.Version) obj;
boolean result = true;
result = result && (getLocal()
== other.getLocal());
result = result && (getGlobal()
== other.getGlobal());
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 = (37 * hash) + LOCAL_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getLocal());
hash = (37 * hash) + GLOBAL_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getGlobal());
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static configpb.Configpb.Version parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static configpb.Configpb.Version parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static configpb.Configpb.Version parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static configpb.Configpb.Version parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static configpb.Configpb.Version parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static configpb.Configpb.Version parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static configpb.Configpb.Version parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static configpb.Configpb.Version 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 configpb.Configpb.Version parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static configpb.Configpb.Version 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 configpb.Configpb.Version parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static configpb.Configpb.Version 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(configpb.Configpb.Version 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;
}
/**
*
* The version is used to tell the configuration which can be shared
* or not apart.
* Global version represents the version of these configuration
* which can be shared, each kind of component only have one.
* For local version, every component will have one to represent
* the version of these configuration which cannot be shared.
*
*
* Protobuf type {@code configpb.Version}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:configpb.Version)
configpb.Configpb.VersionOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return configpb.Configpb.internal_static_configpb_Version_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return configpb.Configpb.internal_static_configpb_Version_fieldAccessorTable
.ensureFieldAccessorsInitialized(
configpb.Configpb.Version.class, configpb.Configpb.Version.Builder.class);
}
// Construct using configpb.Configpb.Version.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();
local_ = 0L;
global_ = 0L;
return this;
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return configpb.Configpb.internal_static_configpb_Version_descriptor;
}
public configpb.Configpb.Version getDefaultInstanceForType() {
return configpb.Configpb.Version.getDefaultInstance();
}
public configpb.Configpb.Version build() {
configpb.Configpb.Version result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public configpb.Configpb.Version buildPartial() {
configpb.Configpb.Version result = new configpb.Configpb.Version(this);
result.local_ = local_;
result.global_ = global_;
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 configpb.Configpb.Version) {
return mergeFrom((configpb.Configpb.Version)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(configpb.Configpb.Version other) {
if (other == configpb.Configpb.Version.getDefaultInstance()) return this;
if (other.getLocal() != 0L) {
setLocal(other.getLocal());
}
if (other.getGlobal() != 0L) {
setGlobal(other.getGlobal());
}
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 {
configpb.Configpb.Version parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (configpb.Configpb.Version) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private long local_ ;
/**
* uint64 local = 1;
*/
public long getLocal() {
return local_;
}
/**
* uint64 local = 1;
*/
public Builder setLocal(long value) {
local_ = value;
onChanged();
return this;
}
/**
* uint64 local = 1;
*/
public Builder clearLocal() {
local_ = 0L;
onChanged();
return this;
}
private long global_ ;
/**
* uint64 global = 2;
*/
public long getGlobal() {
return global_;
}
/**
* uint64 global = 2;
*/
public Builder setGlobal(long value) {
global_ = value;
onChanged();
return this;
}
/**
* uint64 global = 2;
*/
public Builder clearGlobal() {
global_ = 0L;
onChanged();
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:configpb.Version)
}
// @@protoc_insertion_point(class_scope:configpb.Version)
private static final configpb.Configpb.Version DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new configpb.Configpb.Version();
}
public static configpb.Configpb.Version getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
public Version parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new Version(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
public configpb.Configpb.Version getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface LocalOrBuilder extends
// @@protoc_insertion_point(interface_extends:configpb.Local)
com.google.protobuf.MessageOrBuilder {
/**
* string component_id = 1;
*/
java.lang.String getComponentId();
/**
* string component_id = 1;
*/
com.google.protobuf.ByteString
getComponentIdBytes();
}
/**
* Protobuf type {@code configpb.Local}
*/
public static final class Local extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:configpb.Local)
LocalOrBuilder {
private static final long serialVersionUID = 0L;
// Use Local.newBuilder() to construct.
private Local(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private Local() {
componentId_ = "";
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private Local(
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: {
java.lang.String s = input.readStringRequireUtf8();
componentId_ = s;
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 configpb.Configpb.internal_static_configpb_Local_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return configpb.Configpb.internal_static_configpb_Local_fieldAccessorTable
.ensureFieldAccessorsInitialized(
configpb.Configpb.Local.class, configpb.Configpb.Local.Builder.class);
}
public static final int COMPONENT_ID_FIELD_NUMBER = 1;
private volatile java.lang.Object componentId_;
/**
* string component_id = 1;
*/
public java.lang.String getComponentId() {
java.lang.Object ref = componentId_;
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();
componentId_ = s;
return s;
}
}
/**
* string component_id = 1;
*/
public com.google.protobuf.ByteString
getComponentIdBytes() {
java.lang.Object ref = componentId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
componentId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
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 (!getComponentIdBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, componentId_);
}
unknownFields.writeTo(output);
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!getComponentIdBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, componentId_);
}
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 configpb.Configpb.Local)) {
return super.equals(obj);
}
configpb.Configpb.Local other = (configpb.Configpb.Local) obj;
boolean result = true;
result = result && getComponentId()
.equals(other.getComponentId());
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 = (37 * hash) + COMPONENT_ID_FIELD_NUMBER;
hash = (53 * hash) + getComponentId().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static configpb.Configpb.Local parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static configpb.Configpb.Local parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static configpb.Configpb.Local parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static configpb.Configpb.Local parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static configpb.Configpb.Local parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static configpb.Configpb.Local parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static configpb.Configpb.Local parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static configpb.Configpb.Local 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 configpb.Configpb.Local parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static configpb.Configpb.Local 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 configpb.Configpb.Local parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static configpb.Configpb.Local 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(configpb.Configpb.Local 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 configpb.Local}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:configpb.Local)
configpb.Configpb.LocalOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return configpb.Configpb.internal_static_configpb_Local_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return configpb.Configpb.internal_static_configpb_Local_fieldAccessorTable
.ensureFieldAccessorsInitialized(
configpb.Configpb.Local.class, configpb.Configpb.Local.Builder.class);
}
// Construct using configpb.Configpb.Local.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();
componentId_ = "";
return this;
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return configpb.Configpb.internal_static_configpb_Local_descriptor;
}
public configpb.Configpb.Local getDefaultInstanceForType() {
return configpb.Configpb.Local.getDefaultInstance();
}
public configpb.Configpb.Local build() {
configpb.Configpb.Local result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public configpb.Configpb.Local buildPartial() {
configpb.Configpb.Local result = new configpb.Configpb.Local(this);
result.componentId_ = componentId_;
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 configpb.Configpb.Local) {
return mergeFrom((configpb.Configpb.Local)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(configpb.Configpb.Local other) {
if (other == configpb.Configpb.Local.getDefaultInstance()) return this;
if (!other.getComponentId().isEmpty()) {
componentId_ = other.componentId_;
onChanged();
}
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 {
configpb.Configpb.Local parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (configpb.Configpb.Local) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private java.lang.Object componentId_ = "";
/**
* string component_id = 1;
*/
public java.lang.String getComponentId() {
java.lang.Object ref = componentId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
componentId_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string component_id = 1;
*/
public com.google.protobuf.ByteString
getComponentIdBytes() {
java.lang.Object ref = componentId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
componentId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string component_id = 1;
*/
public Builder setComponentId(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
componentId_ = value;
onChanged();
return this;
}
/**
* string component_id = 1;
*/
public Builder clearComponentId() {
componentId_ = getDefaultInstance().getComponentId();
onChanged();
return this;
}
/**
* string component_id = 1;
*/
public Builder setComponentIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
componentId_ = value;
onChanged();
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:configpb.Local)
}
// @@protoc_insertion_point(class_scope:configpb.Local)
private static final configpb.Configpb.Local DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new configpb.Configpb.Local();
}
public static configpb.Configpb.Local getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
public Local parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new Local(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
public configpb.Configpb.Local getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface GlobalOrBuilder extends
// @@protoc_insertion_point(interface_extends:configpb.Global)
com.google.protobuf.MessageOrBuilder {
/**
* string component = 1;
*/
java.lang.String getComponent();
/**
* string component = 1;
*/
com.google.protobuf.ByteString
getComponentBytes();
}
/**
* Protobuf type {@code configpb.Global}
*/
public static final class Global extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:configpb.Global)
GlobalOrBuilder {
private static final long serialVersionUID = 0L;
// Use Global.newBuilder() to construct.
private Global(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private Global() {
component_ = "";
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private Global(
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: {
java.lang.String s = input.readStringRequireUtf8();
component_ = s;
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 configpb.Configpb.internal_static_configpb_Global_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return configpb.Configpb.internal_static_configpb_Global_fieldAccessorTable
.ensureFieldAccessorsInitialized(
configpb.Configpb.Global.class, configpb.Configpb.Global.Builder.class);
}
public static final int COMPONENT_FIELD_NUMBER = 1;
private volatile java.lang.Object component_;
/**
* string component = 1;
*/
public java.lang.String getComponent() {
java.lang.Object ref = component_;
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();
component_ = s;
return s;
}
}
/**
* string component = 1;
*/
public com.google.protobuf.ByteString
getComponentBytes() {
java.lang.Object ref = component_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
component_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
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 (!getComponentBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, component_);
}
unknownFields.writeTo(output);
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!getComponentBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, component_);
}
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 configpb.Configpb.Global)) {
return super.equals(obj);
}
configpb.Configpb.Global other = (configpb.Configpb.Global) obj;
boolean result = true;
result = result && getComponent()
.equals(other.getComponent());
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 = (37 * hash) + COMPONENT_FIELD_NUMBER;
hash = (53 * hash) + getComponent().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static configpb.Configpb.Global parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static configpb.Configpb.Global parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static configpb.Configpb.Global parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static configpb.Configpb.Global parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static configpb.Configpb.Global parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static configpb.Configpb.Global parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static configpb.Configpb.Global parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static configpb.Configpb.Global 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 configpb.Configpb.Global parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static configpb.Configpb.Global 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 configpb.Configpb.Global parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static configpb.Configpb.Global 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(configpb.Configpb.Global 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 configpb.Global}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:configpb.Global)
configpb.Configpb.GlobalOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return configpb.Configpb.internal_static_configpb_Global_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return configpb.Configpb.internal_static_configpb_Global_fieldAccessorTable
.ensureFieldAccessorsInitialized(
configpb.Configpb.Global.class, configpb.Configpb.Global.Builder.class);
}
// Construct using configpb.Configpb.Global.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();
component_ = "";
return this;
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return configpb.Configpb.internal_static_configpb_Global_descriptor;
}
public configpb.Configpb.Global getDefaultInstanceForType() {
return configpb.Configpb.Global.getDefaultInstance();
}
public configpb.Configpb.Global build() {
configpb.Configpb.Global result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public configpb.Configpb.Global buildPartial() {
configpb.Configpb.Global result = new configpb.Configpb.Global(this);
result.component_ = component_;
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 configpb.Configpb.Global) {
return mergeFrom((configpb.Configpb.Global)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(configpb.Configpb.Global other) {
if (other == configpb.Configpb.Global.getDefaultInstance()) return this;
if (!other.getComponent().isEmpty()) {
component_ = other.component_;
onChanged();
}
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 {
configpb.Configpb.Global parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (configpb.Configpb.Global) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private java.lang.Object component_ = "";
/**
* string component = 1;
*/
public java.lang.String getComponent() {
java.lang.Object ref = component_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
component_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string component = 1;
*/
public com.google.protobuf.ByteString
getComponentBytes() {
java.lang.Object ref = component_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
component_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string component = 1;
*/
public Builder setComponent(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
component_ = value;
onChanged();
return this;
}
/**
* string component = 1;
*/
public Builder clearComponent() {
component_ = getDefaultInstance().getComponent();
onChanged();
return this;
}
/**
* string component = 1;
*/
public Builder setComponentBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
component_ = value;
onChanged();
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:configpb.Global)
}
// @@protoc_insertion_point(class_scope:configpb.Global)
private static final configpb.Configpb.Global DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new configpb.Configpb.Global();
}
public static configpb.Configpb.Global getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
public Global parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new Global(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
public configpb.Configpb.Global getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface ConfigKindOrBuilder extends
// @@protoc_insertion_point(interface_extends:configpb.ConfigKind)
com.google.protobuf.MessageOrBuilder {
/**
* .configpb.Local local = 1;
*/
boolean hasLocal();
/**
* .configpb.Local local = 1;
*/
configpb.Configpb.Local getLocal();
/**
* .configpb.Local local = 1;
*/
configpb.Configpb.LocalOrBuilder getLocalOrBuilder();
/**
* .configpb.Global global = 2;
*/
boolean hasGlobal();
/**
* .configpb.Global global = 2;
*/
configpb.Configpb.Global getGlobal();
/**
* .configpb.Global global = 2;
*/
configpb.Configpb.GlobalOrBuilder getGlobalOrBuilder();
public configpb.Configpb.ConfigKind.KindCase getKindCase();
}
/**
* Protobuf type {@code configpb.ConfigKind}
*/
public static final class ConfigKind extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:configpb.ConfigKind)
ConfigKindOrBuilder {
private static final long serialVersionUID = 0L;
// Use ConfigKind.newBuilder() to construct.
private ConfigKind(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private ConfigKind() {
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private ConfigKind(
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: {
configpb.Configpb.Local.Builder subBuilder = null;
if (kindCase_ == 1) {
subBuilder = ((configpb.Configpb.Local) kind_).toBuilder();
}
kind_ =
input.readMessage(configpb.Configpb.Local.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((configpb.Configpb.Local) kind_);
kind_ = subBuilder.buildPartial();
}
kindCase_ = 1;
break;
}
case 18: {
configpb.Configpb.Global.Builder subBuilder = null;
if (kindCase_ == 2) {
subBuilder = ((configpb.Configpb.Global) kind_).toBuilder();
}
kind_ =
input.readMessage(configpb.Configpb.Global.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((configpb.Configpb.Global) kind_);
kind_ = subBuilder.buildPartial();
}
kindCase_ = 2;
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 configpb.Configpb.internal_static_configpb_ConfigKind_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return configpb.Configpb.internal_static_configpb_ConfigKind_fieldAccessorTable
.ensureFieldAccessorsInitialized(
configpb.Configpb.ConfigKind.class, configpb.Configpb.ConfigKind.Builder.class);
}
private int kindCase_ = 0;
private java.lang.Object kind_;
public enum KindCase
implements com.google.protobuf.Internal.EnumLite {
LOCAL(1),
GLOBAL(2),
KIND_NOT_SET(0);
private final int value;
private KindCase(int value) {
this.value = value;
}
/**
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static KindCase valueOf(int value) {
return forNumber(value);
}
public static KindCase forNumber(int value) {
switch (value) {
case 1: return LOCAL;
case 2: return GLOBAL;
case 0: return KIND_NOT_SET;
default: return null;
}
}
public int getNumber() {
return this.value;
}
};
public KindCase
getKindCase() {
return KindCase.forNumber(
kindCase_);
}
public static final int LOCAL_FIELD_NUMBER = 1;
/**
* .configpb.Local local = 1;
*/
public boolean hasLocal() {
return kindCase_ == 1;
}
/**
* .configpb.Local local = 1;
*/
public configpb.Configpb.Local getLocal() {
if (kindCase_ == 1) {
return (configpb.Configpb.Local) kind_;
}
return configpb.Configpb.Local.getDefaultInstance();
}
/**
* .configpb.Local local = 1;
*/
public configpb.Configpb.LocalOrBuilder getLocalOrBuilder() {
if (kindCase_ == 1) {
return (configpb.Configpb.Local) kind_;
}
return configpb.Configpb.Local.getDefaultInstance();
}
public static final int GLOBAL_FIELD_NUMBER = 2;
/**
* .configpb.Global global = 2;
*/
public boolean hasGlobal() {
return kindCase_ == 2;
}
/**
* .configpb.Global global = 2;
*/
public configpb.Configpb.Global getGlobal() {
if (kindCase_ == 2) {
return (configpb.Configpb.Global) kind_;
}
return configpb.Configpb.Global.getDefaultInstance();
}
/**
* .configpb.Global global = 2;
*/
public configpb.Configpb.GlobalOrBuilder getGlobalOrBuilder() {
if (kindCase_ == 2) {
return (configpb.Configpb.Global) kind_;
}
return configpb.Configpb.Global.getDefaultInstance();
}
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 (kindCase_ == 1) {
output.writeMessage(1, (configpb.Configpb.Local) kind_);
}
if (kindCase_ == 2) {
output.writeMessage(2, (configpb.Configpb.Global) kind_);
}
unknownFields.writeTo(output);
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (kindCase_ == 1) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, (configpb.Configpb.Local) kind_);
}
if (kindCase_ == 2) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, (configpb.Configpb.Global) kind_);
}
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 configpb.Configpb.ConfigKind)) {
return super.equals(obj);
}
configpb.Configpb.ConfigKind other = (configpb.Configpb.ConfigKind) obj;
boolean result = true;
result = result && getKindCase().equals(
other.getKindCase());
if (!result) return false;
switch (kindCase_) {
case 1:
result = result && getLocal()
.equals(other.getLocal());
break;
case 2:
result = result && getGlobal()
.equals(other.getGlobal());
break;
case 0:
default:
}
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();
switch (kindCase_) {
case 1:
hash = (37 * hash) + LOCAL_FIELD_NUMBER;
hash = (53 * hash) + getLocal().hashCode();
break;
case 2:
hash = (37 * hash) + GLOBAL_FIELD_NUMBER;
hash = (53 * hash) + getGlobal().hashCode();
break;
case 0:
default:
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static configpb.Configpb.ConfigKind parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static configpb.Configpb.ConfigKind parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static configpb.Configpb.ConfigKind parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static configpb.Configpb.ConfigKind parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static configpb.Configpb.ConfigKind parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static configpb.Configpb.ConfigKind parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static configpb.Configpb.ConfigKind parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static configpb.Configpb.ConfigKind 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 configpb.Configpb.ConfigKind parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static configpb.Configpb.ConfigKind 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 configpb.Configpb.ConfigKind parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static configpb.Configpb.ConfigKind 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(configpb.Configpb.ConfigKind 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 configpb.ConfigKind}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:configpb.ConfigKind)
configpb.Configpb.ConfigKindOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return configpb.Configpb.internal_static_configpb_ConfigKind_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return configpb.Configpb.internal_static_configpb_ConfigKind_fieldAccessorTable
.ensureFieldAccessorsInitialized(
configpb.Configpb.ConfigKind.class, configpb.Configpb.ConfigKind.Builder.class);
}
// Construct using configpb.Configpb.ConfigKind.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();
kindCase_ = 0;
kind_ = null;
return this;
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return configpb.Configpb.internal_static_configpb_ConfigKind_descriptor;
}
public configpb.Configpb.ConfigKind getDefaultInstanceForType() {
return configpb.Configpb.ConfigKind.getDefaultInstance();
}
public configpb.Configpb.ConfigKind build() {
configpb.Configpb.ConfigKind result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public configpb.Configpb.ConfigKind buildPartial() {
configpb.Configpb.ConfigKind result = new configpb.Configpb.ConfigKind(this);
if (kindCase_ == 1) {
if (localBuilder_ == null) {
result.kind_ = kind_;
} else {
result.kind_ = localBuilder_.build();
}
}
if (kindCase_ == 2) {
if (globalBuilder_ == null) {
result.kind_ = kind_;
} else {
result.kind_ = globalBuilder_.build();
}
}
result.kindCase_ = kindCase_;
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 configpb.Configpb.ConfigKind) {
return mergeFrom((configpb.Configpb.ConfigKind)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(configpb.Configpb.ConfigKind other) {
if (other == configpb.Configpb.ConfigKind.getDefaultInstance()) return this;
switch (other.getKindCase()) {
case LOCAL: {
mergeLocal(other.getLocal());
break;
}
case GLOBAL: {
mergeGlobal(other.getGlobal());
break;
}
case KIND_NOT_SET: {
break;
}
}
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 {
configpb.Configpb.ConfigKind parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (configpb.Configpb.ConfigKind) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int kindCase_ = 0;
private java.lang.Object kind_;
public KindCase
getKindCase() {
return KindCase.forNumber(
kindCase_);
}
public Builder clearKind() {
kindCase_ = 0;
kind_ = null;
onChanged();
return this;
}
private com.google.protobuf.SingleFieldBuilderV3<
configpb.Configpb.Local, configpb.Configpb.Local.Builder, configpb.Configpb.LocalOrBuilder> localBuilder_;
/**
* .configpb.Local local = 1;
*/
public boolean hasLocal() {
return kindCase_ == 1;
}
/**
* .configpb.Local local = 1;
*/
public configpb.Configpb.Local getLocal() {
if (localBuilder_ == null) {
if (kindCase_ == 1) {
return (configpb.Configpb.Local) kind_;
}
return configpb.Configpb.Local.getDefaultInstance();
} else {
if (kindCase_ == 1) {
return localBuilder_.getMessage();
}
return configpb.Configpb.Local.getDefaultInstance();
}
}
/**
* .configpb.Local local = 1;
*/
public Builder setLocal(configpb.Configpb.Local value) {
if (localBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
kind_ = value;
onChanged();
} else {
localBuilder_.setMessage(value);
}
kindCase_ = 1;
return this;
}
/**
* .configpb.Local local = 1;
*/
public Builder setLocal(
configpb.Configpb.Local.Builder builderForValue) {
if (localBuilder_ == null) {
kind_ = builderForValue.build();
onChanged();
} else {
localBuilder_.setMessage(builderForValue.build());
}
kindCase_ = 1;
return this;
}
/**
* .configpb.Local local = 1;
*/
public Builder mergeLocal(configpb.Configpb.Local value) {
if (localBuilder_ == null) {
if (kindCase_ == 1 &&
kind_ != configpb.Configpb.Local.getDefaultInstance()) {
kind_ = configpb.Configpb.Local.newBuilder((configpb.Configpb.Local) kind_)
.mergeFrom(value).buildPartial();
} else {
kind_ = value;
}
onChanged();
} else {
if (kindCase_ == 1) {
localBuilder_.mergeFrom(value);
}
localBuilder_.setMessage(value);
}
kindCase_ = 1;
return this;
}
/**
* .configpb.Local local = 1;
*/
public Builder clearLocal() {
if (localBuilder_ == null) {
if (kindCase_ == 1) {
kindCase_ = 0;
kind_ = null;
onChanged();
}
} else {
if (kindCase_ == 1) {
kindCase_ = 0;
kind_ = null;
}
localBuilder_.clear();
}
return this;
}
/**
* .configpb.Local local = 1;
*/
public configpb.Configpb.Local.Builder getLocalBuilder() {
return getLocalFieldBuilder().getBuilder();
}
/**
* .configpb.Local local = 1;
*/
public configpb.Configpb.LocalOrBuilder getLocalOrBuilder() {
if ((kindCase_ == 1) && (localBuilder_ != null)) {
return localBuilder_.getMessageOrBuilder();
} else {
if (kindCase_ == 1) {
return (configpb.Configpb.Local) kind_;
}
return configpb.Configpb.Local.getDefaultInstance();
}
}
/**
* .configpb.Local local = 1;
*/
private com.google.protobuf.SingleFieldBuilderV3<
configpb.Configpb.Local, configpb.Configpb.Local.Builder, configpb.Configpb.LocalOrBuilder>
getLocalFieldBuilder() {
if (localBuilder_ == null) {
if (!(kindCase_ == 1)) {
kind_ = configpb.Configpb.Local.getDefaultInstance();
}
localBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
configpb.Configpb.Local, configpb.Configpb.Local.Builder, configpb.Configpb.LocalOrBuilder>(
(configpb.Configpb.Local) kind_,
getParentForChildren(),
isClean());
kind_ = null;
}
kindCase_ = 1;
onChanged();;
return localBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
configpb.Configpb.Global, configpb.Configpb.Global.Builder, configpb.Configpb.GlobalOrBuilder> globalBuilder_;
/**
* .configpb.Global global = 2;
*/
public boolean hasGlobal() {
return kindCase_ == 2;
}
/**
* .configpb.Global global = 2;
*/
public configpb.Configpb.Global getGlobal() {
if (globalBuilder_ == null) {
if (kindCase_ == 2) {
return (configpb.Configpb.Global) kind_;
}
return configpb.Configpb.Global.getDefaultInstance();
} else {
if (kindCase_ == 2) {
return globalBuilder_.getMessage();
}
return configpb.Configpb.Global.getDefaultInstance();
}
}
/**
* .configpb.Global global = 2;
*/
public Builder setGlobal(configpb.Configpb.Global value) {
if (globalBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
kind_ = value;
onChanged();
} else {
globalBuilder_.setMessage(value);
}
kindCase_ = 2;
return this;
}
/**
* .configpb.Global global = 2;
*/
public Builder setGlobal(
configpb.Configpb.Global.Builder builderForValue) {
if (globalBuilder_ == null) {
kind_ = builderForValue.build();
onChanged();
} else {
globalBuilder_.setMessage(builderForValue.build());
}
kindCase_ = 2;
return this;
}
/**
* .configpb.Global global = 2;
*/
public Builder mergeGlobal(configpb.Configpb.Global value) {
if (globalBuilder_ == null) {
if (kindCase_ == 2 &&
kind_ != configpb.Configpb.Global.getDefaultInstance()) {
kind_ = configpb.Configpb.Global.newBuilder((configpb.Configpb.Global) kind_)
.mergeFrom(value).buildPartial();
} else {
kind_ = value;
}
onChanged();
} else {
if (kindCase_ == 2) {
globalBuilder_.mergeFrom(value);
}
globalBuilder_.setMessage(value);
}
kindCase_ = 2;
return this;
}
/**
* .configpb.Global global = 2;
*/
public Builder clearGlobal() {
if (globalBuilder_ == null) {
if (kindCase_ == 2) {
kindCase_ = 0;
kind_ = null;
onChanged();
}
} else {
if (kindCase_ == 2) {
kindCase_ = 0;
kind_ = null;
}
globalBuilder_.clear();
}
return this;
}
/**
* .configpb.Global global = 2;
*/
public configpb.Configpb.Global.Builder getGlobalBuilder() {
return getGlobalFieldBuilder().getBuilder();
}
/**
* .configpb.Global global = 2;
*/
public configpb.Configpb.GlobalOrBuilder getGlobalOrBuilder() {
if ((kindCase_ == 2) && (globalBuilder_ != null)) {
return globalBuilder_.getMessageOrBuilder();
} else {
if (kindCase_ == 2) {
return (configpb.Configpb.Global) kind_;
}
return configpb.Configpb.Global.getDefaultInstance();
}
}
/**
* .configpb.Global global = 2;
*/
private com.google.protobuf.SingleFieldBuilderV3<
configpb.Configpb.Global, configpb.Configpb.Global.Builder, configpb.Configpb.GlobalOrBuilder>
getGlobalFieldBuilder() {
if (globalBuilder_ == null) {
if (!(kindCase_ == 2)) {
kind_ = configpb.Configpb.Global.getDefaultInstance();
}
globalBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
configpb.Configpb.Global, configpb.Configpb.Global.Builder, configpb.Configpb.GlobalOrBuilder>(
(configpb.Configpb.Global) kind_,
getParentForChildren(),
isClean());
kind_ = null;
}
kindCase_ = 2;
onChanged();;
return globalBuilder_;
}
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:configpb.ConfigKind)
}
// @@protoc_insertion_point(class_scope:configpb.ConfigKind)
private static final configpb.Configpb.ConfigKind DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new configpb.Configpb.ConfigKind();
}
public static configpb.Configpb.ConfigKind getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
public ConfigKind parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new ConfigKind(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
public configpb.Configpb.ConfigKind getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface ConfigEntryOrBuilder extends
// @@protoc_insertion_point(interface_extends:configpb.ConfigEntry)
com.google.protobuf.MessageOrBuilder {
/**
* string name = 1;
*/
java.lang.String getName();
/**
* string name = 1;
*/
com.google.protobuf.ByteString
getNameBytes();
/**
* string value = 2;
*/
java.lang.String getValue();
/**
* string value = 2;
*/
com.google.protobuf.ByteString
getValueBytes();
}
/**
* Protobuf type {@code configpb.ConfigEntry}
*/
public static final class ConfigEntry extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:configpb.ConfigEntry)
ConfigEntryOrBuilder {
private static final long serialVersionUID = 0L;
// Use ConfigEntry.newBuilder() to construct.
private ConfigEntry(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private ConfigEntry() {
name_ = "";
value_ = "";
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private ConfigEntry(
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: {
java.lang.String s = input.readStringRequireUtf8();
name_ = s;
break;
}
case 18: {
java.lang.String s = input.readStringRequireUtf8();
value_ = s;
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 configpb.Configpb.internal_static_configpb_ConfigEntry_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return configpb.Configpb.internal_static_configpb_ConfigEntry_fieldAccessorTable
.ensureFieldAccessorsInitialized(
configpb.Configpb.ConfigEntry.class, configpb.Configpb.ConfigEntry.Builder.class);
}
public static final int NAME_FIELD_NUMBER = 1;
private volatile java.lang.Object name_;
/**
* string name = 1;
*/
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;
}
}
/**
* string name = 1;
*/
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 VALUE_FIELD_NUMBER = 2;
private volatile java.lang.Object value_;
/**
* string value = 2;
*/
public java.lang.String getValue() {
java.lang.Object ref = value_;
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();
value_ = s;
return s;
}
}
/**
* string value = 2;
*/
public com.google.protobuf.ByteString
getValueBytes() {
java.lang.Object ref = value_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
value_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
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 (!getNameBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
}
if (!getValueBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, value_);
}
unknownFields.writeTo(output);
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!getNameBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_);
}
if (!getValueBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, value_);
}
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 configpb.Configpb.ConfigEntry)) {
return super.equals(obj);
}
configpb.Configpb.ConfigEntry other = (configpb.Configpb.ConfigEntry) obj;
boolean result = true;
result = result && getName()
.equals(other.getName());
result = result && getValue()
.equals(other.getValue());
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 = (37 * hash) + NAME_FIELD_NUMBER;
hash = (53 * hash) + getName().hashCode();
hash = (37 * hash) + VALUE_FIELD_NUMBER;
hash = (53 * hash) + getValue().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static configpb.Configpb.ConfigEntry parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static configpb.Configpb.ConfigEntry parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static configpb.Configpb.ConfigEntry parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static configpb.Configpb.ConfigEntry parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static configpb.Configpb.ConfigEntry parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static configpb.Configpb.ConfigEntry parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static configpb.Configpb.ConfigEntry parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static configpb.Configpb.ConfigEntry 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 configpb.Configpb.ConfigEntry parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static configpb.Configpb.ConfigEntry 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 configpb.Configpb.ConfigEntry parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static configpb.Configpb.ConfigEntry 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(configpb.Configpb.ConfigEntry 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 configpb.ConfigEntry}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:configpb.ConfigEntry)
configpb.Configpb.ConfigEntryOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return configpb.Configpb.internal_static_configpb_ConfigEntry_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return configpb.Configpb.internal_static_configpb_ConfigEntry_fieldAccessorTable
.ensureFieldAccessorsInitialized(
configpb.Configpb.ConfigEntry.class, configpb.Configpb.ConfigEntry.Builder.class);
}
// Construct using configpb.Configpb.ConfigEntry.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();
name_ = "";
value_ = "";
return this;
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return configpb.Configpb.internal_static_configpb_ConfigEntry_descriptor;
}
public configpb.Configpb.ConfigEntry getDefaultInstanceForType() {
return configpb.Configpb.ConfigEntry.getDefaultInstance();
}
public configpb.Configpb.ConfigEntry build() {
configpb.Configpb.ConfigEntry result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public configpb.Configpb.ConfigEntry buildPartial() {
configpb.Configpb.ConfigEntry result = new configpb.Configpb.ConfigEntry(this);
result.name_ = name_;
result.value_ = value_;
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 configpb.Configpb.ConfigEntry) {
return mergeFrom((configpb.Configpb.ConfigEntry)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(configpb.Configpb.ConfigEntry other) {
if (other == configpb.Configpb.ConfigEntry.getDefaultInstance()) return this;
if (!other.getName().isEmpty()) {
name_ = other.name_;
onChanged();
}
if (!other.getValue().isEmpty()) {
value_ = other.value_;
onChanged();
}
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 {
configpb.Configpb.ConfigEntry parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (configpb.Configpb.ConfigEntry) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private java.lang.Object name_ = "";
/**
* string name = 1;
*/
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;
}
}
/**
* string name = 1;
*/
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;
}
}
/**
* string name = 1;
*/
public Builder setName(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
name_ = value;
onChanged();
return this;
}
/**
* string name = 1;
*/
public Builder clearName() {
name_ = getDefaultInstance().getName();
onChanged();
return this;
}
/**
* string name = 1;
*/
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 value_ = "";
/**
* string value = 2;
*/
public java.lang.String getValue() {
java.lang.Object ref = value_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
value_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string value = 2;
*/
public com.google.protobuf.ByteString
getValueBytes() {
java.lang.Object ref = value_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
value_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string value = 2;
*/
public Builder setValue(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
value_ = value;
onChanged();
return this;
}
/**
* string value = 2;
*/
public Builder clearValue() {
value_ = getDefaultInstance().getValue();
onChanged();
return this;
}
/**
* string value = 2;
*/
public Builder setValueBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
value_ = value;
onChanged();
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:configpb.ConfigEntry)
}
// @@protoc_insertion_point(class_scope:configpb.ConfigEntry)
private static final configpb.Configpb.ConfigEntry DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new configpb.Configpb.ConfigEntry();
}
public static configpb.Configpb.ConfigEntry getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
public ConfigEntry parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new ConfigEntry(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
public configpb.Configpb.ConfigEntry getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface LocalConfigOrBuilder extends
// @@protoc_insertion_point(interface_extends:configpb.LocalConfig)
com.google.protobuf.MessageOrBuilder {
/**
* .configpb.Version version = 1;
*/
boolean hasVersion();
/**
* .configpb.Version version = 1;
*/
configpb.Configpb.Version getVersion();
/**
* .configpb.Version version = 1;
*/
configpb.Configpb.VersionOrBuilder getVersionOrBuilder();
/**
* string component = 2;
*/
java.lang.String getComponent();
/**
* string component = 2;
*/
com.google.protobuf.ByteString
getComponentBytes();
/**
* string component_id = 3;
*/
java.lang.String getComponentId();
/**
* string component_id = 3;
*/
com.google.protobuf.ByteString
getComponentIdBytes();
/**
* string config = 4;
*/
java.lang.String getConfig();
/**
* string config = 4;
*/
com.google.protobuf.ByteString
getConfigBytes();
}
/**
* Protobuf type {@code configpb.LocalConfig}
*/
public static final class LocalConfig extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:configpb.LocalConfig)
LocalConfigOrBuilder {
private static final long serialVersionUID = 0L;
// Use LocalConfig.newBuilder() to construct.
private LocalConfig(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private LocalConfig() {
component_ = "";
componentId_ = "";
config_ = "";
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private LocalConfig(
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: {
configpb.Configpb.Version.Builder subBuilder = null;
if (version_ != null) {
subBuilder = version_.toBuilder();
}
version_ = input.readMessage(configpb.Configpb.Version.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(version_);
version_ = subBuilder.buildPartial();
}
break;
}
case 18: {
java.lang.String s = input.readStringRequireUtf8();
component_ = s;
break;
}
case 26: {
java.lang.String s = input.readStringRequireUtf8();
componentId_ = s;
break;
}
case 34: {
java.lang.String s = input.readStringRequireUtf8();
config_ = s;
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 configpb.Configpb.internal_static_configpb_LocalConfig_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return configpb.Configpb.internal_static_configpb_LocalConfig_fieldAccessorTable
.ensureFieldAccessorsInitialized(
configpb.Configpb.LocalConfig.class, configpb.Configpb.LocalConfig.Builder.class);
}
public static final int VERSION_FIELD_NUMBER = 1;
private configpb.Configpb.Version version_;
/**
* .configpb.Version version = 1;
*/
public boolean hasVersion() {
return version_ != null;
}
/**
* .configpb.Version version = 1;
*/
public configpb.Configpb.Version getVersion() {
return version_ == null ? configpb.Configpb.Version.getDefaultInstance() : version_;
}
/**
* .configpb.Version version = 1;
*/
public configpb.Configpb.VersionOrBuilder getVersionOrBuilder() {
return getVersion();
}
public static final int COMPONENT_FIELD_NUMBER = 2;
private volatile java.lang.Object component_;
/**
* string component = 2;
*/
public java.lang.String getComponent() {
java.lang.Object ref = component_;
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();
component_ = s;
return s;
}
}
/**
* string component = 2;
*/
public com.google.protobuf.ByteString
getComponentBytes() {
java.lang.Object ref = component_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
component_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int COMPONENT_ID_FIELD_NUMBER = 3;
private volatile java.lang.Object componentId_;
/**
* string component_id = 3;
*/
public java.lang.String getComponentId() {
java.lang.Object ref = componentId_;
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();
componentId_ = s;
return s;
}
}
/**
* string component_id = 3;
*/
public com.google.protobuf.ByteString
getComponentIdBytes() {
java.lang.Object ref = componentId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
componentId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int CONFIG_FIELD_NUMBER = 4;
private volatile java.lang.Object config_;
/**
* string config = 4;
*/
public java.lang.String getConfig() {
java.lang.Object ref = config_;
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();
config_ = s;
return s;
}
}
/**
* string config = 4;
*/
public com.google.protobuf.ByteString
getConfigBytes() {
java.lang.Object ref = config_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
config_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
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 (version_ != null) {
output.writeMessage(1, getVersion());
}
if (!getComponentBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, component_);
}
if (!getComponentIdBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, componentId_);
}
if (!getConfigBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, config_);
}
unknownFields.writeTo(output);
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (version_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getVersion());
}
if (!getComponentBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, component_);
}
if (!getComponentIdBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, componentId_);
}
if (!getConfigBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, config_);
}
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 configpb.Configpb.LocalConfig)) {
return super.equals(obj);
}
configpb.Configpb.LocalConfig other = (configpb.Configpb.LocalConfig) obj;
boolean result = true;
result = result && (hasVersion() == other.hasVersion());
if (hasVersion()) {
result = result && getVersion()
.equals(other.getVersion());
}
result = result && getComponent()
.equals(other.getComponent());
result = result && getComponentId()
.equals(other.getComponentId());
result = result && getConfig()
.equals(other.getConfig());
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 (hasVersion()) {
hash = (37 * hash) + VERSION_FIELD_NUMBER;
hash = (53 * hash) + getVersion().hashCode();
}
hash = (37 * hash) + COMPONENT_FIELD_NUMBER;
hash = (53 * hash) + getComponent().hashCode();
hash = (37 * hash) + COMPONENT_ID_FIELD_NUMBER;
hash = (53 * hash) + getComponentId().hashCode();
hash = (37 * hash) + CONFIG_FIELD_NUMBER;
hash = (53 * hash) + getConfig().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static configpb.Configpb.LocalConfig parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static configpb.Configpb.LocalConfig parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static configpb.Configpb.LocalConfig parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static configpb.Configpb.LocalConfig parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static configpb.Configpb.LocalConfig parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static configpb.Configpb.LocalConfig parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static configpb.Configpb.LocalConfig parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static configpb.Configpb.LocalConfig 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 configpb.Configpb.LocalConfig parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static configpb.Configpb.LocalConfig 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 configpb.Configpb.LocalConfig parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static configpb.Configpb.LocalConfig 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(configpb.Configpb.LocalConfig 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 configpb.LocalConfig}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:configpb.LocalConfig)
configpb.Configpb.LocalConfigOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return configpb.Configpb.internal_static_configpb_LocalConfig_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return configpb.Configpb.internal_static_configpb_LocalConfig_fieldAccessorTable
.ensureFieldAccessorsInitialized(
configpb.Configpb.LocalConfig.class, configpb.Configpb.LocalConfig.Builder.class);
}
// Construct using configpb.Configpb.LocalConfig.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 (versionBuilder_ == null) {
version_ = null;
} else {
version_ = null;
versionBuilder_ = null;
}
component_ = "";
componentId_ = "";
config_ = "";
return this;
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return configpb.Configpb.internal_static_configpb_LocalConfig_descriptor;
}
public configpb.Configpb.LocalConfig getDefaultInstanceForType() {
return configpb.Configpb.LocalConfig.getDefaultInstance();
}
public configpb.Configpb.LocalConfig build() {
configpb.Configpb.LocalConfig result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public configpb.Configpb.LocalConfig buildPartial() {
configpb.Configpb.LocalConfig result = new configpb.Configpb.LocalConfig(this);
if (versionBuilder_ == null) {
result.version_ = version_;
} else {
result.version_ = versionBuilder_.build();
}
result.component_ = component_;
result.componentId_ = componentId_;
result.config_ = config_;
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 configpb.Configpb.LocalConfig) {
return mergeFrom((configpb.Configpb.LocalConfig)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(configpb.Configpb.LocalConfig other) {
if (other == configpb.Configpb.LocalConfig.getDefaultInstance()) return this;
if (other.hasVersion()) {
mergeVersion(other.getVersion());
}
if (!other.getComponent().isEmpty()) {
component_ = other.component_;
onChanged();
}
if (!other.getComponentId().isEmpty()) {
componentId_ = other.componentId_;
onChanged();
}
if (!other.getConfig().isEmpty()) {
config_ = other.config_;
onChanged();
}
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 {
configpb.Configpb.LocalConfig parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (configpb.Configpb.LocalConfig) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private configpb.Configpb.Version version_ = null;
private com.google.protobuf.SingleFieldBuilderV3<
configpb.Configpb.Version, configpb.Configpb.Version.Builder, configpb.Configpb.VersionOrBuilder> versionBuilder_;
/**
* .configpb.Version version = 1;
*/
public boolean hasVersion() {
return versionBuilder_ != null || version_ != null;
}
/**
* .configpb.Version version = 1;
*/
public configpb.Configpb.Version getVersion() {
if (versionBuilder_ == null) {
return version_ == null ? configpb.Configpb.Version.getDefaultInstance() : version_;
} else {
return versionBuilder_.getMessage();
}
}
/**
* .configpb.Version version = 1;
*/
public Builder setVersion(configpb.Configpb.Version value) {
if (versionBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
version_ = value;
onChanged();
} else {
versionBuilder_.setMessage(value);
}
return this;
}
/**
* .configpb.Version version = 1;
*/
public Builder setVersion(
configpb.Configpb.Version.Builder builderForValue) {
if (versionBuilder_ == null) {
version_ = builderForValue.build();
onChanged();
} else {
versionBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .configpb.Version version = 1;
*/
public Builder mergeVersion(configpb.Configpb.Version value) {
if (versionBuilder_ == null) {
if (version_ != null) {
version_ =
configpb.Configpb.Version.newBuilder(version_).mergeFrom(value).buildPartial();
} else {
version_ = value;
}
onChanged();
} else {
versionBuilder_.mergeFrom(value);
}
return this;
}
/**
* .configpb.Version version = 1;
*/
public Builder clearVersion() {
if (versionBuilder_ == null) {
version_ = null;
onChanged();
} else {
version_ = null;
versionBuilder_ = null;
}
return this;
}
/**
* .configpb.Version version = 1;
*/
public configpb.Configpb.Version.Builder getVersionBuilder() {
onChanged();
return getVersionFieldBuilder().getBuilder();
}
/**
* .configpb.Version version = 1;
*/
public configpb.Configpb.VersionOrBuilder getVersionOrBuilder() {
if (versionBuilder_ != null) {
return versionBuilder_.getMessageOrBuilder();
} else {
return version_ == null ?
configpb.Configpb.Version.getDefaultInstance() : version_;
}
}
/**
* .configpb.Version version = 1;
*/
private com.google.protobuf.SingleFieldBuilderV3<
configpb.Configpb.Version, configpb.Configpb.Version.Builder, configpb.Configpb.VersionOrBuilder>
getVersionFieldBuilder() {
if (versionBuilder_ == null) {
versionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
configpb.Configpb.Version, configpb.Configpb.Version.Builder, configpb.Configpb.VersionOrBuilder>(
getVersion(),
getParentForChildren(),
isClean());
version_ = null;
}
return versionBuilder_;
}
private java.lang.Object component_ = "";
/**
* string component = 2;
*/
public java.lang.String getComponent() {
java.lang.Object ref = component_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
component_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string component = 2;
*/
public com.google.protobuf.ByteString
getComponentBytes() {
java.lang.Object ref = component_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
component_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string component = 2;
*/
public Builder setComponent(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
component_ = value;
onChanged();
return this;
}
/**
* string component = 2;
*/
public Builder clearComponent() {
component_ = getDefaultInstance().getComponent();
onChanged();
return this;
}
/**
* string component = 2;
*/
public Builder setComponentBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
component_ = value;
onChanged();
return this;
}
private java.lang.Object componentId_ = "";
/**
* string component_id = 3;
*/
public java.lang.String getComponentId() {
java.lang.Object ref = componentId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
componentId_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string component_id = 3;
*/
public com.google.protobuf.ByteString
getComponentIdBytes() {
java.lang.Object ref = componentId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
componentId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string component_id = 3;
*/
public Builder setComponentId(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
componentId_ = value;
onChanged();
return this;
}
/**
* string component_id = 3;
*/
public Builder clearComponentId() {
componentId_ = getDefaultInstance().getComponentId();
onChanged();
return this;
}
/**
* string component_id = 3;
*/
public Builder setComponentIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
componentId_ = value;
onChanged();
return this;
}
private java.lang.Object config_ = "";
/**
* string config = 4;
*/
public java.lang.String getConfig() {
java.lang.Object ref = config_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
config_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string config = 4;
*/
public com.google.protobuf.ByteString
getConfigBytes() {
java.lang.Object ref = config_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
config_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string config = 4;
*/
public Builder setConfig(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
config_ = value;
onChanged();
return this;
}
/**
* string config = 4;
*/
public Builder clearConfig() {
config_ = getDefaultInstance().getConfig();
onChanged();
return this;
}
/**
* string config = 4;
*/
public Builder setConfigBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
config_ = value;
onChanged();
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:configpb.LocalConfig)
}
// @@protoc_insertion_point(class_scope:configpb.LocalConfig)
private static final configpb.Configpb.LocalConfig DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new configpb.Configpb.LocalConfig();
}
public static configpb.Configpb.LocalConfig getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
public LocalConfig parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new LocalConfig(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
public configpb.Configpb.LocalConfig getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface HeaderOrBuilder extends
// @@protoc_insertion_point(interface_extends:configpb.Header)
com.google.protobuf.MessageOrBuilder {
/**
* uint64 cluster_id = 1;
*/
long getClusterId();
}
/**
* Protobuf type {@code configpb.Header}
*/
public static final class Header extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:configpb.Header)
HeaderOrBuilder {
private static final long serialVersionUID = 0L;
// Use Header.newBuilder() to construct.
private Header(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private Header() {
clusterId_ = 0L;
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private Header(
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 8: {
clusterId_ = input.readUInt64();
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 configpb.Configpb.internal_static_configpb_Header_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return configpb.Configpb.internal_static_configpb_Header_fieldAccessorTable
.ensureFieldAccessorsInitialized(
configpb.Configpb.Header.class, configpb.Configpb.Header.Builder.class);
}
public static final int CLUSTER_ID_FIELD_NUMBER = 1;
private long clusterId_;
/**
* uint64 cluster_id = 1;
*/
public long getClusterId() {
return clusterId_;
}
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 (clusterId_ != 0L) {
output.writeUInt64(1, clusterId_);
}
unknownFields.writeTo(output);
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (clusterId_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeUInt64Size(1, clusterId_);
}
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 configpb.Configpb.Header)) {
return super.equals(obj);
}
configpb.Configpb.Header other = (configpb.Configpb.Header) obj;
boolean result = true;
result = result && (getClusterId()
== other.getClusterId());
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 = (37 * hash) + CLUSTER_ID_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getClusterId());
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static configpb.Configpb.Header parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static configpb.Configpb.Header parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static configpb.Configpb.Header parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static configpb.Configpb.Header parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static configpb.Configpb.Header parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static configpb.Configpb.Header parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static configpb.Configpb.Header parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static configpb.Configpb.Header 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 configpb.Configpb.Header parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static configpb.Configpb.Header 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 configpb.Configpb.Header parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static configpb.Configpb.Header 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(configpb.Configpb.Header 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 configpb.Header}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:configpb.Header)
configpb.Configpb.HeaderOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return configpb.Configpb.internal_static_configpb_Header_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return configpb.Configpb.internal_static_configpb_Header_fieldAccessorTable
.ensureFieldAccessorsInitialized(
configpb.Configpb.Header.class, configpb.Configpb.Header.Builder.class);
}
// Construct using configpb.Configpb.Header.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();
clusterId_ = 0L;
return this;
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return configpb.Configpb.internal_static_configpb_Header_descriptor;
}
public configpb.Configpb.Header getDefaultInstanceForType() {
return configpb.Configpb.Header.getDefaultInstance();
}
public configpb.Configpb.Header build() {
configpb.Configpb.Header result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public configpb.Configpb.Header buildPartial() {
configpb.Configpb.Header result = new configpb.Configpb.Header(this);
result.clusterId_ = clusterId_;
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 configpb.Configpb.Header) {
return mergeFrom((configpb.Configpb.Header)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(configpb.Configpb.Header other) {
if (other == configpb.Configpb.Header.getDefaultInstance()) return this;
if (other.getClusterId() != 0L) {
setClusterId(other.getClusterId());
}
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 {
configpb.Configpb.Header parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (configpb.Configpb.Header) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private long clusterId_ ;
/**
* uint64 cluster_id = 1;
*/
public long getClusterId() {
return clusterId_;
}
/**
* uint64 cluster_id = 1;
*/
public Builder setClusterId(long value) {
clusterId_ = value;
onChanged();
return this;
}
/**
* uint64 cluster_id = 1;
*/
public Builder clearClusterId() {
clusterId_ = 0L;
onChanged();
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:configpb.Header)
}
// @@protoc_insertion_point(class_scope:configpb.Header)
private static final configpb.Configpb.Header DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new configpb.Configpb.Header();
}
public static configpb.Configpb.Header getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
public Header parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new Header(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
public configpb.Configpb.Header getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface CreateRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:configpb.CreateRequest)
com.google.protobuf.MessageOrBuilder {
/**
* .configpb.Header header = 1;
*/
boolean hasHeader();
/**
* .configpb.Header header = 1;
*/
configpb.Configpb.Header getHeader();
/**
* .configpb.Header header = 1;
*/
configpb.Configpb.HeaderOrBuilder getHeaderOrBuilder();
/**
* .configpb.Version version = 2;
*/
boolean hasVersion();
/**
* .configpb.Version version = 2;
*/
configpb.Configpb.Version getVersion();
/**
* .configpb.Version version = 2;
*/
configpb.Configpb.VersionOrBuilder getVersionOrBuilder();
/**
* string component = 3;
*/
java.lang.String getComponent();
/**
* string component = 3;
*/
com.google.protobuf.ByteString
getComponentBytes();
/**
* string component_id = 4;
*/
java.lang.String getComponentId();
/**
* string component_id = 4;
*/
com.google.protobuf.ByteString
getComponentIdBytes();
/**
* string config = 5;
*/
java.lang.String getConfig();
/**
* string config = 5;
*/
com.google.protobuf.ByteString
getConfigBytes();
}
/**
* Protobuf type {@code configpb.CreateRequest}
*/
public static final class CreateRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:configpb.CreateRequest)
CreateRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use CreateRequest.newBuilder() to construct.
private CreateRequest(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private CreateRequest() {
component_ = "";
componentId_ = "";
config_ = "";
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private CreateRequest(
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: {
configpb.Configpb.Header.Builder subBuilder = null;
if (header_ != null) {
subBuilder = header_.toBuilder();
}
header_ = input.readMessage(configpb.Configpb.Header.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(header_);
header_ = subBuilder.buildPartial();
}
break;
}
case 18: {
configpb.Configpb.Version.Builder subBuilder = null;
if (version_ != null) {
subBuilder = version_.toBuilder();
}
version_ = input.readMessage(configpb.Configpb.Version.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(version_);
version_ = subBuilder.buildPartial();
}
break;
}
case 26: {
java.lang.String s = input.readStringRequireUtf8();
component_ = s;
break;
}
case 34: {
java.lang.String s = input.readStringRequireUtf8();
componentId_ = s;
break;
}
case 42: {
java.lang.String s = input.readStringRequireUtf8();
config_ = s;
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 configpb.Configpb.internal_static_configpb_CreateRequest_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return configpb.Configpb.internal_static_configpb_CreateRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
configpb.Configpb.CreateRequest.class, configpb.Configpb.CreateRequest.Builder.class);
}
public static final int HEADER_FIELD_NUMBER = 1;
private configpb.Configpb.Header header_;
/**
* .configpb.Header header = 1;
*/
public boolean hasHeader() {
return header_ != null;
}
/**
* .configpb.Header header = 1;
*/
public configpb.Configpb.Header getHeader() {
return header_ == null ? configpb.Configpb.Header.getDefaultInstance() : header_;
}
/**
* .configpb.Header header = 1;
*/
public configpb.Configpb.HeaderOrBuilder getHeaderOrBuilder() {
return getHeader();
}
public static final int VERSION_FIELD_NUMBER = 2;
private configpb.Configpb.Version version_;
/**
* .configpb.Version version = 2;
*/
public boolean hasVersion() {
return version_ != null;
}
/**
* .configpb.Version version = 2;
*/
public configpb.Configpb.Version getVersion() {
return version_ == null ? configpb.Configpb.Version.getDefaultInstance() : version_;
}
/**
* .configpb.Version version = 2;
*/
public configpb.Configpb.VersionOrBuilder getVersionOrBuilder() {
return getVersion();
}
public static final int COMPONENT_FIELD_NUMBER = 3;
private volatile java.lang.Object component_;
/**
* string component = 3;
*/
public java.lang.String getComponent() {
java.lang.Object ref = component_;
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();
component_ = s;
return s;
}
}
/**
* string component = 3;
*/
public com.google.protobuf.ByteString
getComponentBytes() {
java.lang.Object ref = component_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
component_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int COMPONENT_ID_FIELD_NUMBER = 4;
private volatile java.lang.Object componentId_;
/**
* string component_id = 4;
*/
public java.lang.String getComponentId() {
java.lang.Object ref = componentId_;
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();
componentId_ = s;
return s;
}
}
/**
* string component_id = 4;
*/
public com.google.protobuf.ByteString
getComponentIdBytes() {
java.lang.Object ref = componentId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
componentId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int CONFIG_FIELD_NUMBER = 5;
private volatile java.lang.Object config_;
/**
* string config = 5;
*/
public java.lang.String getConfig() {
java.lang.Object ref = config_;
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();
config_ = s;
return s;
}
}
/**
* string config = 5;
*/
public com.google.protobuf.ByteString
getConfigBytes() {
java.lang.Object ref = config_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
config_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
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 (header_ != null) {
output.writeMessage(1, getHeader());
}
if (version_ != null) {
output.writeMessage(2, getVersion());
}
if (!getComponentBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, component_);
}
if (!getComponentIdBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, componentId_);
}
if (!getConfigBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 5, config_);
}
unknownFields.writeTo(output);
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (header_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getHeader());
}
if (version_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, getVersion());
}
if (!getComponentBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, component_);
}
if (!getComponentIdBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, componentId_);
}
if (!getConfigBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, config_);
}
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 configpb.Configpb.CreateRequest)) {
return super.equals(obj);
}
configpb.Configpb.CreateRequest other = (configpb.Configpb.CreateRequest) obj;
boolean result = true;
result = result && (hasHeader() == other.hasHeader());
if (hasHeader()) {
result = result && getHeader()
.equals(other.getHeader());
}
result = result && (hasVersion() == other.hasVersion());
if (hasVersion()) {
result = result && getVersion()
.equals(other.getVersion());
}
result = result && getComponent()
.equals(other.getComponent());
result = result && getComponentId()
.equals(other.getComponentId());
result = result && getConfig()
.equals(other.getConfig());
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 (hasHeader()) {
hash = (37 * hash) + HEADER_FIELD_NUMBER;
hash = (53 * hash) + getHeader().hashCode();
}
if (hasVersion()) {
hash = (37 * hash) + VERSION_FIELD_NUMBER;
hash = (53 * hash) + getVersion().hashCode();
}
hash = (37 * hash) + COMPONENT_FIELD_NUMBER;
hash = (53 * hash) + getComponent().hashCode();
hash = (37 * hash) + COMPONENT_ID_FIELD_NUMBER;
hash = (53 * hash) + getComponentId().hashCode();
hash = (37 * hash) + CONFIG_FIELD_NUMBER;
hash = (53 * hash) + getConfig().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static configpb.Configpb.CreateRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static configpb.Configpb.CreateRequest parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static configpb.Configpb.CreateRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static configpb.Configpb.CreateRequest parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static configpb.Configpb.CreateRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static configpb.Configpb.CreateRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static configpb.Configpb.CreateRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static configpb.Configpb.CreateRequest 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 configpb.Configpb.CreateRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static configpb.Configpb.CreateRequest 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 configpb.Configpb.CreateRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static configpb.Configpb.CreateRequest 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(configpb.Configpb.CreateRequest 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 configpb.CreateRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:configpb.CreateRequest)
configpb.Configpb.CreateRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return configpb.Configpb.internal_static_configpb_CreateRequest_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return configpb.Configpb.internal_static_configpb_CreateRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
configpb.Configpb.CreateRequest.class, configpb.Configpb.CreateRequest.Builder.class);
}
// Construct using configpb.Configpb.CreateRequest.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 (headerBuilder_ == null) {
header_ = null;
} else {
header_ = null;
headerBuilder_ = null;
}
if (versionBuilder_ == null) {
version_ = null;
} else {
version_ = null;
versionBuilder_ = null;
}
component_ = "";
componentId_ = "";
config_ = "";
return this;
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return configpb.Configpb.internal_static_configpb_CreateRequest_descriptor;
}
public configpb.Configpb.CreateRequest getDefaultInstanceForType() {
return configpb.Configpb.CreateRequest.getDefaultInstance();
}
public configpb.Configpb.CreateRequest build() {
configpb.Configpb.CreateRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public configpb.Configpb.CreateRequest buildPartial() {
configpb.Configpb.CreateRequest result = new configpb.Configpb.CreateRequest(this);
if (headerBuilder_ == null) {
result.header_ = header_;
} else {
result.header_ = headerBuilder_.build();
}
if (versionBuilder_ == null) {
result.version_ = version_;
} else {
result.version_ = versionBuilder_.build();
}
result.component_ = component_;
result.componentId_ = componentId_;
result.config_ = config_;
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 configpb.Configpb.CreateRequest) {
return mergeFrom((configpb.Configpb.CreateRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(configpb.Configpb.CreateRequest other) {
if (other == configpb.Configpb.CreateRequest.getDefaultInstance()) return this;
if (other.hasHeader()) {
mergeHeader(other.getHeader());
}
if (other.hasVersion()) {
mergeVersion(other.getVersion());
}
if (!other.getComponent().isEmpty()) {
component_ = other.component_;
onChanged();
}
if (!other.getComponentId().isEmpty()) {
componentId_ = other.componentId_;
onChanged();
}
if (!other.getConfig().isEmpty()) {
config_ = other.config_;
onChanged();
}
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 {
configpb.Configpb.CreateRequest parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (configpb.Configpb.CreateRequest) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private configpb.Configpb.Header header_ = null;
private com.google.protobuf.SingleFieldBuilderV3<
configpb.Configpb.Header, configpb.Configpb.Header.Builder, configpb.Configpb.HeaderOrBuilder> headerBuilder_;
/**
* .configpb.Header header = 1;
*/
public boolean hasHeader() {
return headerBuilder_ != null || header_ != null;
}
/**
* .configpb.Header header = 1;
*/
public configpb.Configpb.Header getHeader() {
if (headerBuilder_ == null) {
return header_ == null ? configpb.Configpb.Header.getDefaultInstance() : header_;
} else {
return headerBuilder_.getMessage();
}
}
/**
* .configpb.Header header = 1;
*/
public Builder setHeader(configpb.Configpb.Header value) {
if (headerBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
header_ = value;
onChanged();
} else {
headerBuilder_.setMessage(value);
}
return this;
}
/**
* .configpb.Header header = 1;
*/
public Builder setHeader(
configpb.Configpb.Header.Builder builderForValue) {
if (headerBuilder_ == null) {
header_ = builderForValue.build();
onChanged();
} else {
headerBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .configpb.Header header = 1;
*/
public Builder mergeHeader(configpb.Configpb.Header value) {
if (headerBuilder_ == null) {
if (header_ != null) {
header_ =
configpb.Configpb.Header.newBuilder(header_).mergeFrom(value).buildPartial();
} else {
header_ = value;
}
onChanged();
} else {
headerBuilder_.mergeFrom(value);
}
return this;
}
/**
* .configpb.Header header = 1;
*/
public Builder clearHeader() {
if (headerBuilder_ == null) {
header_ = null;
onChanged();
} else {
header_ = null;
headerBuilder_ = null;
}
return this;
}
/**
* .configpb.Header header = 1;
*/
public configpb.Configpb.Header.Builder getHeaderBuilder() {
onChanged();
return getHeaderFieldBuilder().getBuilder();
}
/**
* .configpb.Header header = 1;
*/
public configpb.Configpb.HeaderOrBuilder getHeaderOrBuilder() {
if (headerBuilder_ != null) {
return headerBuilder_.getMessageOrBuilder();
} else {
return header_ == null ?
configpb.Configpb.Header.getDefaultInstance() : header_;
}
}
/**
* .configpb.Header header = 1;
*/
private com.google.protobuf.SingleFieldBuilderV3<
configpb.Configpb.Header, configpb.Configpb.Header.Builder, configpb.Configpb.HeaderOrBuilder>
getHeaderFieldBuilder() {
if (headerBuilder_ == null) {
headerBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
configpb.Configpb.Header, configpb.Configpb.Header.Builder, configpb.Configpb.HeaderOrBuilder>(
getHeader(),
getParentForChildren(),
isClean());
header_ = null;
}
return headerBuilder_;
}
private configpb.Configpb.Version version_ = null;
private com.google.protobuf.SingleFieldBuilderV3<
configpb.Configpb.Version, configpb.Configpb.Version.Builder, configpb.Configpb.VersionOrBuilder> versionBuilder_;
/**
* .configpb.Version version = 2;
*/
public boolean hasVersion() {
return versionBuilder_ != null || version_ != null;
}
/**
* .configpb.Version version = 2;
*/
public configpb.Configpb.Version getVersion() {
if (versionBuilder_ == null) {
return version_ == null ? configpb.Configpb.Version.getDefaultInstance() : version_;
} else {
return versionBuilder_.getMessage();
}
}
/**
* .configpb.Version version = 2;
*/
public Builder setVersion(configpb.Configpb.Version value) {
if (versionBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
version_ = value;
onChanged();
} else {
versionBuilder_.setMessage(value);
}
return this;
}
/**
* .configpb.Version version = 2;
*/
public Builder setVersion(
configpb.Configpb.Version.Builder builderForValue) {
if (versionBuilder_ == null) {
version_ = builderForValue.build();
onChanged();
} else {
versionBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .configpb.Version version = 2;
*/
public Builder mergeVersion(configpb.Configpb.Version value) {
if (versionBuilder_ == null) {
if (version_ != null) {
version_ =
configpb.Configpb.Version.newBuilder(version_).mergeFrom(value).buildPartial();
} else {
version_ = value;
}
onChanged();
} else {
versionBuilder_.mergeFrom(value);
}
return this;
}
/**
* .configpb.Version version = 2;
*/
public Builder clearVersion() {
if (versionBuilder_ == null) {
version_ = null;
onChanged();
} else {
version_ = null;
versionBuilder_ = null;
}
return this;
}
/**
* .configpb.Version version = 2;
*/
public configpb.Configpb.Version.Builder getVersionBuilder() {
onChanged();
return getVersionFieldBuilder().getBuilder();
}
/**
* .configpb.Version version = 2;
*/
public configpb.Configpb.VersionOrBuilder getVersionOrBuilder() {
if (versionBuilder_ != null) {
return versionBuilder_.getMessageOrBuilder();
} else {
return version_ == null ?
configpb.Configpb.Version.getDefaultInstance() : version_;
}
}
/**
* .configpb.Version version = 2;
*/
private com.google.protobuf.SingleFieldBuilderV3<
configpb.Configpb.Version, configpb.Configpb.Version.Builder, configpb.Configpb.VersionOrBuilder>
getVersionFieldBuilder() {
if (versionBuilder_ == null) {
versionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
configpb.Configpb.Version, configpb.Configpb.Version.Builder, configpb.Configpb.VersionOrBuilder>(
getVersion(),
getParentForChildren(),
isClean());
version_ = null;
}
return versionBuilder_;
}
private java.lang.Object component_ = "";
/**
* string component = 3;
*/
public java.lang.String getComponent() {
java.lang.Object ref = component_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
component_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string component = 3;
*/
public com.google.protobuf.ByteString
getComponentBytes() {
java.lang.Object ref = component_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
component_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string component = 3;
*/
public Builder setComponent(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
component_ = value;
onChanged();
return this;
}
/**
* string component = 3;
*/
public Builder clearComponent() {
component_ = getDefaultInstance().getComponent();
onChanged();
return this;
}
/**
* string component = 3;
*/
public Builder setComponentBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
component_ = value;
onChanged();
return this;
}
private java.lang.Object componentId_ = "";
/**
* string component_id = 4;
*/
public java.lang.String getComponentId() {
java.lang.Object ref = componentId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
componentId_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string component_id = 4;
*/
public com.google.protobuf.ByteString
getComponentIdBytes() {
java.lang.Object ref = componentId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
componentId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string component_id = 4;
*/
public Builder setComponentId(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
componentId_ = value;
onChanged();
return this;
}
/**
* string component_id = 4;
*/
public Builder clearComponentId() {
componentId_ = getDefaultInstance().getComponentId();
onChanged();
return this;
}
/**
* string component_id = 4;
*/
public Builder setComponentIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
componentId_ = value;
onChanged();
return this;
}
private java.lang.Object config_ = "";
/**
* string config = 5;
*/
public java.lang.String getConfig() {
java.lang.Object ref = config_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
config_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string config = 5;
*/
public com.google.protobuf.ByteString
getConfigBytes() {
java.lang.Object ref = config_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
config_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string config = 5;
*/
public Builder setConfig(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
config_ = value;
onChanged();
return this;
}
/**
* string config = 5;
*/
public Builder clearConfig() {
config_ = getDefaultInstance().getConfig();
onChanged();
return this;
}
/**
* string config = 5;
*/
public Builder setConfigBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
config_ = value;
onChanged();
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:configpb.CreateRequest)
}
// @@protoc_insertion_point(class_scope:configpb.CreateRequest)
private static final configpb.Configpb.CreateRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new configpb.Configpb.CreateRequest();
}
public static configpb.Configpb.CreateRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
public CreateRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new CreateRequest(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
public configpb.Configpb.CreateRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface CreateResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:configpb.CreateResponse)
com.google.protobuf.MessageOrBuilder {
/**
* .configpb.Header header = 1;
*/
boolean hasHeader();
/**
* .configpb.Header header = 1;
*/
configpb.Configpb.Header getHeader();
/**
* .configpb.Header header = 1;
*/
configpb.Configpb.HeaderOrBuilder getHeaderOrBuilder();
/**
* .configpb.Status status = 2;
*/
boolean hasStatus();
/**
* .configpb.Status status = 2;
*/
configpb.Configpb.Status getStatus();
/**
* .configpb.Status status = 2;
*/
configpb.Configpb.StatusOrBuilder getStatusOrBuilder();
/**
* .configpb.Version version = 3;
*/
boolean hasVersion();
/**
* .configpb.Version version = 3;
*/
configpb.Configpb.Version getVersion();
/**
* .configpb.Version version = 3;
*/
configpb.Configpb.VersionOrBuilder getVersionOrBuilder();
/**
* string config = 4;
*/
java.lang.String getConfig();
/**
* string config = 4;
*/
com.google.protobuf.ByteString
getConfigBytes();
}
/**
* Protobuf type {@code configpb.CreateResponse}
*/
public static final class CreateResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:configpb.CreateResponse)
CreateResponseOrBuilder {
private static final long serialVersionUID = 0L;
// Use CreateResponse.newBuilder() to construct.
private CreateResponse(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private CreateResponse() {
config_ = "";
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private CreateResponse(
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: {
configpb.Configpb.Header.Builder subBuilder = null;
if (header_ != null) {
subBuilder = header_.toBuilder();
}
header_ = input.readMessage(configpb.Configpb.Header.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(header_);
header_ = subBuilder.buildPartial();
}
break;
}
case 18: {
configpb.Configpb.Status.Builder subBuilder = null;
if (status_ != null) {
subBuilder = status_.toBuilder();
}
status_ = input.readMessage(configpb.Configpb.Status.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(status_);
status_ = subBuilder.buildPartial();
}
break;
}
case 26: {
configpb.Configpb.Version.Builder subBuilder = null;
if (version_ != null) {
subBuilder = version_.toBuilder();
}
version_ = input.readMessage(configpb.Configpb.Version.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(version_);
version_ = subBuilder.buildPartial();
}
break;
}
case 34: {
java.lang.String s = input.readStringRequireUtf8();
config_ = s;
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 configpb.Configpb.internal_static_configpb_CreateResponse_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return configpb.Configpb.internal_static_configpb_CreateResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
configpb.Configpb.CreateResponse.class, configpb.Configpb.CreateResponse.Builder.class);
}
public static final int HEADER_FIELD_NUMBER = 1;
private configpb.Configpb.Header header_;
/**
* .configpb.Header header = 1;
*/
public boolean hasHeader() {
return header_ != null;
}
/**
* .configpb.Header header = 1;
*/
public configpb.Configpb.Header getHeader() {
return header_ == null ? configpb.Configpb.Header.getDefaultInstance() : header_;
}
/**
* .configpb.Header header = 1;
*/
public configpb.Configpb.HeaderOrBuilder getHeaderOrBuilder() {
return getHeader();
}
public static final int STATUS_FIELD_NUMBER = 2;
private configpb.Configpb.Status status_;
/**
* .configpb.Status status = 2;
*/
public boolean hasStatus() {
return status_ != null;
}
/**
* .configpb.Status status = 2;
*/
public configpb.Configpb.Status getStatus() {
return status_ == null ? configpb.Configpb.Status.getDefaultInstance() : status_;
}
/**
* .configpb.Status status = 2;
*/
public configpb.Configpb.StatusOrBuilder getStatusOrBuilder() {
return getStatus();
}
public static final int VERSION_FIELD_NUMBER = 3;
private configpb.Configpb.Version version_;
/**
* .configpb.Version version = 3;
*/
public boolean hasVersion() {
return version_ != null;
}
/**
* .configpb.Version version = 3;
*/
public configpb.Configpb.Version getVersion() {
return version_ == null ? configpb.Configpb.Version.getDefaultInstance() : version_;
}
/**
* .configpb.Version version = 3;
*/
public configpb.Configpb.VersionOrBuilder getVersionOrBuilder() {
return getVersion();
}
public static final int CONFIG_FIELD_NUMBER = 4;
private volatile java.lang.Object config_;
/**
* string config = 4;
*/
public java.lang.String getConfig() {
java.lang.Object ref = config_;
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();
config_ = s;
return s;
}
}
/**
* string config = 4;
*/
public com.google.protobuf.ByteString
getConfigBytes() {
java.lang.Object ref = config_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
config_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
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 (header_ != null) {
output.writeMessage(1, getHeader());
}
if (status_ != null) {
output.writeMessage(2, getStatus());
}
if (version_ != null) {
output.writeMessage(3, getVersion());
}
if (!getConfigBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, config_);
}
unknownFields.writeTo(output);
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (header_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getHeader());
}
if (status_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, getStatus());
}
if (version_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, getVersion());
}
if (!getConfigBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, config_);
}
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 configpb.Configpb.CreateResponse)) {
return super.equals(obj);
}
configpb.Configpb.CreateResponse other = (configpb.Configpb.CreateResponse) obj;
boolean result = true;
result = result && (hasHeader() == other.hasHeader());
if (hasHeader()) {
result = result && getHeader()
.equals(other.getHeader());
}
result = result && (hasStatus() == other.hasStatus());
if (hasStatus()) {
result = result && getStatus()
.equals(other.getStatus());
}
result = result && (hasVersion() == other.hasVersion());
if (hasVersion()) {
result = result && getVersion()
.equals(other.getVersion());
}
result = result && getConfig()
.equals(other.getConfig());
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 (hasHeader()) {
hash = (37 * hash) + HEADER_FIELD_NUMBER;
hash = (53 * hash) + getHeader().hashCode();
}
if (hasStatus()) {
hash = (37 * hash) + STATUS_FIELD_NUMBER;
hash = (53 * hash) + getStatus().hashCode();
}
if (hasVersion()) {
hash = (37 * hash) + VERSION_FIELD_NUMBER;
hash = (53 * hash) + getVersion().hashCode();
}
hash = (37 * hash) + CONFIG_FIELD_NUMBER;
hash = (53 * hash) + getConfig().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static configpb.Configpb.CreateResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static configpb.Configpb.CreateResponse parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static configpb.Configpb.CreateResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static configpb.Configpb.CreateResponse parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static configpb.Configpb.CreateResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static configpb.Configpb.CreateResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static configpb.Configpb.CreateResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static configpb.Configpb.CreateResponse 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 configpb.Configpb.CreateResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static configpb.Configpb.CreateResponse 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 configpb.Configpb.CreateResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static configpb.Configpb.CreateResponse 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(configpb.Configpb.CreateResponse 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 configpb.CreateResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:configpb.CreateResponse)
configpb.Configpb.CreateResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return configpb.Configpb.internal_static_configpb_CreateResponse_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return configpb.Configpb.internal_static_configpb_CreateResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
configpb.Configpb.CreateResponse.class, configpb.Configpb.CreateResponse.Builder.class);
}
// Construct using configpb.Configpb.CreateResponse.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 (headerBuilder_ == null) {
header_ = null;
} else {
header_ = null;
headerBuilder_ = null;
}
if (statusBuilder_ == null) {
status_ = null;
} else {
status_ = null;
statusBuilder_ = null;
}
if (versionBuilder_ == null) {
version_ = null;
} else {
version_ = null;
versionBuilder_ = null;
}
config_ = "";
return this;
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return configpb.Configpb.internal_static_configpb_CreateResponse_descriptor;
}
public configpb.Configpb.CreateResponse getDefaultInstanceForType() {
return configpb.Configpb.CreateResponse.getDefaultInstance();
}
public configpb.Configpb.CreateResponse build() {
configpb.Configpb.CreateResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public configpb.Configpb.CreateResponse buildPartial() {
configpb.Configpb.CreateResponse result = new configpb.Configpb.CreateResponse(this);
if (headerBuilder_ == null) {
result.header_ = header_;
} else {
result.header_ = headerBuilder_.build();
}
if (statusBuilder_ == null) {
result.status_ = status_;
} else {
result.status_ = statusBuilder_.build();
}
if (versionBuilder_ == null) {
result.version_ = version_;
} else {
result.version_ = versionBuilder_.build();
}
result.config_ = config_;
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 configpb.Configpb.CreateResponse) {
return mergeFrom((configpb.Configpb.CreateResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(configpb.Configpb.CreateResponse other) {
if (other == configpb.Configpb.CreateResponse.getDefaultInstance()) return this;
if (other.hasHeader()) {
mergeHeader(other.getHeader());
}
if (other.hasStatus()) {
mergeStatus(other.getStatus());
}
if (other.hasVersion()) {
mergeVersion(other.getVersion());
}
if (!other.getConfig().isEmpty()) {
config_ = other.config_;
onChanged();
}
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 {
configpb.Configpb.CreateResponse parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (configpb.Configpb.CreateResponse) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private configpb.Configpb.Header header_ = null;
private com.google.protobuf.SingleFieldBuilderV3<
configpb.Configpb.Header, configpb.Configpb.Header.Builder, configpb.Configpb.HeaderOrBuilder> headerBuilder_;
/**
* .configpb.Header header = 1;
*/
public boolean hasHeader() {
return headerBuilder_ != null || header_ != null;
}
/**
* .configpb.Header header = 1;
*/
public configpb.Configpb.Header getHeader() {
if (headerBuilder_ == null) {
return header_ == null ? configpb.Configpb.Header.getDefaultInstance() : header_;
} else {
return headerBuilder_.getMessage();
}
}
/**
* .configpb.Header header = 1;
*/
public Builder setHeader(configpb.Configpb.Header value) {
if (headerBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
header_ = value;
onChanged();
} else {
headerBuilder_.setMessage(value);
}
return this;
}
/**
* .configpb.Header header = 1;
*/
public Builder setHeader(
configpb.Configpb.Header.Builder builderForValue) {
if (headerBuilder_ == null) {
header_ = builderForValue.build();
onChanged();
} else {
headerBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .configpb.Header header = 1;
*/
public Builder mergeHeader(configpb.Configpb.Header value) {
if (headerBuilder_ == null) {
if (header_ != null) {
header_ =
configpb.Configpb.Header.newBuilder(header_).mergeFrom(value).buildPartial();
} else {
header_ = value;
}
onChanged();
} else {
headerBuilder_.mergeFrom(value);
}
return this;
}
/**
* .configpb.Header header = 1;
*/
public Builder clearHeader() {
if (headerBuilder_ == null) {
header_ = null;
onChanged();
} else {
header_ = null;
headerBuilder_ = null;
}
return this;
}
/**
* .configpb.Header header = 1;
*/
public configpb.Configpb.Header.Builder getHeaderBuilder() {
onChanged();
return getHeaderFieldBuilder().getBuilder();
}
/**
* .configpb.Header header = 1;
*/
public configpb.Configpb.HeaderOrBuilder getHeaderOrBuilder() {
if (headerBuilder_ != null) {
return headerBuilder_.getMessageOrBuilder();
} else {
return header_ == null ?
configpb.Configpb.Header.getDefaultInstance() : header_;
}
}
/**
* .configpb.Header header = 1;
*/
private com.google.protobuf.SingleFieldBuilderV3<
configpb.Configpb.Header, configpb.Configpb.Header.Builder, configpb.Configpb.HeaderOrBuilder>
getHeaderFieldBuilder() {
if (headerBuilder_ == null) {
headerBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
configpb.Configpb.Header, configpb.Configpb.Header.Builder, configpb.Configpb.HeaderOrBuilder>(
getHeader(),
getParentForChildren(),
isClean());
header_ = null;
}
return headerBuilder_;
}
private configpb.Configpb.Status status_ = null;
private com.google.protobuf.SingleFieldBuilderV3<
configpb.Configpb.Status, configpb.Configpb.Status.Builder, configpb.Configpb.StatusOrBuilder> statusBuilder_;
/**
* .configpb.Status status = 2;
*/
public boolean hasStatus() {
return statusBuilder_ != null || status_ != null;
}
/**
* .configpb.Status status = 2;
*/
public configpb.Configpb.Status getStatus() {
if (statusBuilder_ == null) {
return status_ == null ? configpb.Configpb.Status.getDefaultInstance() : status_;
} else {
return statusBuilder_.getMessage();
}
}
/**
* .configpb.Status status = 2;
*/
public Builder setStatus(configpb.Configpb.Status value) {
if (statusBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
status_ = value;
onChanged();
} else {
statusBuilder_.setMessage(value);
}
return this;
}
/**
* .configpb.Status status = 2;
*/
public Builder setStatus(
configpb.Configpb.Status.Builder builderForValue) {
if (statusBuilder_ == null) {
status_ = builderForValue.build();
onChanged();
} else {
statusBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .configpb.Status status = 2;
*/
public Builder mergeStatus(configpb.Configpb.Status value) {
if (statusBuilder_ == null) {
if (status_ != null) {
status_ =
configpb.Configpb.Status.newBuilder(status_).mergeFrom(value).buildPartial();
} else {
status_ = value;
}
onChanged();
} else {
statusBuilder_.mergeFrom(value);
}
return this;
}
/**
* .configpb.Status status = 2;
*/
public Builder clearStatus() {
if (statusBuilder_ == null) {
status_ = null;
onChanged();
} else {
status_ = null;
statusBuilder_ = null;
}
return this;
}
/**
* .configpb.Status status = 2;
*/
public configpb.Configpb.Status.Builder getStatusBuilder() {
onChanged();
return getStatusFieldBuilder().getBuilder();
}
/**
* .configpb.Status status = 2;
*/
public configpb.Configpb.StatusOrBuilder getStatusOrBuilder() {
if (statusBuilder_ != null) {
return statusBuilder_.getMessageOrBuilder();
} else {
return status_ == null ?
configpb.Configpb.Status.getDefaultInstance() : status_;
}
}
/**
* .configpb.Status status = 2;
*/
private com.google.protobuf.SingleFieldBuilderV3<
configpb.Configpb.Status, configpb.Configpb.Status.Builder, configpb.Configpb.StatusOrBuilder>
getStatusFieldBuilder() {
if (statusBuilder_ == null) {
statusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
configpb.Configpb.Status, configpb.Configpb.Status.Builder, configpb.Configpb.StatusOrBuilder>(
getStatus(),
getParentForChildren(),
isClean());
status_ = null;
}
return statusBuilder_;
}
private configpb.Configpb.Version version_ = null;
private com.google.protobuf.SingleFieldBuilderV3<
configpb.Configpb.Version, configpb.Configpb.Version.Builder, configpb.Configpb.VersionOrBuilder> versionBuilder_;
/**
* .configpb.Version version = 3;
*/
public boolean hasVersion() {
return versionBuilder_ != null || version_ != null;
}
/**
* .configpb.Version version = 3;
*/
public configpb.Configpb.Version getVersion() {
if (versionBuilder_ == null) {
return version_ == null ? configpb.Configpb.Version.getDefaultInstance() : version_;
} else {
return versionBuilder_.getMessage();
}
}
/**
* .configpb.Version version = 3;
*/
public Builder setVersion(configpb.Configpb.Version value) {
if (versionBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
version_ = value;
onChanged();
} else {
versionBuilder_.setMessage(value);
}
return this;
}
/**
* .configpb.Version version = 3;
*/
public Builder setVersion(
configpb.Configpb.Version.Builder builderForValue) {
if (versionBuilder_ == null) {
version_ = builderForValue.build();
onChanged();
} else {
versionBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .configpb.Version version = 3;
*/
public Builder mergeVersion(configpb.Configpb.Version value) {
if (versionBuilder_ == null) {
if (version_ != null) {
version_ =
configpb.Configpb.Version.newBuilder(version_).mergeFrom(value).buildPartial();
} else {
version_ = value;
}
onChanged();
} else {
versionBuilder_.mergeFrom(value);
}
return this;
}
/**
* .configpb.Version version = 3;
*/
public Builder clearVersion() {
if (versionBuilder_ == null) {
version_ = null;
onChanged();
} else {
version_ = null;
versionBuilder_ = null;
}
return this;
}
/**
* .configpb.Version version = 3;
*/
public configpb.Configpb.Version.Builder getVersionBuilder() {
onChanged();
return getVersionFieldBuilder().getBuilder();
}
/**
* .configpb.Version version = 3;
*/
public configpb.Configpb.VersionOrBuilder getVersionOrBuilder() {
if (versionBuilder_ != null) {
return versionBuilder_.getMessageOrBuilder();
} else {
return version_ == null ?
configpb.Configpb.Version.getDefaultInstance() : version_;
}
}
/**
* .configpb.Version version = 3;
*/
private com.google.protobuf.SingleFieldBuilderV3<
configpb.Configpb.Version, configpb.Configpb.Version.Builder, configpb.Configpb.VersionOrBuilder>
getVersionFieldBuilder() {
if (versionBuilder_ == null) {
versionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
configpb.Configpb.Version, configpb.Configpb.Version.Builder, configpb.Configpb.VersionOrBuilder>(
getVersion(),
getParentForChildren(),
isClean());
version_ = null;
}
return versionBuilder_;
}
private java.lang.Object config_ = "";
/**
* string config = 4;
*/
public java.lang.String getConfig() {
java.lang.Object ref = config_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
config_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string config = 4;
*/
public com.google.protobuf.ByteString
getConfigBytes() {
java.lang.Object ref = config_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
config_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string config = 4;
*/
public Builder setConfig(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
config_ = value;
onChanged();
return this;
}
/**
* string config = 4;
*/
public Builder clearConfig() {
config_ = getDefaultInstance().getConfig();
onChanged();
return this;
}
/**
* string config = 4;
*/
public Builder setConfigBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
config_ = value;
onChanged();
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:configpb.CreateResponse)
}
// @@protoc_insertion_point(class_scope:configpb.CreateResponse)
private static final configpb.Configpb.CreateResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new configpb.Configpb.CreateResponse();
}
public static configpb.Configpb.CreateResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
public CreateResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new CreateResponse(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
public configpb.Configpb.CreateResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface GetAllRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:configpb.GetAllRequest)
com.google.protobuf.MessageOrBuilder {
/**
* .configpb.Header header = 1;
*/
boolean hasHeader();
/**
* .configpb.Header header = 1;
*/
configpb.Configpb.Header getHeader();
/**
* .configpb.Header header = 1;
*/
configpb.Configpb.HeaderOrBuilder getHeaderOrBuilder();
}
/**
* Protobuf type {@code configpb.GetAllRequest}
*/
public static final class GetAllRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:configpb.GetAllRequest)
GetAllRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use GetAllRequest.newBuilder() to construct.
private GetAllRequest(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private GetAllRequest() {
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private GetAllRequest(
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: {
configpb.Configpb.Header.Builder subBuilder = null;
if (header_ != null) {
subBuilder = header_.toBuilder();
}
header_ = input.readMessage(configpb.Configpb.Header.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(header_);
header_ = 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 configpb.Configpb.internal_static_configpb_GetAllRequest_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return configpb.Configpb.internal_static_configpb_GetAllRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
configpb.Configpb.GetAllRequest.class, configpb.Configpb.GetAllRequest.Builder.class);
}
public static final int HEADER_FIELD_NUMBER = 1;
private configpb.Configpb.Header header_;
/**
* .configpb.Header header = 1;
*/
public boolean hasHeader() {
return header_ != null;
}
/**
* .configpb.Header header = 1;
*/
public configpb.Configpb.Header getHeader() {
return header_ == null ? configpb.Configpb.Header.getDefaultInstance() : header_;
}
/**
* .configpb.Header header = 1;
*/
public configpb.Configpb.HeaderOrBuilder getHeaderOrBuilder() {
return getHeader();
}
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 (header_ != null) {
output.writeMessage(1, getHeader());
}
unknownFields.writeTo(output);
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (header_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getHeader());
}
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 configpb.Configpb.GetAllRequest)) {
return super.equals(obj);
}
configpb.Configpb.GetAllRequest other = (configpb.Configpb.GetAllRequest) obj;
boolean result = true;
result = result && (hasHeader() == other.hasHeader());
if (hasHeader()) {
result = result && getHeader()
.equals(other.getHeader());
}
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 (hasHeader()) {
hash = (37 * hash) + HEADER_FIELD_NUMBER;
hash = (53 * hash) + getHeader().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static configpb.Configpb.GetAllRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static configpb.Configpb.GetAllRequest parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static configpb.Configpb.GetAllRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static configpb.Configpb.GetAllRequest parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static configpb.Configpb.GetAllRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static configpb.Configpb.GetAllRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static configpb.Configpb.GetAllRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static configpb.Configpb.GetAllRequest 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 configpb.Configpb.GetAllRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static configpb.Configpb.GetAllRequest 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 configpb.Configpb.GetAllRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static configpb.Configpb.GetAllRequest 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(configpb.Configpb.GetAllRequest 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 configpb.GetAllRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:configpb.GetAllRequest)
configpb.Configpb.GetAllRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return configpb.Configpb.internal_static_configpb_GetAllRequest_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return configpb.Configpb.internal_static_configpb_GetAllRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
configpb.Configpb.GetAllRequest.class, configpb.Configpb.GetAllRequest.Builder.class);
}
// Construct using configpb.Configpb.GetAllRequest.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 (headerBuilder_ == null) {
header_ = null;
} else {
header_ = null;
headerBuilder_ = null;
}
return this;
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return configpb.Configpb.internal_static_configpb_GetAllRequest_descriptor;
}
public configpb.Configpb.GetAllRequest getDefaultInstanceForType() {
return configpb.Configpb.GetAllRequest.getDefaultInstance();
}
public configpb.Configpb.GetAllRequest build() {
configpb.Configpb.GetAllRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public configpb.Configpb.GetAllRequest buildPartial() {
configpb.Configpb.GetAllRequest result = new configpb.Configpb.GetAllRequest(this);
if (headerBuilder_ == null) {
result.header_ = header_;
} else {
result.header_ = headerBuilder_.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 configpb.Configpb.GetAllRequest) {
return mergeFrom((configpb.Configpb.GetAllRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(configpb.Configpb.GetAllRequest other) {
if (other == configpb.Configpb.GetAllRequest.getDefaultInstance()) return this;
if (other.hasHeader()) {
mergeHeader(other.getHeader());
}
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 {
configpb.Configpb.GetAllRequest parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (configpb.Configpb.GetAllRequest) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private configpb.Configpb.Header header_ = null;
private com.google.protobuf.SingleFieldBuilderV3<
configpb.Configpb.Header, configpb.Configpb.Header.Builder, configpb.Configpb.HeaderOrBuilder> headerBuilder_;
/**
* .configpb.Header header = 1;
*/
public boolean hasHeader() {
return headerBuilder_ != null || header_ != null;
}
/**
* .configpb.Header header = 1;
*/
public configpb.Configpb.Header getHeader() {
if (headerBuilder_ == null) {
return header_ == null ? configpb.Configpb.Header.getDefaultInstance() : header_;
} else {
return headerBuilder_.getMessage();
}
}
/**
* .configpb.Header header = 1;
*/
public Builder setHeader(configpb.Configpb.Header value) {
if (headerBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
header_ = value;
onChanged();
} else {
headerBuilder_.setMessage(value);
}
return this;
}
/**
* .configpb.Header header = 1;
*/
public Builder setHeader(
configpb.Configpb.Header.Builder builderForValue) {
if (headerBuilder_ == null) {
header_ = builderForValue.build();
onChanged();
} else {
headerBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .configpb.Header header = 1;
*/
public Builder mergeHeader(configpb.Configpb.Header value) {
if (headerBuilder_ == null) {
if (header_ != null) {
header_ =
configpb.Configpb.Header.newBuilder(header_).mergeFrom(value).buildPartial();
} else {
header_ = value;
}
onChanged();
} else {
headerBuilder_.mergeFrom(value);
}
return this;
}
/**
* .configpb.Header header = 1;
*/
public Builder clearHeader() {
if (headerBuilder_ == null) {
header_ = null;
onChanged();
} else {
header_ = null;
headerBuilder_ = null;
}
return this;
}
/**
* .configpb.Header header = 1;
*/
public configpb.Configpb.Header.Builder getHeaderBuilder() {
onChanged();
return getHeaderFieldBuilder().getBuilder();
}
/**
* .configpb.Header header = 1;
*/
public configpb.Configpb.HeaderOrBuilder getHeaderOrBuilder() {
if (headerBuilder_ != null) {
return headerBuilder_.getMessageOrBuilder();
} else {
return header_ == null ?
configpb.Configpb.Header.getDefaultInstance() : header_;
}
}
/**
* .configpb.Header header = 1;
*/
private com.google.protobuf.SingleFieldBuilderV3<
configpb.Configpb.Header, configpb.Configpb.Header.Builder, configpb.Configpb.HeaderOrBuilder>
getHeaderFieldBuilder() {
if (headerBuilder_ == null) {
headerBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
configpb.Configpb.Header, configpb.Configpb.Header.Builder, configpb.Configpb.HeaderOrBuilder>(
getHeader(),
getParentForChildren(),
isClean());
header_ = null;
}
return headerBuilder_;
}
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:configpb.GetAllRequest)
}
// @@protoc_insertion_point(class_scope:configpb.GetAllRequest)
private static final configpb.Configpb.GetAllRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new configpb.Configpb.GetAllRequest();
}
public static configpb.Configpb.GetAllRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
public GetAllRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new GetAllRequest(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
public configpb.Configpb.GetAllRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface GetAllResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:configpb.GetAllResponse)
com.google.protobuf.MessageOrBuilder {
/**
* .configpb.Header header = 1;
*/
boolean hasHeader();
/**
* .configpb.Header header = 1;
*/
configpb.Configpb.Header getHeader();
/**
* .configpb.Header header = 1;
*/
configpb.Configpb.HeaderOrBuilder getHeaderOrBuilder();
/**
* .configpb.Status status = 2;
*/
boolean hasStatus();
/**
* .configpb.Status status = 2;
*/
configpb.Configpb.Status getStatus();
/**
* .configpb.Status status = 2;
*/
configpb.Configpb.StatusOrBuilder getStatusOrBuilder();
/**
* repeated .configpb.LocalConfig local_configs = 3;
*/
java.util.List
getLocalConfigsList();
/**
* repeated .configpb.LocalConfig local_configs = 3;
*/
configpb.Configpb.LocalConfig getLocalConfigs(int index);
/**
* repeated .configpb.LocalConfig local_configs = 3;
*/
int getLocalConfigsCount();
/**
* repeated .configpb.LocalConfig local_configs = 3;
*/
java.util.List extends configpb.Configpb.LocalConfigOrBuilder>
getLocalConfigsOrBuilderList();
/**
* repeated .configpb.LocalConfig local_configs = 3;
*/
configpb.Configpb.LocalConfigOrBuilder getLocalConfigsOrBuilder(
int index);
}
/**
* Protobuf type {@code configpb.GetAllResponse}
*/
public static final class GetAllResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:configpb.GetAllResponse)
GetAllResponseOrBuilder {
private static final long serialVersionUID = 0L;
// Use GetAllResponse.newBuilder() to construct.
private GetAllResponse(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private GetAllResponse() {
localConfigs_ = java.util.Collections.emptyList();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private GetAllResponse(
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: {
configpb.Configpb.Header.Builder subBuilder = null;
if (header_ != null) {
subBuilder = header_.toBuilder();
}
header_ = input.readMessage(configpb.Configpb.Header.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(header_);
header_ = subBuilder.buildPartial();
}
break;
}
case 18: {
configpb.Configpb.Status.Builder subBuilder = null;
if (status_ != null) {
subBuilder = status_.toBuilder();
}
status_ = input.readMessage(configpb.Configpb.Status.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(status_);
status_ = subBuilder.buildPartial();
}
break;
}
case 26: {
if (!((mutable_bitField0_ & 0x00000004) == 0x00000004)) {
localConfigs_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000004;
}
localConfigs_.add(
input.readMessage(configpb.Configpb.LocalConfig.parser(), extensionRegistry));
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_ & 0x00000004) == 0x00000004)) {
localConfigs_ = java.util.Collections.unmodifiableList(localConfigs_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return configpb.Configpb.internal_static_configpb_GetAllResponse_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return configpb.Configpb.internal_static_configpb_GetAllResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
configpb.Configpb.GetAllResponse.class, configpb.Configpb.GetAllResponse.Builder.class);
}
private int bitField0_;
public static final int HEADER_FIELD_NUMBER = 1;
private configpb.Configpb.Header header_;
/**
* .configpb.Header header = 1;
*/
public boolean hasHeader() {
return header_ != null;
}
/**
* .configpb.Header header = 1;
*/
public configpb.Configpb.Header getHeader() {
return header_ == null ? configpb.Configpb.Header.getDefaultInstance() : header_;
}
/**
* .configpb.Header header = 1;
*/
public configpb.Configpb.HeaderOrBuilder getHeaderOrBuilder() {
return getHeader();
}
public static final int STATUS_FIELD_NUMBER = 2;
private configpb.Configpb.Status status_;
/**
* .configpb.Status status = 2;
*/
public boolean hasStatus() {
return status_ != null;
}
/**
* .configpb.Status status = 2;
*/
public configpb.Configpb.Status getStatus() {
return status_ == null ? configpb.Configpb.Status.getDefaultInstance() : status_;
}
/**
* .configpb.Status status = 2;
*/
public configpb.Configpb.StatusOrBuilder getStatusOrBuilder() {
return getStatus();
}
public static final int LOCAL_CONFIGS_FIELD_NUMBER = 3;
private java.util.List localConfigs_;
/**
* repeated .configpb.LocalConfig local_configs = 3;
*/
public java.util.List getLocalConfigsList() {
return localConfigs_;
}
/**
* repeated .configpb.LocalConfig local_configs = 3;
*/
public java.util.List extends configpb.Configpb.LocalConfigOrBuilder>
getLocalConfigsOrBuilderList() {
return localConfigs_;
}
/**
* repeated .configpb.LocalConfig local_configs = 3;
*/
public int getLocalConfigsCount() {
return localConfigs_.size();
}
/**
* repeated .configpb.LocalConfig local_configs = 3;
*/
public configpb.Configpb.LocalConfig getLocalConfigs(int index) {
return localConfigs_.get(index);
}
/**
* repeated .configpb.LocalConfig local_configs = 3;
*/
public configpb.Configpb.LocalConfigOrBuilder getLocalConfigsOrBuilder(
int index) {
return localConfigs_.get(index);
}
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 (header_ != null) {
output.writeMessage(1, getHeader());
}
if (status_ != null) {
output.writeMessage(2, getStatus());
}
for (int i = 0; i < localConfigs_.size(); i++) {
output.writeMessage(3, localConfigs_.get(i));
}
unknownFields.writeTo(output);
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (header_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getHeader());
}
if (status_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, getStatus());
}
for (int i = 0; i < localConfigs_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, localConfigs_.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 configpb.Configpb.GetAllResponse)) {
return super.equals(obj);
}
configpb.Configpb.GetAllResponse other = (configpb.Configpb.GetAllResponse) obj;
boolean result = true;
result = result && (hasHeader() == other.hasHeader());
if (hasHeader()) {
result = result && getHeader()
.equals(other.getHeader());
}
result = result && (hasStatus() == other.hasStatus());
if (hasStatus()) {
result = result && getStatus()
.equals(other.getStatus());
}
result = result && getLocalConfigsList()
.equals(other.getLocalConfigsList());
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 (hasHeader()) {
hash = (37 * hash) + HEADER_FIELD_NUMBER;
hash = (53 * hash) + getHeader().hashCode();
}
if (hasStatus()) {
hash = (37 * hash) + STATUS_FIELD_NUMBER;
hash = (53 * hash) + getStatus().hashCode();
}
if (getLocalConfigsCount() > 0) {
hash = (37 * hash) + LOCAL_CONFIGS_FIELD_NUMBER;
hash = (53 * hash) + getLocalConfigsList().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static configpb.Configpb.GetAllResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static configpb.Configpb.GetAllResponse parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static configpb.Configpb.GetAllResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static configpb.Configpb.GetAllResponse parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static configpb.Configpb.GetAllResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static configpb.Configpb.GetAllResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static configpb.Configpb.GetAllResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static configpb.Configpb.GetAllResponse 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 configpb.Configpb.GetAllResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static configpb.Configpb.GetAllResponse 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 configpb.Configpb.GetAllResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static configpb.Configpb.GetAllResponse 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(configpb.Configpb.GetAllResponse 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 configpb.GetAllResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:configpb.GetAllResponse)
configpb.Configpb.GetAllResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return configpb.Configpb.internal_static_configpb_GetAllResponse_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return configpb.Configpb.internal_static_configpb_GetAllResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
configpb.Configpb.GetAllResponse.class, configpb.Configpb.GetAllResponse.Builder.class);
}
// Construct using configpb.Configpb.GetAllResponse.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getLocalConfigsFieldBuilder();
}
}
public Builder clear() {
super.clear();
if (headerBuilder_ == null) {
header_ = null;
} else {
header_ = null;
headerBuilder_ = null;
}
if (statusBuilder_ == null) {
status_ = null;
} else {
status_ = null;
statusBuilder_ = null;
}
if (localConfigsBuilder_ == null) {
localConfigs_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000004);
} else {
localConfigsBuilder_.clear();
}
return this;
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return configpb.Configpb.internal_static_configpb_GetAllResponse_descriptor;
}
public configpb.Configpb.GetAllResponse getDefaultInstanceForType() {
return configpb.Configpb.GetAllResponse.getDefaultInstance();
}
public configpb.Configpb.GetAllResponse build() {
configpb.Configpb.GetAllResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public configpb.Configpb.GetAllResponse buildPartial() {
configpb.Configpb.GetAllResponse result = new configpb.Configpb.GetAllResponse(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (headerBuilder_ == null) {
result.header_ = header_;
} else {
result.header_ = headerBuilder_.build();
}
if (statusBuilder_ == null) {
result.status_ = status_;
} else {
result.status_ = statusBuilder_.build();
}
if (localConfigsBuilder_ == null) {
if (((bitField0_ & 0x00000004) == 0x00000004)) {
localConfigs_ = java.util.Collections.unmodifiableList(localConfigs_);
bitField0_ = (bitField0_ & ~0x00000004);
}
result.localConfigs_ = localConfigs_;
} else {
result.localConfigs_ = localConfigsBuilder_.build();
}
result.bitField0_ = to_bitField0_;
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 configpb.Configpb.GetAllResponse) {
return mergeFrom((configpb.Configpb.GetAllResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(configpb.Configpb.GetAllResponse other) {
if (other == configpb.Configpb.GetAllResponse.getDefaultInstance()) return this;
if (other.hasHeader()) {
mergeHeader(other.getHeader());
}
if (other.hasStatus()) {
mergeStatus(other.getStatus());
}
if (localConfigsBuilder_ == null) {
if (!other.localConfigs_.isEmpty()) {
if (localConfigs_.isEmpty()) {
localConfigs_ = other.localConfigs_;
bitField0_ = (bitField0_ & ~0x00000004);
} else {
ensureLocalConfigsIsMutable();
localConfigs_.addAll(other.localConfigs_);
}
onChanged();
}
} else {
if (!other.localConfigs_.isEmpty()) {
if (localConfigsBuilder_.isEmpty()) {
localConfigsBuilder_.dispose();
localConfigsBuilder_ = null;
localConfigs_ = other.localConfigs_;
bitField0_ = (bitField0_ & ~0x00000004);
localConfigsBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getLocalConfigsFieldBuilder() : null;
} else {
localConfigsBuilder_.addAllMessages(other.localConfigs_);
}
}
}
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 {
configpb.Configpb.GetAllResponse parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (configpb.Configpb.GetAllResponse) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private configpb.Configpb.Header header_ = null;
private com.google.protobuf.SingleFieldBuilderV3<
configpb.Configpb.Header, configpb.Configpb.Header.Builder, configpb.Configpb.HeaderOrBuilder> headerBuilder_;
/**
* .configpb.Header header = 1;
*/
public boolean hasHeader() {
return headerBuilder_ != null || header_ != null;
}
/**
* .configpb.Header header = 1;
*/
public configpb.Configpb.Header getHeader() {
if (headerBuilder_ == null) {
return header_ == null ? configpb.Configpb.Header.getDefaultInstance() : header_;
} else {
return headerBuilder_.getMessage();
}
}
/**
* .configpb.Header header = 1;
*/
public Builder setHeader(configpb.Configpb.Header value) {
if (headerBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
header_ = value;
onChanged();
} else {
headerBuilder_.setMessage(value);
}
return this;
}
/**
* .configpb.Header header = 1;
*/
public Builder setHeader(
configpb.Configpb.Header.Builder builderForValue) {
if (headerBuilder_ == null) {
header_ = builderForValue.build();
onChanged();
} else {
headerBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .configpb.Header header = 1;
*/
public Builder mergeHeader(configpb.Configpb.Header value) {
if (headerBuilder_ == null) {
if (header_ != null) {
header_ =
configpb.Configpb.Header.newBuilder(header_).mergeFrom(value).buildPartial();
} else {
header_ = value;
}
onChanged();
} else {
headerBuilder_.mergeFrom(value);
}
return this;
}
/**
* .configpb.Header header = 1;
*/
public Builder clearHeader() {
if (headerBuilder_ == null) {
header_ = null;
onChanged();
} else {
header_ = null;
headerBuilder_ = null;
}
return this;
}
/**
* .configpb.Header header = 1;
*/
public configpb.Configpb.Header.Builder getHeaderBuilder() {
onChanged();
return getHeaderFieldBuilder().getBuilder();
}
/**
* .configpb.Header header = 1;
*/
public configpb.Configpb.HeaderOrBuilder getHeaderOrBuilder() {
if (headerBuilder_ != null) {
return headerBuilder_.getMessageOrBuilder();
} else {
return header_ == null ?
configpb.Configpb.Header.getDefaultInstance() : header_;
}
}
/**
* .configpb.Header header = 1;
*/
private com.google.protobuf.SingleFieldBuilderV3<
configpb.Configpb.Header, configpb.Configpb.Header.Builder, configpb.Configpb.HeaderOrBuilder>
getHeaderFieldBuilder() {
if (headerBuilder_ == null) {
headerBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
configpb.Configpb.Header, configpb.Configpb.Header.Builder, configpb.Configpb.HeaderOrBuilder>(
getHeader(),
getParentForChildren(),
isClean());
header_ = null;
}
return headerBuilder_;
}
private configpb.Configpb.Status status_ = null;
private com.google.protobuf.SingleFieldBuilderV3<
configpb.Configpb.Status, configpb.Configpb.Status.Builder, configpb.Configpb.StatusOrBuilder> statusBuilder_;
/**
* .configpb.Status status = 2;
*/
public boolean hasStatus() {
return statusBuilder_ != null || status_ != null;
}
/**
* .configpb.Status status = 2;
*/
public configpb.Configpb.Status getStatus() {
if (statusBuilder_ == null) {
return status_ == null ? configpb.Configpb.Status.getDefaultInstance() : status_;
} else {
return statusBuilder_.getMessage();
}
}
/**
* .configpb.Status status = 2;
*/
public Builder setStatus(configpb.Configpb.Status value) {
if (statusBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
status_ = value;
onChanged();
} else {
statusBuilder_.setMessage(value);
}
return this;
}
/**
* .configpb.Status status = 2;
*/
public Builder setStatus(
configpb.Configpb.Status.Builder builderForValue) {
if (statusBuilder_ == null) {
status_ = builderForValue.build();
onChanged();
} else {
statusBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .configpb.Status status = 2;
*/
public Builder mergeStatus(configpb.Configpb.Status value) {
if (statusBuilder_ == null) {
if (status_ != null) {
status_ =
configpb.Configpb.Status.newBuilder(status_).mergeFrom(value).buildPartial();
} else {
status_ = value;
}
onChanged();
} else {
statusBuilder_.mergeFrom(value);
}
return this;
}
/**
* .configpb.Status status = 2;
*/
public Builder clearStatus() {
if (statusBuilder_ == null) {
status_ = null;
onChanged();
} else {
status_ = null;
statusBuilder_ = null;
}
return this;
}
/**
* .configpb.Status status = 2;
*/
public configpb.Configpb.Status.Builder getStatusBuilder() {
onChanged();
return getStatusFieldBuilder().getBuilder();
}
/**
* .configpb.Status status = 2;
*/
public configpb.Configpb.StatusOrBuilder getStatusOrBuilder() {
if (statusBuilder_ != null) {
return statusBuilder_.getMessageOrBuilder();
} else {
return status_ == null ?
configpb.Configpb.Status.getDefaultInstance() : status_;
}
}
/**
* .configpb.Status status = 2;
*/
private com.google.protobuf.SingleFieldBuilderV3<
configpb.Configpb.Status, configpb.Configpb.Status.Builder, configpb.Configpb.StatusOrBuilder>
getStatusFieldBuilder() {
if (statusBuilder_ == null) {
statusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
configpb.Configpb.Status, configpb.Configpb.Status.Builder, configpb.Configpb.StatusOrBuilder>(
getStatus(),
getParentForChildren(),
isClean());
status_ = null;
}
return statusBuilder_;
}
private java.util.List localConfigs_ =
java.util.Collections.emptyList();
private void ensureLocalConfigsIsMutable() {
if (!((bitField0_ & 0x00000004) == 0x00000004)) {
localConfigs_ = new java.util.ArrayList(localConfigs_);
bitField0_ |= 0x00000004;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
configpb.Configpb.LocalConfig, configpb.Configpb.LocalConfig.Builder, configpb.Configpb.LocalConfigOrBuilder> localConfigsBuilder_;
/**
* repeated .configpb.LocalConfig local_configs = 3;
*/
public java.util.List getLocalConfigsList() {
if (localConfigsBuilder_ == null) {
return java.util.Collections.unmodifiableList(localConfigs_);
} else {
return localConfigsBuilder_.getMessageList();
}
}
/**
* repeated .configpb.LocalConfig local_configs = 3;
*/
public int getLocalConfigsCount() {
if (localConfigsBuilder_ == null) {
return localConfigs_.size();
} else {
return localConfigsBuilder_.getCount();
}
}
/**
* repeated .configpb.LocalConfig local_configs = 3;
*/
public configpb.Configpb.LocalConfig getLocalConfigs(int index) {
if (localConfigsBuilder_ == null) {
return localConfigs_.get(index);
} else {
return localConfigsBuilder_.getMessage(index);
}
}
/**
* repeated .configpb.LocalConfig local_configs = 3;
*/
public Builder setLocalConfigs(
int index, configpb.Configpb.LocalConfig value) {
if (localConfigsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureLocalConfigsIsMutable();
localConfigs_.set(index, value);
onChanged();
} else {
localConfigsBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .configpb.LocalConfig local_configs = 3;
*/
public Builder setLocalConfigs(
int index, configpb.Configpb.LocalConfig.Builder builderForValue) {
if (localConfigsBuilder_ == null) {
ensureLocalConfigsIsMutable();
localConfigs_.set(index, builderForValue.build());
onChanged();
} else {
localConfigsBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .configpb.LocalConfig local_configs = 3;
*/
public Builder addLocalConfigs(configpb.Configpb.LocalConfig value) {
if (localConfigsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureLocalConfigsIsMutable();
localConfigs_.add(value);
onChanged();
} else {
localConfigsBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .configpb.LocalConfig local_configs = 3;
*/
public Builder addLocalConfigs(
int index, configpb.Configpb.LocalConfig value) {
if (localConfigsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureLocalConfigsIsMutable();
localConfigs_.add(index, value);
onChanged();
} else {
localConfigsBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .configpb.LocalConfig local_configs = 3;
*/
public Builder addLocalConfigs(
configpb.Configpb.LocalConfig.Builder builderForValue) {
if (localConfigsBuilder_ == null) {
ensureLocalConfigsIsMutable();
localConfigs_.add(builderForValue.build());
onChanged();
} else {
localConfigsBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .configpb.LocalConfig local_configs = 3;
*/
public Builder addLocalConfigs(
int index, configpb.Configpb.LocalConfig.Builder builderForValue) {
if (localConfigsBuilder_ == null) {
ensureLocalConfigsIsMutable();
localConfigs_.add(index, builderForValue.build());
onChanged();
} else {
localConfigsBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .configpb.LocalConfig local_configs = 3;
*/
public Builder addAllLocalConfigs(
java.lang.Iterable extends configpb.Configpb.LocalConfig> values) {
if (localConfigsBuilder_ == null) {
ensureLocalConfigsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, localConfigs_);
onChanged();
} else {
localConfigsBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .configpb.LocalConfig local_configs = 3;
*/
public Builder clearLocalConfigs() {
if (localConfigsBuilder_ == null) {
localConfigs_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000004);
onChanged();
} else {
localConfigsBuilder_.clear();
}
return this;
}
/**
* repeated .configpb.LocalConfig local_configs = 3;
*/
public Builder removeLocalConfigs(int index) {
if (localConfigsBuilder_ == null) {
ensureLocalConfigsIsMutable();
localConfigs_.remove(index);
onChanged();
} else {
localConfigsBuilder_.remove(index);
}
return this;
}
/**
* repeated .configpb.LocalConfig local_configs = 3;
*/
public configpb.Configpb.LocalConfig.Builder getLocalConfigsBuilder(
int index) {
return getLocalConfigsFieldBuilder().getBuilder(index);
}
/**
* repeated .configpb.LocalConfig local_configs = 3;
*/
public configpb.Configpb.LocalConfigOrBuilder getLocalConfigsOrBuilder(
int index) {
if (localConfigsBuilder_ == null) {
return localConfigs_.get(index); } else {
return localConfigsBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .configpb.LocalConfig local_configs = 3;
*/
public java.util.List extends configpb.Configpb.LocalConfigOrBuilder>
getLocalConfigsOrBuilderList() {
if (localConfigsBuilder_ != null) {
return localConfigsBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(localConfigs_);
}
}
/**
* repeated .configpb.LocalConfig local_configs = 3;
*/
public configpb.Configpb.LocalConfig.Builder addLocalConfigsBuilder() {
return getLocalConfigsFieldBuilder().addBuilder(
configpb.Configpb.LocalConfig.getDefaultInstance());
}
/**
* repeated .configpb.LocalConfig local_configs = 3;
*/
public configpb.Configpb.LocalConfig.Builder addLocalConfigsBuilder(
int index) {
return getLocalConfigsFieldBuilder().addBuilder(
index, configpb.Configpb.LocalConfig.getDefaultInstance());
}
/**
* repeated .configpb.LocalConfig local_configs = 3;
*/
public java.util.List
getLocalConfigsBuilderList() {
return getLocalConfigsFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
configpb.Configpb.LocalConfig, configpb.Configpb.LocalConfig.Builder, configpb.Configpb.LocalConfigOrBuilder>
getLocalConfigsFieldBuilder() {
if (localConfigsBuilder_ == null) {
localConfigsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
configpb.Configpb.LocalConfig, configpb.Configpb.LocalConfig.Builder, configpb.Configpb.LocalConfigOrBuilder>(
localConfigs_,
((bitField0_ & 0x00000004) == 0x00000004),
getParentForChildren(),
isClean());
localConfigs_ = null;
}
return localConfigsBuilder_;
}
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:configpb.GetAllResponse)
}
// @@protoc_insertion_point(class_scope:configpb.GetAllResponse)
private static final configpb.Configpb.GetAllResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new configpb.Configpb.GetAllResponse();
}
public static configpb.Configpb.GetAllResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
public GetAllResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new GetAllResponse(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
public configpb.Configpb.GetAllResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface GetRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:configpb.GetRequest)
com.google.protobuf.MessageOrBuilder {
/**
* .configpb.Header header = 1;
*/
boolean hasHeader();
/**
* .configpb.Header header = 1;
*/
configpb.Configpb.Header getHeader();
/**
* .configpb.Header header = 1;
*/
configpb.Configpb.HeaderOrBuilder getHeaderOrBuilder();
/**
* .configpb.Version version = 2;
*/
boolean hasVersion();
/**
* .configpb.Version version = 2;
*/
configpb.Configpb.Version getVersion();
/**
* .configpb.Version version = 2;
*/
configpb.Configpb.VersionOrBuilder getVersionOrBuilder();
/**
* string component = 3;
*/
java.lang.String getComponent();
/**
* string component = 3;
*/
com.google.protobuf.ByteString
getComponentBytes();
/**
* string component_id = 4;
*/
java.lang.String getComponentId();
/**
* string component_id = 4;
*/
com.google.protobuf.ByteString
getComponentIdBytes();
}
/**
* Protobuf type {@code configpb.GetRequest}
*/
public static final class GetRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:configpb.GetRequest)
GetRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use GetRequest.newBuilder() to construct.
private GetRequest(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private GetRequest() {
component_ = "";
componentId_ = "";
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private GetRequest(
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: {
configpb.Configpb.Header.Builder subBuilder = null;
if (header_ != null) {
subBuilder = header_.toBuilder();
}
header_ = input.readMessage(configpb.Configpb.Header.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(header_);
header_ = subBuilder.buildPartial();
}
break;
}
case 18: {
configpb.Configpb.Version.Builder subBuilder = null;
if (version_ != null) {
subBuilder = version_.toBuilder();
}
version_ = input.readMessage(configpb.Configpb.Version.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(version_);
version_ = subBuilder.buildPartial();
}
break;
}
case 26: {
java.lang.String s = input.readStringRequireUtf8();
component_ = s;
break;
}
case 34: {
java.lang.String s = input.readStringRequireUtf8();
componentId_ = s;
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 configpb.Configpb.internal_static_configpb_GetRequest_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return configpb.Configpb.internal_static_configpb_GetRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
configpb.Configpb.GetRequest.class, configpb.Configpb.GetRequest.Builder.class);
}
public static final int HEADER_FIELD_NUMBER = 1;
private configpb.Configpb.Header header_;
/**
* .configpb.Header header = 1;
*/
public boolean hasHeader() {
return header_ != null;
}
/**
* .configpb.Header header = 1;
*/
public configpb.Configpb.Header getHeader() {
return header_ == null ? configpb.Configpb.Header.getDefaultInstance() : header_;
}
/**
* .configpb.Header header = 1;
*/
public configpb.Configpb.HeaderOrBuilder getHeaderOrBuilder() {
return getHeader();
}
public static final int VERSION_FIELD_NUMBER = 2;
private configpb.Configpb.Version version_;
/**
* .configpb.Version version = 2;
*/
public boolean hasVersion() {
return version_ != null;
}
/**
* .configpb.Version version = 2;
*/
public configpb.Configpb.Version getVersion() {
return version_ == null ? configpb.Configpb.Version.getDefaultInstance() : version_;
}
/**
* .configpb.Version version = 2;
*/
public configpb.Configpb.VersionOrBuilder getVersionOrBuilder() {
return getVersion();
}
public static final int COMPONENT_FIELD_NUMBER = 3;
private volatile java.lang.Object component_;
/**
* string component = 3;
*/
public java.lang.String getComponent() {
java.lang.Object ref = component_;
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();
component_ = s;
return s;
}
}
/**
* string component = 3;
*/
public com.google.protobuf.ByteString
getComponentBytes() {
java.lang.Object ref = component_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
component_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int COMPONENT_ID_FIELD_NUMBER = 4;
private volatile java.lang.Object componentId_;
/**
* string component_id = 4;
*/
public java.lang.String getComponentId() {
java.lang.Object ref = componentId_;
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();
componentId_ = s;
return s;
}
}
/**
* string component_id = 4;
*/
public com.google.protobuf.ByteString
getComponentIdBytes() {
java.lang.Object ref = componentId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
componentId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
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 (header_ != null) {
output.writeMessage(1, getHeader());
}
if (version_ != null) {
output.writeMessage(2, getVersion());
}
if (!getComponentBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, component_);
}
if (!getComponentIdBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, componentId_);
}
unknownFields.writeTo(output);
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (header_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getHeader());
}
if (version_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, getVersion());
}
if (!getComponentBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, component_);
}
if (!getComponentIdBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, componentId_);
}
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 configpb.Configpb.GetRequest)) {
return super.equals(obj);
}
configpb.Configpb.GetRequest other = (configpb.Configpb.GetRequest) obj;
boolean result = true;
result = result && (hasHeader() == other.hasHeader());
if (hasHeader()) {
result = result && getHeader()
.equals(other.getHeader());
}
result = result && (hasVersion() == other.hasVersion());
if (hasVersion()) {
result = result && getVersion()
.equals(other.getVersion());
}
result = result && getComponent()
.equals(other.getComponent());
result = result && getComponentId()
.equals(other.getComponentId());
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 (hasHeader()) {
hash = (37 * hash) + HEADER_FIELD_NUMBER;
hash = (53 * hash) + getHeader().hashCode();
}
if (hasVersion()) {
hash = (37 * hash) + VERSION_FIELD_NUMBER;
hash = (53 * hash) + getVersion().hashCode();
}
hash = (37 * hash) + COMPONENT_FIELD_NUMBER;
hash = (53 * hash) + getComponent().hashCode();
hash = (37 * hash) + COMPONENT_ID_FIELD_NUMBER;
hash = (53 * hash) + getComponentId().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static configpb.Configpb.GetRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static configpb.Configpb.GetRequest parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static configpb.Configpb.GetRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static configpb.Configpb.GetRequest parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static configpb.Configpb.GetRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static configpb.Configpb.GetRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static configpb.Configpb.GetRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static configpb.Configpb.GetRequest 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 configpb.Configpb.GetRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static configpb.Configpb.GetRequest 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 configpb.Configpb.GetRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static configpb.Configpb.GetRequest 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(configpb.Configpb.GetRequest 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 configpb.GetRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:configpb.GetRequest)
configpb.Configpb.GetRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return configpb.Configpb.internal_static_configpb_GetRequest_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return configpb.Configpb.internal_static_configpb_GetRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
configpb.Configpb.GetRequest.class, configpb.Configpb.GetRequest.Builder.class);
}
// Construct using configpb.Configpb.GetRequest.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 (headerBuilder_ == null) {
header_ = null;
} else {
header_ = null;
headerBuilder_ = null;
}
if (versionBuilder_ == null) {
version_ = null;
} else {
version_ = null;
versionBuilder_ = null;
}
component_ = "";
componentId_ = "";
return this;
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return configpb.Configpb.internal_static_configpb_GetRequest_descriptor;
}
public configpb.Configpb.GetRequest getDefaultInstanceForType() {
return configpb.Configpb.GetRequest.getDefaultInstance();
}
public configpb.Configpb.GetRequest build() {
configpb.Configpb.GetRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public configpb.Configpb.GetRequest buildPartial() {
configpb.Configpb.GetRequest result = new configpb.Configpb.GetRequest(this);
if (headerBuilder_ == null) {
result.header_ = header_;
} else {
result.header_ = headerBuilder_.build();
}
if (versionBuilder_ == null) {
result.version_ = version_;
} else {
result.version_ = versionBuilder_.build();
}
result.component_ = component_;
result.componentId_ = componentId_;
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 configpb.Configpb.GetRequest) {
return mergeFrom((configpb.Configpb.GetRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(configpb.Configpb.GetRequest other) {
if (other == configpb.Configpb.GetRequest.getDefaultInstance()) return this;
if (other.hasHeader()) {
mergeHeader(other.getHeader());
}
if (other.hasVersion()) {
mergeVersion(other.getVersion());
}
if (!other.getComponent().isEmpty()) {
component_ = other.component_;
onChanged();
}
if (!other.getComponentId().isEmpty()) {
componentId_ = other.componentId_;
onChanged();
}
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 {
configpb.Configpb.GetRequest parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (configpb.Configpb.GetRequest) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private configpb.Configpb.Header header_ = null;
private com.google.protobuf.SingleFieldBuilderV3<
configpb.Configpb.Header, configpb.Configpb.Header.Builder, configpb.Configpb.HeaderOrBuilder> headerBuilder_;
/**
* .configpb.Header header = 1;
*/
public boolean hasHeader() {
return headerBuilder_ != null || header_ != null;
}
/**
* .configpb.Header header = 1;
*/
public configpb.Configpb.Header getHeader() {
if (headerBuilder_ == null) {
return header_ == null ? configpb.Configpb.Header.getDefaultInstance() : header_;
} else {
return headerBuilder_.getMessage();
}
}
/**
* .configpb.Header header = 1;
*/
public Builder setHeader(configpb.Configpb.Header value) {
if (headerBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
header_ = value;
onChanged();
} else {
headerBuilder_.setMessage(value);
}
return this;
}
/**
* .configpb.Header header = 1;
*/
public Builder setHeader(
configpb.Configpb.Header.Builder builderForValue) {
if (headerBuilder_ == null) {
header_ = builderForValue.build();
onChanged();
} else {
headerBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .configpb.Header header = 1;
*/
public Builder mergeHeader(configpb.Configpb.Header value) {
if (headerBuilder_ == null) {
if (header_ != null) {
header_ =
configpb.Configpb.Header.newBuilder(header_).mergeFrom(value).buildPartial();
} else {
header_ = value;
}
onChanged();
} else {
headerBuilder_.mergeFrom(value);
}
return this;
}
/**
* .configpb.Header header = 1;
*/
public Builder clearHeader() {
if (headerBuilder_ == null) {
header_ = null;
onChanged();
} else {
header_ = null;
headerBuilder_ = null;
}
return this;
}
/**
* .configpb.Header header = 1;
*/
public configpb.Configpb.Header.Builder getHeaderBuilder() {
onChanged();
return getHeaderFieldBuilder().getBuilder();
}
/**
* .configpb.Header header = 1;
*/
public configpb.Configpb.HeaderOrBuilder getHeaderOrBuilder() {
if (headerBuilder_ != null) {
return headerBuilder_.getMessageOrBuilder();
} else {
return header_ == null ?
configpb.Configpb.Header.getDefaultInstance() : header_;
}
}
/**
* .configpb.Header header = 1;
*/
private com.google.protobuf.SingleFieldBuilderV3<
configpb.Configpb.Header, configpb.Configpb.Header.Builder, configpb.Configpb.HeaderOrBuilder>
getHeaderFieldBuilder() {
if (headerBuilder_ == null) {
headerBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
configpb.Configpb.Header, configpb.Configpb.Header.Builder, configpb.Configpb.HeaderOrBuilder>(
getHeader(),
getParentForChildren(),
isClean());
header_ = null;
}
return headerBuilder_;
}
private configpb.Configpb.Version version_ = null;
private com.google.protobuf.SingleFieldBuilderV3<
configpb.Configpb.Version, configpb.Configpb.Version.Builder, configpb.Configpb.VersionOrBuilder> versionBuilder_;
/**
* .configpb.Version version = 2;
*/
public boolean hasVersion() {
return versionBuilder_ != null || version_ != null;
}
/**
* .configpb.Version version = 2;
*/
public configpb.Configpb.Version getVersion() {
if (versionBuilder_ == null) {
return version_ == null ? configpb.Configpb.Version.getDefaultInstance() : version_;
} else {
return versionBuilder_.getMessage();
}
}
/**
* .configpb.Version version = 2;
*/
public Builder setVersion(configpb.Configpb.Version value) {
if (versionBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
version_ = value;
onChanged();
} else {
versionBuilder_.setMessage(value);
}
return this;
}
/**
* .configpb.Version version = 2;
*/
public Builder setVersion(
configpb.Configpb.Version.Builder builderForValue) {
if (versionBuilder_ == null) {
version_ = builderForValue.build();
onChanged();
} else {
versionBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .configpb.Version version = 2;
*/
public Builder mergeVersion(configpb.Configpb.Version value) {
if (versionBuilder_ == null) {
if (version_ != null) {
version_ =
configpb.Configpb.Version.newBuilder(version_).mergeFrom(value).buildPartial();
} else {
version_ = value;
}
onChanged();
} else {
versionBuilder_.mergeFrom(value);
}
return this;
}
/**
* .configpb.Version version = 2;
*/
public Builder clearVersion() {
if (versionBuilder_ == null) {
version_ = null;
onChanged();
} else {
version_ = null;
versionBuilder_ = null;
}
return this;
}
/**
* .configpb.Version version = 2;
*/
public configpb.Configpb.Version.Builder getVersionBuilder() {
onChanged();
return getVersionFieldBuilder().getBuilder();
}
/**
* .configpb.Version version = 2;
*/
public configpb.Configpb.VersionOrBuilder getVersionOrBuilder() {
if (versionBuilder_ != null) {
return versionBuilder_.getMessageOrBuilder();
} else {
return version_ == null ?
configpb.Configpb.Version.getDefaultInstance() : version_;
}
}
/**
* .configpb.Version version = 2;
*/
private com.google.protobuf.SingleFieldBuilderV3<
configpb.Configpb.Version, configpb.Configpb.Version.Builder, configpb.Configpb.VersionOrBuilder>
getVersionFieldBuilder() {
if (versionBuilder_ == null) {
versionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
configpb.Configpb.Version, configpb.Configpb.Version.Builder, configpb.Configpb.VersionOrBuilder>(
getVersion(),
getParentForChildren(),
isClean());
version_ = null;
}
return versionBuilder_;
}
private java.lang.Object component_ = "";
/**
* string component = 3;
*/
public java.lang.String getComponent() {
java.lang.Object ref = component_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
component_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string component = 3;
*/
public com.google.protobuf.ByteString
getComponentBytes() {
java.lang.Object ref = component_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
component_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string component = 3;
*/
public Builder setComponent(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
component_ = value;
onChanged();
return this;
}
/**
* string component = 3;
*/
public Builder clearComponent() {
component_ = getDefaultInstance().getComponent();
onChanged();
return this;
}
/**
* string component = 3;
*/
public Builder setComponentBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
component_ = value;
onChanged();
return this;
}
private java.lang.Object componentId_ = "";
/**
* string component_id = 4;
*/
public java.lang.String getComponentId() {
java.lang.Object ref = componentId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
componentId_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string component_id = 4;
*/
public com.google.protobuf.ByteString
getComponentIdBytes() {
java.lang.Object ref = componentId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
componentId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string component_id = 4;
*/
public Builder setComponentId(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
componentId_ = value;
onChanged();
return this;
}
/**
* string component_id = 4;
*/
public Builder clearComponentId() {
componentId_ = getDefaultInstance().getComponentId();
onChanged();
return this;
}
/**
* string component_id = 4;
*/
public Builder setComponentIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
componentId_ = value;
onChanged();
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:configpb.GetRequest)
}
// @@protoc_insertion_point(class_scope:configpb.GetRequest)
private static final configpb.Configpb.GetRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new configpb.Configpb.GetRequest();
}
public static configpb.Configpb.GetRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
public GetRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new GetRequest(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
public configpb.Configpb.GetRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface GetResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:configpb.GetResponse)
com.google.protobuf.MessageOrBuilder {
/**
* .configpb.Header header = 1;
*/
boolean hasHeader();
/**
* .configpb.Header header = 1;
*/
configpb.Configpb.Header getHeader();
/**
* .configpb.Header header = 1;
*/
configpb.Configpb.HeaderOrBuilder getHeaderOrBuilder();
/**
* .configpb.Status status = 2;
*/
boolean hasStatus();
/**
* .configpb.Status status = 2;
*/
configpb.Configpb.Status getStatus();
/**
* .configpb.Status status = 2;
*/
configpb.Configpb.StatusOrBuilder getStatusOrBuilder();
/**
* .configpb.Version version = 3;
*/
boolean hasVersion();
/**
* .configpb.Version version = 3;
*/
configpb.Configpb.Version getVersion();
/**
* .configpb.Version version = 3;
*/
configpb.Configpb.VersionOrBuilder getVersionOrBuilder();
/**
* string config = 4;
*/
java.lang.String getConfig();
/**
* string config = 4;
*/
com.google.protobuf.ByteString
getConfigBytes();
}
/**
* Protobuf type {@code configpb.GetResponse}
*/
public static final class GetResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:configpb.GetResponse)
GetResponseOrBuilder {
private static final long serialVersionUID = 0L;
// Use GetResponse.newBuilder() to construct.
private GetResponse(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private GetResponse() {
config_ = "";
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private GetResponse(
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: {
configpb.Configpb.Header.Builder subBuilder = null;
if (header_ != null) {
subBuilder = header_.toBuilder();
}
header_ = input.readMessage(configpb.Configpb.Header.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(header_);
header_ = subBuilder.buildPartial();
}
break;
}
case 18: {
configpb.Configpb.Status.Builder subBuilder = null;
if (status_ != null) {
subBuilder = status_.toBuilder();
}
status_ = input.readMessage(configpb.Configpb.Status.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(status_);
status_ = subBuilder.buildPartial();
}
break;
}
case 26: {
configpb.Configpb.Version.Builder subBuilder = null;
if (version_ != null) {
subBuilder = version_.toBuilder();
}
version_ = input.readMessage(configpb.Configpb.Version.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(version_);
version_ = subBuilder.buildPartial();
}
break;
}
case 34: {
java.lang.String s = input.readStringRequireUtf8();
config_ = s;
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 configpb.Configpb.internal_static_configpb_GetResponse_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return configpb.Configpb.internal_static_configpb_GetResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
configpb.Configpb.GetResponse.class, configpb.Configpb.GetResponse.Builder.class);
}
public static final int HEADER_FIELD_NUMBER = 1;
private configpb.Configpb.Header header_;
/**
* .configpb.Header header = 1;
*/
public boolean hasHeader() {
return header_ != null;
}
/**
* .configpb.Header header = 1;
*/
public configpb.Configpb.Header getHeader() {
return header_ == null ? configpb.Configpb.Header.getDefaultInstance() : header_;
}
/**
* .configpb.Header header = 1;
*/
public configpb.Configpb.HeaderOrBuilder getHeaderOrBuilder() {
return getHeader();
}
public static final int STATUS_FIELD_NUMBER = 2;
private configpb.Configpb.Status status_;
/**
* .configpb.Status status = 2;
*/
public boolean hasStatus() {
return status_ != null;
}
/**
* .configpb.Status status = 2;
*/
public configpb.Configpb.Status getStatus() {
return status_ == null ? configpb.Configpb.Status.getDefaultInstance() : status_;
}
/**
* .configpb.Status status = 2;
*/
public configpb.Configpb.StatusOrBuilder getStatusOrBuilder() {
return getStatus();
}
public static final int VERSION_FIELD_NUMBER = 3;
private configpb.Configpb.Version version_;
/**
* .configpb.Version version = 3;
*/
public boolean hasVersion() {
return version_ != null;
}
/**
* .configpb.Version version = 3;
*/
public configpb.Configpb.Version getVersion() {
return version_ == null ? configpb.Configpb.Version.getDefaultInstance() : version_;
}
/**
* .configpb.Version version = 3;
*/
public configpb.Configpb.VersionOrBuilder getVersionOrBuilder() {
return getVersion();
}
public static final int CONFIG_FIELD_NUMBER = 4;
private volatile java.lang.Object config_;
/**
* string config = 4;
*/
public java.lang.String getConfig() {
java.lang.Object ref = config_;
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();
config_ = s;
return s;
}
}
/**
* string config = 4;
*/
public com.google.protobuf.ByteString
getConfigBytes() {
java.lang.Object ref = config_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
config_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
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 (header_ != null) {
output.writeMessage(1, getHeader());
}
if (status_ != null) {
output.writeMessage(2, getStatus());
}
if (version_ != null) {
output.writeMessage(3, getVersion());
}
if (!getConfigBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, config_);
}
unknownFields.writeTo(output);
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (header_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getHeader());
}
if (status_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, getStatus());
}
if (version_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, getVersion());
}
if (!getConfigBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, config_);
}
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 configpb.Configpb.GetResponse)) {
return super.equals(obj);
}
configpb.Configpb.GetResponse other = (configpb.Configpb.GetResponse) obj;
boolean result = true;
result = result && (hasHeader() == other.hasHeader());
if (hasHeader()) {
result = result && getHeader()
.equals(other.getHeader());
}
result = result && (hasStatus() == other.hasStatus());
if (hasStatus()) {
result = result && getStatus()
.equals(other.getStatus());
}
result = result && (hasVersion() == other.hasVersion());
if (hasVersion()) {
result = result && getVersion()
.equals(other.getVersion());
}
result = result && getConfig()
.equals(other.getConfig());
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 (hasHeader()) {
hash = (37 * hash) + HEADER_FIELD_NUMBER;
hash = (53 * hash) + getHeader().hashCode();
}
if (hasStatus()) {
hash = (37 * hash) + STATUS_FIELD_NUMBER;
hash = (53 * hash) + getStatus().hashCode();
}
if (hasVersion()) {
hash = (37 * hash) + VERSION_FIELD_NUMBER;
hash = (53 * hash) + getVersion().hashCode();
}
hash = (37 * hash) + CONFIG_FIELD_NUMBER;
hash = (53 * hash) + getConfig().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static configpb.Configpb.GetResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static configpb.Configpb.GetResponse parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static configpb.Configpb.GetResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static configpb.Configpb.GetResponse parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static configpb.Configpb.GetResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static configpb.Configpb.GetResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static configpb.Configpb.GetResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static configpb.Configpb.GetResponse 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 configpb.Configpb.GetResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static configpb.Configpb.GetResponse 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 configpb.Configpb.GetResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static configpb.Configpb.GetResponse 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(configpb.Configpb.GetResponse 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 configpb.GetResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:configpb.GetResponse)
configpb.Configpb.GetResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return configpb.Configpb.internal_static_configpb_GetResponse_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return configpb.Configpb.internal_static_configpb_GetResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
configpb.Configpb.GetResponse.class, configpb.Configpb.GetResponse.Builder.class);
}
// Construct using configpb.Configpb.GetResponse.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 (headerBuilder_ == null) {
header_ = null;
} else {
header_ = null;
headerBuilder_ = null;
}
if (statusBuilder_ == null) {
status_ = null;
} else {
status_ = null;
statusBuilder_ = null;
}
if (versionBuilder_ == null) {
version_ = null;
} else {
version_ = null;
versionBuilder_ = null;
}
config_ = "";
return this;
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return configpb.Configpb.internal_static_configpb_GetResponse_descriptor;
}
public configpb.Configpb.GetResponse getDefaultInstanceForType() {
return configpb.Configpb.GetResponse.getDefaultInstance();
}
public configpb.Configpb.GetResponse build() {
configpb.Configpb.GetResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public configpb.Configpb.GetResponse buildPartial() {
configpb.Configpb.GetResponse result = new configpb.Configpb.GetResponse(this);
if (headerBuilder_ == null) {
result.header_ = header_;
} else {
result.header_ = headerBuilder_.build();
}
if (statusBuilder_ == null) {
result.status_ = status_;
} else {
result.status_ = statusBuilder_.build();
}
if (versionBuilder_ == null) {
result.version_ = version_;
} else {
result.version_ = versionBuilder_.build();
}
result.config_ = config_;
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 configpb.Configpb.GetResponse) {
return mergeFrom((configpb.Configpb.GetResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(configpb.Configpb.GetResponse other) {
if (other == configpb.Configpb.GetResponse.getDefaultInstance()) return this;
if (other.hasHeader()) {
mergeHeader(other.getHeader());
}
if (other.hasStatus()) {
mergeStatus(other.getStatus());
}
if (other.hasVersion()) {
mergeVersion(other.getVersion());
}
if (!other.getConfig().isEmpty()) {
config_ = other.config_;
onChanged();
}
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 {
configpb.Configpb.GetResponse parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (configpb.Configpb.GetResponse) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private configpb.Configpb.Header header_ = null;
private com.google.protobuf.SingleFieldBuilderV3<
configpb.Configpb.Header, configpb.Configpb.Header.Builder, configpb.Configpb.HeaderOrBuilder> headerBuilder_;
/**
* .configpb.Header header = 1;
*/
public boolean hasHeader() {
return headerBuilder_ != null || header_ != null;
}
/**
* .configpb.Header header = 1;
*/
public configpb.Configpb.Header getHeader() {
if (headerBuilder_ == null) {
return header_ == null ? configpb.Configpb.Header.getDefaultInstance() : header_;
} else {
return headerBuilder_.getMessage();
}
}
/**
* .configpb.Header header = 1;
*/
public Builder setHeader(configpb.Configpb.Header value) {
if (headerBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
header_ = value;
onChanged();
} else {
headerBuilder_.setMessage(value);
}
return this;
}
/**
* .configpb.Header header = 1;
*/
public Builder setHeader(
configpb.Configpb.Header.Builder builderForValue) {
if (headerBuilder_ == null) {
header_ = builderForValue.build();
onChanged();
} else {
headerBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .configpb.Header header = 1;
*/
public Builder mergeHeader(configpb.Configpb.Header value) {
if (headerBuilder_ == null) {
if (header_ != null) {
header_ =
configpb.Configpb.Header.newBuilder(header_).mergeFrom(value).buildPartial();
} else {
header_ = value;
}
onChanged();
} else {
headerBuilder_.mergeFrom(value);
}
return this;
}
/**
* .configpb.Header header = 1;
*/
public Builder clearHeader() {
if (headerBuilder_ == null) {
header_ = null;
onChanged();
} else {
header_ = null;
headerBuilder_ = null;
}
return this;
}
/**
* .configpb.Header header = 1;
*/
public configpb.Configpb.Header.Builder getHeaderBuilder() {
onChanged();
return getHeaderFieldBuilder().getBuilder();
}
/**
* .configpb.Header header = 1;
*/
public configpb.Configpb.HeaderOrBuilder getHeaderOrBuilder() {
if (headerBuilder_ != null) {
return headerBuilder_.getMessageOrBuilder();
} else {
return header_ == null ?
configpb.Configpb.Header.getDefaultInstance() : header_;
}
}
/**
* .configpb.Header header = 1;
*/
private com.google.protobuf.SingleFieldBuilderV3<
configpb.Configpb.Header, configpb.Configpb.Header.Builder, configpb.Configpb.HeaderOrBuilder>
getHeaderFieldBuilder() {
if (headerBuilder_ == null) {
headerBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
configpb.Configpb.Header, configpb.Configpb.Header.Builder, configpb.Configpb.HeaderOrBuilder>(
getHeader(),
getParentForChildren(),
isClean());
header_ = null;
}
return headerBuilder_;
}
private configpb.Configpb.Status status_ = null;
private com.google.protobuf.SingleFieldBuilderV3<
configpb.Configpb.Status, configpb.Configpb.Status.Builder, configpb.Configpb.StatusOrBuilder> statusBuilder_;
/**
* .configpb.Status status = 2;
*/
public boolean hasStatus() {
return statusBuilder_ != null || status_ != null;
}
/**
* .configpb.Status status = 2;
*/
public configpb.Configpb.Status getStatus() {
if (statusBuilder_ == null) {
return status_ == null ? configpb.Configpb.Status.getDefaultInstance() : status_;
} else {
return statusBuilder_.getMessage();
}
}
/**
* .configpb.Status status = 2;
*/
public Builder setStatus(configpb.Configpb.Status value) {
if (statusBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
status_ = value;
onChanged();
} else {
statusBuilder_.setMessage(value);
}
return this;
}
/**
* .configpb.Status status = 2;
*/
public Builder setStatus(
configpb.Configpb.Status.Builder builderForValue) {
if (statusBuilder_ == null) {
status_ = builderForValue.build();
onChanged();
} else {
statusBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .configpb.Status status = 2;
*/
public Builder mergeStatus(configpb.Configpb.Status value) {
if (statusBuilder_ == null) {
if (status_ != null) {
status_ =
configpb.Configpb.Status.newBuilder(status_).mergeFrom(value).buildPartial();
} else {
status_ = value;
}
onChanged();
} else {
statusBuilder_.mergeFrom(value);
}
return this;
}
/**
* .configpb.Status status = 2;
*/
public Builder clearStatus() {
if (statusBuilder_ == null) {
status_ = null;
onChanged();
} else {
status_ = null;
statusBuilder_ = null;
}
return this;
}
/**
* .configpb.Status status = 2;
*/
public configpb.Configpb.Status.Builder getStatusBuilder() {
onChanged();
return getStatusFieldBuilder().getBuilder();
}
/**
* .configpb.Status status = 2;
*/
public configpb.Configpb.StatusOrBuilder getStatusOrBuilder() {
if (statusBuilder_ != null) {
return statusBuilder_.getMessageOrBuilder();
} else {
return status_ == null ?
configpb.Configpb.Status.getDefaultInstance() : status_;
}
}
/**
* .configpb.Status status = 2;
*/
private com.google.protobuf.SingleFieldBuilderV3<
configpb.Configpb.Status, configpb.Configpb.Status.Builder, configpb.Configpb.StatusOrBuilder>
getStatusFieldBuilder() {
if (statusBuilder_ == null) {
statusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
configpb.Configpb.Status, configpb.Configpb.Status.Builder, configpb.Configpb.StatusOrBuilder>(
getStatus(),
getParentForChildren(),
isClean());
status_ = null;
}
return statusBuilder_;
}
private configpb.Configpb.Version version_ = null;
private com.google.protobuf.SingleFieldBuilderV3<
configpb.Configpb.Version, configpb.Configpb.Version.Builder, configpb.Configpb.VersionOrBuilder> versionBuilder_;
/**
* .configpb.Version version = 3;
*/
public boolean hasVersion() {
return versionBuilder_ != null || version_ != null;
}
/**
* .configpb.Version version = 3;
*/
public configpb.Configpb.Version getVersion() {
if (versionBuilder_ == null) {
return version_ == null ? configpb.Configpb.Version.getDefaultInstance() : version_;
} else {
return versionBuilder_.getMessage();
}
}
/**
* .configpb.Version version = 3;
*/
public Builder setVersion(configpb.Configpb.Version value) {
if (versionBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
version_ = value;
onChanged();
} else {
versionBuilder_.setMessage(value);
}
return this;
}
/**
* .configpb.Version version = 3;
*/
public Builder setVersion(
configpb.Configpb.Version.Builder builderForValue) {
if (versionBuilder_ == null) {
version_ = builderForValue.build();
onChanged();
} else {
versionBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .configpb.Version version = 3;
*/
public Builder mergeVersion(configpb.Configpb.Version value) {
if (versionBuilder_ == null) {
if (version_ != null) {
version_ =
configpb.Configpb.Version.newBuilder(version_).mergeFrom(value).buildPartial();
} else {
version_ = value;
}
onChanged();
} else {
versionBuilder_.mergeFrom(value);
}
return this;
}
/**
* .configpb.Version version = 3;
*/
public Builder clearVersion() {
if (versionBuilder_ == null) {
version_ = null;
onChanged();
} else {
version_ = null;
versionBuilder_ = null;
}
return this;
}
/**
* .configpb.Version version = 3;
*/
public configpb.Configpb.Version.Builder getVersionBuilder() {
onChanged();
return getVersionFieldBuilder().getBuilder();
}
/**
* .configpb.Version version = 3;
*/
public configpb.Configpb.VersionOrBuilder getVersionOrBuilder() {
if (versionBuilder_ != null) {
return versionBuilder_.getMessageOrBuilder();
} else {
return version_ == null ?
configpb.Configpb.Version.getDefaultInstance() : version_;
}
}
/**
* .configpb.Version version = 3;
*/
private com.google.protobuf.SingleFieldBuilderV3<
configpb.Configpb.Version, configpb.Configpb.Version.Builder, configpb.Configpb.VersionOrBuilder>
getVersionFieldBuilder() {
if (versionBuilder_ == null) {
versionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
configpb.Configpb.Version, configpb.Configpb.Version.Builder, configpb.Configpb.VersionOrBuilder>(
getVersion(),
getParentForChildren(),
isClean());
version_ = null;
}
return versionBuilder_;
}
private java.lang.Object config_ = "";
/**
* string config = 4;
*/
public java.lang.String getConfig() {
java.lang.Object ref = config_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
config_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string config = 4;
*/
public com.google.protobuf.ByteString
getConfigBytes() {
java.lang.Object ref = config_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
config_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string config = 4;
*/
public Builder setConfig(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
config_ = value;
onChanged();
return this;
}
/**
* string config = 4;
*/
public Builder clearConfig() {
config_ = getDefaultInstance().getConfig();
onChanged();
return this;
}
/**
* string config = 4;
*/
public Builder setConfigBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
config_ = value;
onChanged();
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:configpb.GetResponse)
}
// @@protoc_insertion_point(class_scope:configpb.GetResponse)
private static final configpb.Configpb.GetResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new configpb.Configpb.GetResponse();
}
public static configpb.Configpb.GetResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
public GetResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new GetResponse(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
public configpb.Configpb.GetResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface UpdateRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:configpb.UpdateRequest)
com.google.protobuf.MessageOrBuilder {
/**
* .configpb.Header header = 1;
*/
boolean hasHeader();
/**
* .configpb.Header header = 1;
*/
configpb.Configpb.Header getHeader();
/**
* .configpb.Header header = 1;
*/
configpb.Configpb.HeaderOrBuilder getHeaderOrBuilder();
/**
* .configpb.Version version = 2;
*/
boolean hasVersion();
/**
* .configpb.Version version = 2;
*/
configpb.Configpb.Version getVersion();
/**
* .configpb.Version version = 2;
*/
configpb.Configpb.VersionOrBuilder getVersionOrBuilder();
/**
* .configpb.ConfigKind kind = 3;
*/
boolean hasKind();
/**
* .configpb.ConfigKind kind = 3;
*/
configpb.Configpb.ConfigKind getKind();
/**
* .configpb.ConfigKind kind = 3;
*/
configpb.Configpb.ConfigKindOrBuilder getKindOrBuilder();
/**
* repeated .configpb.ConfigEntry entries = 4;
*/
java.util.List
getEntriesList();
/**
* repeated .configpb.ConfigEntry entries = 4;
*/
configpb.Configpb.ConfigEntry getEntries(int index);
/**
* repeated .configpb.ConfigEntry entries = 4;
*/
int getEntriesCount();
/**
* repeated .configpb.ConfigEntry entries = 4;
*/
java.util.List extends configpb.Configpb.ConfigEntryOrBuilder>
getEntriesOrBuilderList();
/**
* repeated .configpb.ConfigEntry entries = 4;
*/
configpb.Configpb.ConfigEntryOrBuilder getEntriesOrBuilder(
int index);
}
/**
* Protobuf type {@code configpb.UpdateRequest}
*/
public static final class UpdateRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:configpb.UpdateRequest)
UpdateRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use UpdateRequest.newBuilder() to construct.
private UpdateRequest(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private UpdateRequest() {
entries_ = java.util.Collections.emptyList();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private UpdateRequest(
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: {
configpb.Configpb.Header.Builder subBuilder = null;
if (header_ != null) {
subBuilder = header_.toBuilder();
}
header_ = input.readMessage(configpb.Configpb.Header.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(header_);
header_ = subBuilder.buildPartial();
}
break;
}
case 18: {
configpb.Configpb.Version.Builder subBuilder = null;
if (version_ != null) {
subBuilder = version_.toBuilder();
}
version_ = input.readMessage(configpb.Configpb.Version.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(version_);
version_ = subBuilder.buildPartial();
}
break;
}
case 26: {
configpb.Configpb.ConfigKind.Builder subBuilder = null;
if (kind_ != null) {
subBuilder = kind_.toBuilder();
}
kind_ = input.readMessage(configpb.Configpb.ConfigKind.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(kind_);
kind_ = subBuilder.buildPartial();
}
break;
}
case 34: {
if (!((mutable_bitField0_ & 0x00000008) == 0x00000008)) {
entries_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000008;
}
entries_.add(
input.readMessage(configpb.Configpb.ConfigEntry.parser(), extensionRegistry));
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_ & 0x00000008) == 0x00000008)) {
entries_ = java.util.Collections.unmodifiableList(entries_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return configpb.Configpb.internal_static_configpb_UpdateRequest_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return configpb.Configpb.internal_static_configpb_UpdateRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
configpb.Configpb.UpdateRequest.class, configpb.Configpb.UpdateRequest.Builder.class);
}
private int bitField0_;
public static final int HEADER_FIELD_NUMBER = 1;
private configpb.Configpb.Header header_;
/**
* .configpb.Header header = 1;
*/
public boolean hasHeader() {
return header_ != null;
}
/**
* .configpb.Header header = 1;
*/
public configpb.Configpb.Header getHeader() {
return header_ == null ? configpb.Configpb.Header.getDefaultInstance() : header_;
}
/**
* .configpb.Header header = 1;
*/
public configpb.Configpb.HeaderOrBuilder getHeaderOrBuilder() {
return getHeader();
}
public static final int VERSION_FIELD_NUMBER = 2;
private configpb.Configpb.Version version_;
/**
* .configpb.Version version = 2;
*/
public boolean hasVersion() {
return version_ != null;
}
/**
* .configpb.Version version = 2;
*/
public configpb.Configpb.Version getVersion() {
return version_ == null ? configpb.Configpb.Version.getDefaultInstance() : version_;
}
/**
* .configpb.Version version = 2;
*/
public configpb.Configpb.VersionOrBuilder getVersionOrBuilder() {
return getVersion();
}
public static final int KIND_FIELD_NUMBER = 3;
private configpb.Configpb.ConfigKind kind_;
/**
* .configpb.ConfigKind kind = 3;
*/
public boolean hasKind() {
return kind_ != null;
}
/**
* .configpb.ConfigKind kind = 3;
*/
public configpb.Configpb.ConfigKind getKind() {
return kind_ == null ? configpb.Configpb.ConfigKind.getDefaultInstance() : kind_;
}
/**
* .configpb.ConfigKind kind = 3;
*/
public configpb.Configpb.ConfigKindOrBuilder getKindOrBuilder() {
return getKind();
}
public static final int ENTRIES_FIELD_NUMBER = 4;
private java.util.List entries_;
/**
* repeated .configpb.ConfigEntry entries = 4;
*/
public java.util.List getEntriesList() {
return entries_;
}
/**
* repeated .configpb.ConfigEntry entries = 4;
*/
public java.util.List extends configpb.Configpb.ConfigEntryOrBuilder>
getEntriesOrBuilderList() {
return entries_;
}
/**
* repeated .configpb.ConfigEntry entries = 4;
*/
public int getEntriesCount() {
return entries_.size();
}
/**
* repeated .configpb.ConfigEntry entries = 4;
*/
public configpb.Configpb.ConfigEntry getEntries(int index) {
return entries_.get(index);
}
/**
* repeated .configpb.ConfigEntry entries = 4;
*/
public configpb.Configpb.ConfigEntryOrBuilder getEntriesOrBuilder(
int index) {
return entries_.get(index);
}
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 (header_ != null) {
output.writeMessage(1, getHeader());
}
if (version_ != null) {
output.writeMessage(2, getVersion());
}
if (kind_ != null) {
output.writeMessage(3, getKind());
}
for (int i = 0; i < entries_.size(); i++) {
output.writeMessage(4, entries_.get(i));
}
unknownFields.writeTo(output);
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (header_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getHeader());
}
if (version_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, getVersion());
}
if (kind_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, getKind());
}
for (int i = 0; i < entries_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(4, entries_.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 configpb.Configpb.UpdateRequest)) {
return super.equals(obj);
}
configpb.Configpb.UpdateRequest other = (configpb.Configpb.UpdateRequest) obj;
boolean result = true;
result = result && (hasHeader() == other.hasHeader());
if (hasHeader()) {
result = result && getHeader()
.equals(other.getHeader());
}
result = result && (hasVersion() == other.hasVersion());
if (hasVersion()) {
result = result && getVersion()
.equals(other.getVersion());
}
result = result && (hasKind() == other.hasKind());
if (hasKind()) {
result = result && getKind()
.equals(other.getKind());
}
result = result && getEntriesList()
.equals(other.getEntriesList());
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 (hasHeader()) {
hash = (37 * hash) + HEADER_FIELD_NUMBER;
hash = (53 * hash) + getHeader().hashCode();
}
if (hasVersion()) {
hash = (37 * hash) + VERSION_FIELD_NUMBER;
hash = (53 * hash) + getVersion().hashCode();
}
if (hasKind()) {
hash = (37 * hash) + KIND_FIELD_NUMBER;
hash = (53 * hash) + getKind().hashCode();
}
if (getEntriesCount() > 0) {
hash = (37 * hash) + ENTRIES_FIELD_NUMBER;
hash = (53 * hash) + getEntriesList().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static configpb.Configpb.UpdateRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static configpb.Configpb.UpdateRequest parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static configpb.Configpb.UpdateRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static configpb.Configpb.UpdateRequest parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static configpb.Configpb.UpdateRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static configpb.Configpb.UpdateRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static configpb.Configpb.UpdateRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static configpb.Configpb.UpdateRequest 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 configpb.Configpb.UpdateRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static configpb.Configpb.UpdateRequest 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 configpb.Configpb.UpdateRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static configpb.Configpb.UpdateRequest 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(configpb.Configpb.UpdateRequest 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 configpb.UpdateRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:configpb.UpdateRequest)
configpb.Configpb.UpdateRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return configpb.Configpb.internal_static_configpb_UpdateRequest_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return configpb.Configpb.internal_static_configpb_UpdateRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
configpb.Configpb.UpdateRequest.class, configpb.Configpb.UpdateRequest.Builder.class);
}
// Construct using configpb.Configpb.UpdateRequest.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getEntriesFieldBuilder();
}
}
public Builder clear() {
super.clear();
if (headerBuilder_ == null) {
header_ = null;
} else {
header_ = null;
headerBuilder_ = null;
}
if (versionBuilder_ == null) {
version_ = null;
} else {
version_ = null;
versionBuilder_ = null;
}
if (kindBuilder_ == null) {
kind_ = null;
} else {
kind_ = null;
kindBuilder_ = null;
}
if (entriesBuilder_ == null) {
entries_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000008);
} else {
entriesBuilder_.clear();
}
return this;
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return configpb.Configpb.internal_static_configpb_UpdateRequest_descriptor;
}
public configpb.Configpb.UpdateRequest getDefaultInstanceForType() {
return configpb.Configpb.UpdateRequest.getDefaultInstance();
}
public configpb.Configpb.UpdateRequest build() {
configpb.Configpb.UpdateRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public configpb.Configpb.UpdateRequest buildPartial() {
configpb.Configpb.UpdateRequest result = new configpb.Configpb.UpdateRequest(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (headerBuilder_ == null) {
result.header_ = header_;
} else {
result.header_ = headerBuilder_.build();
}
if (versionBuilder_ == null) {
result.version_ = version_;
} else {
result.version_ = versionBuilder_.build();
}
if (kindBuilder_ == null) {
result.kind_ = kind_;
} else {
result.kind_ = kindBuilder_.build();
}
if (entriesBuilder_ == null) {
if (((bitField0_ & 0x00000008) == 0x00000008)) {
entries_ = java.util.Collections.unmodifiableList(entries_);
bitField0_ = (bitField0_ & ~0x00000008);
}
result.entries_ = entries_;
} else {
result.entries_ = entriesBuilder_.build();
}
result.bitField0_ = to_bitField0_;
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 configpb.Configpb.UpdateRequest) {
return mergeFrom((configpb.Configpb.UpdateRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(configpb.Configpb.UpdateRequest other) {
if (other == configpb.Configpb.UpdateRequest.getDefaultInstance()) return this;
if (other.hasHeader()) {
mergeHeader(other.getHeader());
}
if (other.hasVersion()) {
mergeVersion(other.getVersion());
}
if (other.hasKind()) {
mergeKind(other.getKind());
}
if (entriesBuilder_ == null) {
if (!other.entries_.isEmpty()) {
if (entries_.isEmpty()) {
entries_ = other.entries_;
bitField0_ = (bitField0_ & ~0x00000008);
} else {
ensureEntriesIsMutable();
entries_.addAll(other.entries_);
}
onChanged();
}
} else {
if (!other.entries_.isEmpty()) {
if (entriesBuilder_.isEmpty()) {
entriesBuilder_.dispose();
entriesBuilder_ = null;
entries_ = other.entries_;
bitField0_ = (bitField0_ & ~0x00000008);
entriesBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getEntriesFieldBuilder() : null;
} else {
entriesBuilder_.addAllMessages(other.entries_);
}
}
}
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 {
configpb.Configpb.UpdateRequest parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (configpb.Configpb.UpdateRequest) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private configpb.Configpb.Header header_ = null;
private com.google.protobuf.SingleFieldBuilderV3<
configpb.Configpb.Header, configpb.Configpb.Header.Builder, configpb.Configpb.HeaderOrBuilder> headerBuilder_;
/**
* .configpb.Header header = 1;
*/
public boolean hasHeader() {
return headerBuilder_ != null || header_ != null;
}
/**
* .configpb.Header header = 1;
*/
public configpb.Configpb.Header getHeader() {
if (headerBuilder_ == null) {
return header_ == null ? configpb.Configpb.Header.getDefaultInstance() : header_;
} else {
return headerBuilder_.getMessage();
}
}
/**
* .configpb.Header header = 1;
*/
public Builder setHeader(configpb.Configpb.Header value) {
if (headerBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
header_ = value;
onChanged();
} else {
headerBuilder_.setMessage(value);
}
return this;
}
/**
* .configpb.Header header = 1;
*/
public Builder setHeader(
configpb.Configpb.Header.Builder builderForValue) {
if (headerBuilder_ == null) {
header_ = builderForValue.build();
onChanged();
} else {
headerBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .configpb.Header header = 1;
*/
public Builder mergeHeader(configpb.Configpb.Header value) {
if (headerBuilder_ == null) {
if (header_ != null) {
header_ =
configpb.Configpb.Header.newBuilder(header_).mergeFrom(value).buildPartial();
} else {
header_ = value;
}
onChanged();
} else {
headerBuilder_.mergeFrom(value);
}
return this;
}
/**
* .configpb.Header header = 1;
*/
public Builder clearHeader() {
if (headerBuilder_ == null) {
header_ = null;
onChanged();
} else {
header_ = null;
headerBuilder_ = null;
}
return this;
}
/**
* .configpb.Header header = 1;
*/
public configpb.Configpb.Header.Builder getHeaderBuilder() {
onChanged();
return getHeaderFieldBuilder().getBuilder();
}
/**
* .configpb.Header header = 1;
*/
public configpb.Configpb.HeaderOrBuilder getHeaderOrBuilder() {
if (headerBuilder_ != null) {
return headerBuilder_.getMessageOrBuilder();
} else {
return header_ == null ?
configpb.Configpb.Header.getDefaultInstance() : header_;
}
}
/**
* .configpb.Header header = 1;
*/
private com.google.protobuf.SingleFieldBuilderV3<
configpb.Configpb.Header, configpb.Configpb.Header.Builder, configpb.Configpb.HeaderOrBuilder>
getHeaderFieldBuilder() {
if (headerBuilder_ == null) {
headerBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
configpb.Configpb.Header, configpb.Configpb.Header.Builder, configpb.Configpb.HeaderOrBuilder>(
getHeader(),
getParentForChildren(),
isClean());
header_ = null;
}
return headerBuilder_;
}
private configpb.Configpb.Version version_ = null;
private com.google.protobuf.SingleFieldBuilderV3<
configpb.Configpb.Version, configpb.Configpb.Version.Builder, configpb.Configpb.VersionOrBuilder> versionBuilder_;
/**
* .configpb.Version version = 2;
*/
public boolean hasVersion() {
return versionBuilder_ != null || version_ != null;
}
/**
* .configpb.Version version = 2;
*/
public configpb.Configpb.Version getVersion() {
if (versionBuilder_ == null) {
return version_ == null ? configpb.Configpb.Version.getDefaultInstance() : version_;
} else {
return versionBuilder_.getMessage();
}
}
/**
* .configpb.Version version = 2;
*/
public Builder setVersion(configpb.Configpb.Version value) {
if (versionBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
version_ = value;
onChanged();
} else {
versionBuilder_.setMessage(value);
}
return this;
}
/**
* .configpb.Version version = 2;
*/
public Builder setVersion(
configpb.Configpb.Version.Builder builderForValue) {
if (versionBuilder_ == null) {
version_ = builderForValue.build();
onChanged();
} else {
versionBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .configpb.Version version = 2;
*/
public Builder mergeVersion(configpb.Configpb.Version value) {
if (versionBuilder_ == null) {
if (version_ != null) {
version_ =
configpb.Configpb.Version.newBuilder(version_).mergeFrom(value).buildPartial();
} else {
version_ = value;
}
onChanged();
} else {
versionBuilder_.mergeFrom(value);
}
return this;
}
/**
* .configpb.Version version = 2;
*/
public Builder clearVersion() {
if (versionBuilder_ == null) {
version_ = null;
onChanged();
} else {
version_ = null;
versionBuilder_ = null;
}
return this;
}
/**
* .configpb.Version version = 2;
*/
public configpb.Configpb.Version.Builder getVersionBuilder() {
onChanged();
return getVersionFieldBuilder().getBuilder();
}
/**
* .configpb.Version version = 2;
*/
public configpb.Configpb.VersionOrBuilder getVersionOrBuilder() {
if (versionBuilder_ != null) {
return versionBuilder_.getMessageOrBuilder();
} else {
return version_ == null ?
configpb.Configpb.Version.getDefaultInstance() : version_;
}
}
/**
* .configpb.Version version = 2;
*/
private com.google.protobuf.SingleFieldBuilderV3<
configpb.Configpb.Version, configpb.Configpb.Version.Builder, configpb.Configpb.VersionOrBuilder>
getVersionFieldBuilder() {
if (versionBuilder_ == null) {
versionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
configpb.Configpb.Version, configpb.Configpb.Version.Builder, configpb.Configpb.VersionOrBuilder>(
getVersion(),
getParentForChildren(),
isClean());
version_ = null;
}
return versionBuilder_;
}
private configpb.Configpb.ConfigKind kind_ = null;
private com.google.protobuf.SingleFieldBuilderV3<
configpb.Configpb.ConfigKind, configpb.Configpb.ConfigKind.Builder, configpb.Configpb.ConfigKindOrBuilder> kindBuilder_;
/**
* .configpb.ConfigKind kind = 3;
*/
public boolean hasKind() {
return kindBuilder_ != null || kind_ != null;
}
/**
* .configpb.ConfigKind kind = 3;
*/
public configpb.Configpb.ConfigKind getKind() {
if (kindBuilder_ == null) {
return kind_ == null ? configpb.Configpb.ConfigKind.getDefaultInstance() : kind_;
} else {
return kindBuilder_.getMessage();
}
}
/**
* .configpb.ConfigKind kind = 3;
*/
public Builder setKind(configpb.Configpb.ConfigKind value) {
if (kindBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
kind_ = value;
onChanged();
} else {
kindBuilder_.setMessage(value);
}
return this;
}
/**
* .configpb.ConfigKind kind = 3;
*/
public Builder setKind(
configpb.Configpb.ConfigKind.Builder builderForValue) {
if (kindBuilder_ == null) {
kind_ = builderForValue.build();
onChanged();
} else {
kindBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .configpb.ConfigKind kind = 3;
*/
public Builder mergeKind(configpb.Configpb.ConfigKind value) {
if (kindBuilder_ == null) {
if (kind_ != null) {
kind_ =
configpb.Configpb.ConfigKind.newBuilder(kind_).mergeFrom(value).buildPartial();
} else {
kind_ = value;
}
onChanged();
} else {
kindBuilder_.mergeFrom(value);
}
return this;
}
/**
* .configpb.ConfigKind kind = 3;
*/
public Builder clearKind() {
if (kindBuilder_ == null) {
kind_ = null;
onChanged();
} else {
kind_ = null;
kindBuilder_ = null;
}
return this;
}
/**
* .configpb.ConfigKind kind = 3;
*/
public configpb.Configpb.ConfigKind.Builder getKindBuilder() {
onChanged();
return getKindFieldBuilder().getBuilder();
}
/**
* .configpb.ConfigKind kind = 3;
*/
public configpb.Configpb.ConfigKindOrBuilder getKindOrBuilder() {
if (kindBuilder_ != null) {
return kindBuilder_.getMessageOrBuilder();
} else {
return kind_ == null ?
configpb.Configpb.ConfigKind.getDefaultInstance() : kind_;
}
}
/**
* .configpb.ConfigKind kind = 3;
*/
private com.google.protobuf.SingleFieldBuilderV3<
configpb.Configpb.ConfigKind, configpb.Configpb.ConfigKind.Builder, configpb.Configpb.ConfigKindOrBuilder>
getKindFieldBuilder() {
if (kindBuilder_ == null) {
kindBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
configpb.Configpb.ConfigKind, configpb.Configpb.ConfigKind.Builder, configpb.Configpb.ConfigKindOrBuilder>(
getKind(),
getParentForChildren(),
isClean());
kind_ = null;
}
return kindBuilder_;
}
private java.util.List entries_ =
java.util.Collections.emptyList();
private void ensureEntriesIsMutable() {
if (!((bitField0_ & 0x00000008) == 0x00000008)) {
entries_ = new java.util.ArrayList(entries_);
bitField0_ |= 0x00000008;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
configpb.Configpb.ConfigEntry, configpb.Configpb.ConfigEntry.Builder, configpb.Configpb.ConfigEntryOrBuilder> entriesBuilder_;
/**
* repeated .configpb.ConfigEntry entries = 4;
*/
public java.util.List getEntriesList() {
if (entriesBuilder_ == null) {
return java.util.Collections.unmodifiableList(entries_);
} else {
return entriesBuilder_.getMessageList();
}
}
/**
* repeated .configpb.ConfigEntry entries = 4;
*/
public int getEntriesCount() {
if (entriesBuilder_ == null) {
return entries_.size();
} else {
return entriesBuilder_.getCount();
}
}
/**
* repeated .configpb.ConfigEntry entries = 4;
*/
public configpb.Configpb.ConfigEntry getEntries(int index) {
if (entriesBuilder_ == null) {
return entries_.get(index);
} else {
return entriesBuilder_.getMessage(index);
}
}
/**
* repeated .configpb.ConfigEntry entries = 4;
*/
public Builder setEntries(
int index, configpb.Configpb.ConfigEntry value) {
if (entriesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureEntriesIsMutable();
entries_.set(index, value);
onChanged();
} else {
entriesBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .configpb.ConfigEntry entries = 4;
*/
public Builder setEntries(
int index, configpb.Configpb.ConfigEntry.Builder builderForValue) {
if (entriesBuilder_ == null) {
ensureEntriesIsMutable();
entries_.set(index, builderForValue.build());
onChanged();
} else {
entriesBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .configpb.ConfigEntry entries = 4;
*/
public Builder addEntries(configpb.Configpb.ConfigEntry value) {
if (entriesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureEntriesIsMutable();
entries_.add(value);
onChanged();
} else {
entriesBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .configpb.ConfigEntry entries = 4;
*/
public Builder addEntries(
int index, configpb.Configpb.ConfigEntry value) {
if (entriesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureEntriesIsMutable();
entries_.add(index, value);
onChanged();
} else {
entriesBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .configpb.ConfigEntry entries = 4;
*/
public Builder addEntries(
configpb.Configpb.ConfigEntry.Builder builderForValue) {
if (entriesBuilder_ == null) {
ensureEntriesIsMutable();
entries_.add(builderForValue.build());
onChanged();
} else {
entriesBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .configpb.ConfigEntry entries = 4;
*/
public Builder addEntries(
int index, configpb.Configpb.ConfigEntry.Builder builderForValue) {
if (entriesBuilder_ == null) {
ensureEntriesIsMutable();
entries_.add(index, builderForValue.build());
onChanged();
} else {
entriesBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .configpb.ConfigEntry entries = 4;
*/
public Builder addAllEntries(
java.lang.Iterable extends configpb.Configpb.ConfigEntry> values) {
if (entriesBuilder_ == null) {
ensureEntriesIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, entries_);
onChanged();
} else {
entriesBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .configpb.ConfigEntry entries = 4;
*/
public Builder clearEntries() {
if (entriesBuilder_ == null) {
entries_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000008);
onChanged();
} else {
entriesBuilder_.clear();
}
return this;
}
/**
* repeated .configpb.ConfigEntry entries = 4;
*/
public Builder removeEntries(int index) {
if (entriesBuilder_ == null) {
ensureEntriesIsMutable();
entries_.remove(index);
onChanged();
} else {
entriesBuilder_.remove(index);
}
return this;
}
/**
* repeated .configpb.ConfigEntry entries = 4;
*/
public configpb.Configpb.ConfigEntry.Builder getEntriesBuilder(
int index) {
return getEntriesFieldBuilder().getBuilder(index);
}
/**
* repeated .configpb.ConfigEntry entries = 4;
*/
public configpb.Configpb.ConfigEntryOrBuilder getEntriesOrBuilder(
int index) {
if (entriesBuilder_ == null) {
return entries_.get(index); } else {
return entriesBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .configpb.ConfigEntry entries = 4;
*/
public java.util.List extends configpb.Configpb.ConfigEntryOrBuilder>
getEntriesOrBuilderList() {
if (entriesBuilder_ != null) {
return entriesBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(entries_);
}
}
/**
* repeated .configpb.ConfigEntry entries = 4;
*/
public configpb.Configpb.ConfigEntry.Builder addEntriesBuilder() {
return getEntriesFieldBuilder().addBuilder(
configpb.Configpb.ConfigEntry.getDefaultInstance());
}
/**
* repeated .configpb.ConfigEntry entries = 4;
*/
public configpb.Configpb.ConfigEntry.Builder addEntriesBuilder(
int index) {
return getEntriesFieldBuilder().addBuilder(
index, configpb.Configpb.ConfigEntry.getDefaultInstance());
}
/**
* repeated .configpb.ConfigEntry entries = 4;
*/
public java.util.List
getEntriesBuilderList() {
return getEntriesFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
configpb.Configpb.ConfigEntry, configpb.Configpb.ConfigEntry.Builder, configpb.Configpb.ConfigEntryOrBuilder>
getEntriesFieldBuilder() {
if (entriesBuilder_ == null) {
entriesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
configpb.Configpb.ConfigEntry, configpb.Configpb.ConfigEntry.Builder, configpb.Configpb.ConfigEntryOrBuilder>(
entries_,
((bitField0_ & 0x00000008) == 0x00000008),
getParentForChildren(),
isClean());
entries_ = null;
}
return entriesBuilder_;
}
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:configpb.UpdateRequest)
}
// @@protoc_insertion_point(class_scope:configpb.UpdateRequest)
private static final configpb.Configpb.UpdateRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new configpb.Configpb.UpdateRequest();
}
public static configpb.Configpb.UpdateRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
public UpdateRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new UpdateRequest(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
public configpb.Configpb.UpdateRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface UpdateResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:configpb.UpdateResponse)
com.google.protobuf.MessageOrBuilder {
/**
* .configpb.Header header = 1;
*/
boolean hasHeader();
/**
* .configpb.Header header = 1;
*/
configpb.Configpb.Header getHeader();
/**
* .configpb.Header header = 1;
*/
configpb.Configpb.HeaderOrBuilder getHeaderOrBuilder();
/**
* .configpb.Status status = 2;
*/
boolean hasStatus();
/**
* .configpb.Status status = 2;
*/
configpb.Configpb.Status getStatus();
/**
* .configpb.Status status = 2;
*/
configpb.Configpb.StatusOrBuilder getStatusOrBuilder();
/**
* .configpb.Version version = 3;
*/
boolean hasVersion();
/**
* .configpb.Version version = 3;
*/
configpb.Configpb.Version getVersion();
/**
* .configpb.Version version = 3;
*/
configpb.Configpb.VersionOrBuilder getVersionOrBuilder();
/**
* string config = 4;
*/
java.lang.String getConfig();
/**
* string config = 4;
*/
com.google.protobuf.ByteString
getConfigBytes();
}
/**
* Protobuf type {@code configpb.UpdateResponse}
*/
public static final class UpdateResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:configpb.UpdateResponse)
UpdateResponseOrBuilder {
private static final long serialVersionUID = 0L;
// Use UpdateResponse.newBuilder() to construct.
private UpdateResponse(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private UpdateResponse() {
config_ = "";
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private UpdateResponse(
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: {
configpb.Configpb.Header.Builder subBuilder = null;
if (header_ != null) {
subBuilder = header_.toBuilder();
}
header_ = input.readMessage(configpb.Configpb.Header.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(header_);
header_ = subBuilder.buildPartial();
}
break;
}
case 18: {
configpb.Configpb.Status.Builder subBuilder = null;
if (status_ != null) {
subBuilder = status_.toBuilder();
}
status_ = input.readMessage(configpb.Configpb.Status.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(status_);
status_ = subBuilder.buildPartial();
}
break;
}
case 26: {
configpb.Configpb.Version.Builder subBuilder = null;
if (version_ != null) {
subBuilder = version_.toBuilder();
}
version_ = input.readMessage(configpb.Configpb.Version.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(version_);
version_ = subBuilder.buildPartial();
}
break;
}
case 34: {
java.lang.String s = input.readStringRequireUtf8();
config_ = s;
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 configpb.Configpb.internal_static_configpb_UpdateResponse_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return configpb.Configpb.internal_static_configpb_UpdateResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
configpb.Configpb.UpdateResponse.class, configpb.Configpb.UpdateResponse.Builder.class);
}
public static final int HEADER_FIELD_NUMBER = 1;
private configpb.Configpb.Header header_;
/**
* .configpb.Header header = 1;
*/
public boolean hasHeader() {
return header_ != null;
}
/**
* .configpb.Header header = 1;
*/
public configpb.Configpb.Header getHeader() {
return header_ == null ? configpb.Configpb.Header.getDefaultInstance() : header_;
}
/**
* .configpb.Header header = 1;
*/
public configpb.Configpb.HeaderOrBuilder getHeaderOrBuilder() {
return getHeader();
}
public static final int STATUS_FIELD_NUMBER = 2;
private configpb.Configpb.Status status_;
/**
* .configpb.Status status = 2;
*/
public boolean hasStatus() {
return status_ != null;
}
/**
* .configpb.Status status = 2;
*/
public configpb.Configpb.Status getStatus() {
return status_ == null ? configpb.Configpb.Status.getDefaultInstance() : status_;
}
/**
* .configpb.Status status = 2;
*/
public configpb.Configpb.StatusOrBuilder getStatusOrBuilder() {
return getStatus();
}
public static final int VERSION_FIELD_NUMBER = 3;
private configpb.Configpb.Version version_;
/**
* .configpb.Version version = 3;
*/
public boolean hasVersion() {
return version_ != null;
}
/**
* .configpb.Version version = 3;
*/
public configpb.Configpb.Version getVersion() {
return version_ == null ? configpb.Configpb.Version.getDefaultInstance() : version_;
}
/**
* .configpb.Version version = 3;
*/
public configpb.Configpb.VersionOrBuilder getVersionOrBuilder() {
return getVersion();
}
public static final int CONFIG_FIELD_NUMBER = 4;
private volatile java.lang.Object config_;
/**
* string config = 4;
*/
public java.lang.String getConfig() {
java.lang.Object ref = config_;
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();
config_ = s;
return s;
}
}
/**
* string config = 4;
*/
public com.google.protobuf.ByteString
getConfigBytes() {
java.lang.Object ref = config_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
config_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
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 (header_ != null) {
output.writeMessage(1, getHeader());
}
if (status_ != null) {
output.writeMessage(2, getStatus());
}
if (version_ != null) {
output.writeMessage(3, getVersion());
}
if (!getConfigBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, config_);
}
unknownFields.writeTo(output);
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (header_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getHeader());
}
if (status_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, getStatus());
}
if (version_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, getVersion());
}
if (!getConfigBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, config_);
}
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 configpb.Configpb.UpdateResponse)) {
return super.equals(obj);
}
configpb.Configpb.UpdateResponse other = (configpb.Configpb.UpdateResponse) obj;
boolean result = true;
result = result && (hasHeader() == other.hasHeader());
if (hasHeader()) {
result = result && getHeader()
.equals(other.getHeader());
}
result = result && (hasStatus() == other.hasStatus());
if (hasStatus()) {
result = result && getStatus()
.equals(other.getStatus());
}
result = result && (hasVersion() == other.hasVersion());
if (hasVersion()) {
result = result && getVersion()
.equals(other.getVersion());
}
result = result && getConfig()
.equals(other.getConfig());
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 (hasHeader()) {
hash = (37 * hash) + HEADER_FIELD_NUMBER;
hash = (53 * hash) + getHeader().hashCode();
}
if (hasStatus()) {
hash = (37 * hash) + STATUS_FIELD_NUMBER;
hash = (53 * hash) + getStatus().hashCode();
}
if (hasVersion()) {
hash = (37 * hash) + VERSION_FIELD_NUMBER;
hash = (53 * hash) + getVersion().hashCode();
}
hash = (37 * hash) + CONFIG_FIELD_NUMBER;
hash = (53 * hash) + getConfig().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static configpb.Configpb.UpdateResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static configpb.Configpb.UpdateResponse parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static configpb.Configpb.UpdateResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static configpb.Configpb.UpdateResponse parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static configpb.Configpb.UpdateResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static configpb.Configpb.UpdateResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static configpb.Configpb.UpdateResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static configpb.Configpb.UpdateResponse 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 configpb.Configpb.UpdateResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static configpb.Configpb.UpdateResponse 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 configpb.Configpb.UpdateResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static configpb.Configpb.UpdateResponse 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(configpb.Configpb.UpdateResponse 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 configpb.UpdateResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:configpb.UpdateResponse)
configpb.Configpb.UpdateResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return configpb.Configpb.internal_static_configpb_UpdateResponse_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return configpb.Configpb.internal_static_configpb_UpdateResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
configpb.Configpb.UpdateResponse.class, configpb.Configpb.UpdateResponse.Builder.class);
}
// Construct using configpb.Configpb.UpdateResponse.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 (headerBuilder_ == null) {
header_ = null;
} else {
header_ = null;
headerBuilder_ = null;
}
if (statusBuilder_ == null) {
status_ = null;
} else {
status_ = null;
statusBuilder_ = null;
}
if (versionBuilder_ == null) {
version_ = null;
} else {
version_ = null;
versionBuilder_ = null;
}
config_ = "";
return this;
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return configpb.Configpb.internal_static_configpb_UpdateResponse_descriptor;
}
public configpb.Configpb.UpdateResponse getDefaultInstanceForType() {
return configpb.Configpb.UpdateResponse.getDefaultInstance();
}
public configpb.Configpb.UpdateResponse build() {
configpb.Configpb.UpdateResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public configpb.Configpb.UpdateResponse buildPartial() {
configpb.Configpb.UpdateResponse result = new configpb.Configpb.UpdateResponse(this);
if (headerBuilder_ == null) {
result.header_ = header_;
} else {
result.header_ = headerBuilder_.build();
}
if (statusBuilder_ == null) {
result.status_ = status_;
} else {
result.status_ = statusBuilder_.build();
}
if (versionBuilder_ == null) {
result.version_ = version_;
} else {
result.version_ = versionBuilder_.build();
}
result.config_ = config_;
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 configpb.Configpb.UpdateResponse) {
return mergeFrom((configpb.Configpb.UpdateResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(configpb.Configpb.UpdateResponse other) {
if (other == configpb.Configpb.UpdateResponse.getDefaultInstance()) return this;
if (other.hasHeader()) {
mergeHeader(other.getHeader());
}
if (other.hasStatus()) {
mergeStatus(other.getStatus());
}
if (other.hasVersion()) {
mergeVersion(other.getVersion());
}
if (!other.getConfig().isEmpty()) {
config_ = other.config_;
onChanged();
}
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 {
configpb.Configpb.UpdateResponse parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (configpb.Configpb.UpdateResponse) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private configpb.Configpb.Header header_ = null;
private com.google.protobuf.SingleFieldBuilderV3<
configpb.Configpb.Header, configpb.Configpb.Header.Builder, configpb.Configpb.HeaderOrBuilder> headerBuilder_;
/**
* .configpb.Header header = 1;
*/
public boolean hasHeader() {
return headerBuilder_ != null || header_ != null;
}
/**
* .configpb.Header header = 1;
*/
public configpb.Configpb.Header getHeader() {
if (headerBuilder_ == null) {
return header_ == null ? configpb.Configpb.Header.getDefaultInstance() : header_;
} else {
return headerBuilder_.getMessage();
}
}
/**
* .configpb.Header header = 1;
*/
public Builder setHeader(configpb.Configpb.Header value) {
if (headerBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
header_ = value;
onChanged();
} else {
headerBuilder_.setMessage(value);
}
return this;
}
/**
* .configpb.Header header = 1;
*/
public Builder setHeader(
configpb.Configpb.Header.Builder builderForValue) {
if (headerBuilder_ == null) {
header_ = builderForValue.build();
onChanged();
} else {
headerBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .configpb.Header header = 1;
*/
public Builder mergeHeader(configpb.Configpb.Header value) {
if (headerBuilder_ == null) {
if (header_ != null) {
header_ =
configpb.Configpb.Header.newBuilder(header_).mergeFrom(value).buildPartial();
} else {
header_ = value;
}
onChanged();
} else {
headerBuilder_.mergeFrom(value);
}
return this;
}
/**
* .configpb.Header header = 1;
*/
public Builder clearHeader() {
if (headerBuilder_ == null) {
header_ = null;
onChanged();
} else {
header_ = null;
headerBuilder_ = null;
}
return this;
}
/**
* .configpb.Header header = 1;
*/
public configpb.Configpb.Header.Builder getHeaderBuilder() {
onChanged();
return getHeaderFieldBuilder().getBuilder();
}
/**
* .configpb.Header header = 1;
*/
public configpb.Configpb.HeaderOrBuilder getHeaderOrBuilder() {
if (headerBuilder_ != null) {
return headerBuilder_.getMessageOrBuilder();
} else {
return header_ == null ?
configpb.Configpb.Header.getDefaultInstance() : header_;
}
}
/**
* .configpb.Header header = 1;
*/
private com.google.protobuf.SingleFieldBuilderV3<
configpb.Configpb.Header, configpb.Configpb.Header.Builder, configpb.Configpb.HeaderOrBuilder>
getHeaderFieldBuilder() {
if (headerBuilder_ == null) {
headerBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
configpb.Configpb.Header, configpb.Configpb.Header.Builder, configpb.Configpb.HeaderOrBuilder>(
getHeader(),
getParentForChildren(),
isClean());
header_ = null;
}
return headerBuilder_;
}
private configpb.Configpb.Status status_ = null;
private com.google.protobuf.SingleFieldBuilderV3<
configpb.Configpb.Status, configpb.Configpb.Status.Builder, configpb.Configpb.StatusOrBuilder> statusBuilder_;
/**
* .configpb.Status status = 2;
*/
public boolean hasStatus() {
return statusBuilder_ != null || status_ != null;
}
/**
* .configpb.Status status = 2;
*/
public configpb.Configpb.Status getStatus() {
if (statusBuilder_ == null) {
return status_ == null ? configpb.Configpb.Status.getDefaultInstance() : status_;
} else {
return statusBuilder_.getMessage();
}
}
/**
* .configpb.Status status = 2;
*/
public Builder setStatus(configpb.Configpb.Status value) {
if (statusBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
status_ = value;
onChanged();
} else {
statusBuilder_.setMessage(value);
}
return this;
}
/**
* .configpb.Status status = 2;
*/
public Builder setStatus(
configpb.Configpb.Status.Builder builderForValue) {
if (statusBuilder_ == null) {
status_ = builderForValue.build();
onChanged();
} else {
statusBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .configpb.Status status = 2;
*/
public Builder mergeStatus(configpb.Configpb.Status value) {
if (statusBuilder_ == null) {
if (status_ != null) {
status_ =
configpb.Configpb.Status.newBuilder(status_).mergeFrom(value).buildPartial();
} else {
status_ = value;
}
onChanged();
} else {
statusBuilder_.mergeFrom(value);
}
return this;
}
/**
* .configpb.Status status = 2;
*/
public Builder clearStatus() {
if (statusBuilder_ == null) {
status_ = null;
onChanged();
} else {
status_ = null;
statusBuilder_ = null;
}
return this;
}
/**
* .configpb.Status status = 2;
*/
public configpb.Configpb.Status.Builder getStatusBuilder() {
onChanged();
return getStatusFieldBuilder().getBuilder();
}
/**
* .configpb.Status status = 2;
*/
public configpb.Configpb.StatusOrBuilder getStatusOrBuilder() {
if (statusBuilder_ != null) {
return statusBuilder_.getMessageOrBuilder();
} else {
return status_ == null ?
configpb.Configpb.Status.getDefaultInstance() : status_;
}
}
/**
* .configpb.Status status = 2;
*/
private com.google.protobuf.SingleFieldBuilderV3<
configpb.Configpb.Status, configpb.Configpb.Status.Builder, configpb.Configpb.StatusOrBuilder>
getStatusFieldBuilder() {
if (statusBuilder_ == null) {
statusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
configpb.Configpb.Status, configpb.Configpb.Status.Builder, configpb.Configpb.StatusOrBuilder>(
getStatus(),
getParentForChildren(),
isClean());
status_ = null;
}
return statusBuilder_;
}
private configpb.Configpb.Version version_ = null;
private com.google.protobuf.SingleFieldBuilderV3<
configpb.Configpb.Version, configpb.Configpb.Version.Builder, configpb.Configpb.VersionOrBuilder> versionBuilder_;
/**
* .configpb.Version version = 3;
*/
public boolean hasVersion() {
return versionBuilder_ != null || version_ != null;
}
/**
* .configpb.Version version = 3;
*/
public configpb.Configpb.Version getVersion() {
if (versionBuilder_ == null) {
return version_ == null ? configpb.Configpb.Version.getDefaultInstance() : version_;
} else {
return versionBuilder_.getMessage();
}
}
/**
* .configpb.Version version = 3;
*/
public Builder setVersion(configpb.Configpb.Version value) {
if (versionBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
version_ = value;
onChanged();
} else {
versionBuilder_.setMessage(value);
}
return this;
}
/**
* .configpb.Version version = 3;
*/
public Builder setVersion(
configpb.Configpb.Version.Builder builderForValue) {
if (versionBuilder_ == null) {
version_ = builderForValue.build();
onChanged();
} else {
versionBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .configpb.Version version = 3;
*/
public Builder mergeVersion(configpb.Configpb.Version value) {
if (versionBuilder_ == null) {
if (version_ != null) {
version_ =
configpb.Configpb.Version.newBuilder(version_).mergeFrom(value).buildPartial();
} else {
version_ = value;
}
onChanged();
} else {
versionBuilder_.mergeFrom(value);
}
return this;
}
/**
* .configpb.Version version = 3;
*/
public Builder clearVersion() {
if (versionBuilder_ == null) {
version_ = null;
onChanged();
} else {
version_ = null;
versionBuilder_ = null;
}
return this;
}
/**
* .configpb.Version version = 3;
*/
public configpb.Configpb.Version.Builder getVersionBuilder() {
onChanged();
return getVersionFieldBuilder().getBuilder();
}
/**
* .configpb.Version version = 3;
*/
public configpb.Configpb.VersionOrBuilder getVersionOrBuilder() {
if (versionBuilder_ != null) {
return versionBuilder_.getMessageOrBuilder();
} else {
return version_ == null ?
configpb.Configpb.Version.getDefaultInstance() : version_;
}
}
/**
* .configpb.Version version = 3;
*/
private com.google.protobuf.SingleFieldBuilderV3<
configpb.Configpb.Version, configpb.Configpb.Version.Builder, configpb.Configpb.VersionOrBuilder>
getVersionFieldBuilder() {
if (versionBuilder_ == null) {
versionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
configpb.Configpb.Version, configpb.Configpb.Version.Builder, configpb.Configpb.VersionOrBuilder>(
getVersion(),
getParentForChildren(),
isClean());
version_ = null;
}
return versionBuilder_;
}
private java.lang.Object config_ = "";
/**
* string config = 4;
*/
public java.lang.String getConfig() {
java.lang.Object ref = config_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
config_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string config = 4;
*/
public com.google.protobuf.ByteString
getConfigBytes() {
java.lang.Object ref = config_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
config_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string config = 4;
*/
public Builder setConfig(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
config_ = value;
onChanged();
return this;
}
/**
* string config = 4;
*/
public Builder clearConfig() {
config_ = getDefaultInstance().getConfig();
onChanged();
return this;
}
/**
* string config = 4;
*/
public Builder setConfigBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
config_ = value;
onChanged();
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:configpb.UpdateResponse)
}
// @@protoc_insertion_point(class_scope:configpb.UpdateResponse)
private static final configpb.Configpb.UpdateResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new configpb.Configpb.UpdateResponse();
}
public static configpb.Configpb.UpdateResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
public UpdateResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new UpdateResponse(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
public configpb.Configpb.UpdateResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface DeleteRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:configpb.DeleteRequest)
com.google.protobuf.MessageOrBuilder {
/**
* .configpb.Header header = 1;
*/
boolean hasHeader();
/**
* .configpb.Header header = 1;
*/
configpb.Configpb.Header getHeader();
/**
* .configpb.Header header = 1;
*/
configpb.Configpb.HeaderOrBuilder getHeaderOrBuilder();
/**
* .configpb.Version version = 2;
*/
boolean hasVersion();
/**
* .configpb.Version version = 2;
*/
configpb.Configpb.Version getVersion();
/**
* .configpb.Version version = 2;
*/
configpb.Configpb.VersionOrBuilder getVersionOrBuilder();
/**
* .configpb.ConfigKind kind = 3;
*/
boolean hasKind();
/**
* .configpb.ConfigKind kind = 3;
*/
configpb.Configpb.ConfigKind getKind();
/**
* .configpb.ConfigKind kind = 3;
*/
configpb.Configpb.ConfigKindOrBuilder getKindOrBuilder();
}
/**
* Protobuf type {@code configpb.DeleteRequest}
*/
public static final class DeleteRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:configpb.DeleteRequest)
DeleteRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use DeleteRequest.newBuilder() to construct.
private DeleteRequest(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private DeleteRequest() {
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private DeleteRequest(
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: {
configpb.Configpb.Header.Builder subBuilder = null;
if (header_ != null) {
subBuilder = header_.toBuilder();
}
header_ = input.readMessage(configpb.Configpb.Header.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(header_);
header_ = subBuilder.buildPartial();
}
break;
}
case 18: {
configpb.Configpb.Version.Builder subBuilder = null;
if (version_ != null) {
subBuilder = version_.toBuilder();
}
version_ = input.readMessage(configpb.Configpb.Version.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(version_);
version_ = subBuilder.buildPartial();
}
break;
}
case 26: {
configpb.Configpb.ConfigKind.Builder subBuilder = null;
if (kind_ != null) {
subBuilder = kind_.toBuilder();
}
kind_ = input.readMessage(configpb.Configpb.ConfigKind.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(kind_);
kind_ = 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 configpb.Configpb.internal_static_configpb_DeleteRequest_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return configpb.Configpb.internal_static_configpb_DeleteRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
configpb.Configpb.DeleteRequest.class, configpb.Configpb.DeleteRequest.Builder.class);
}
public static final int HEADER_FIELD_NUMBER = 1;
private configpb.Configpb.Header header_;
/**
* .configpb.Header header = 1;
*/
public boolean hasHeader() {
return header_ != null;
}
/**
* .configpb.Header header = 1;
*/
public configpb.Configpb.Header getHeader() {
return header_ == null ? configpb.Configpb.Header.getDefaultInstance() : header_;
}
/**
* .configpb.Header header = 1;
*/
public configpb.Configpb.HeaderOrBuilder getHeaderOrBuilder() {
return getHeader();
}
public static final int VERSION_FIELD_NUMBER = 2;
private configpb.Configpb.Version version_;
/**
* .configpb.Version version = 2;
*/
public boolean hasVersion() {
return version_ != null;
}
/**
* .configpb.Version version = 2;
*/
public configpb.Configpb.Version getVersion() {
return version_ == null ? configpb.Configpb.Version.getDefaultInstance() : version_;
}
/**
* .configpb.Version version = 2;
*/
public configpb.Configpb.VersionOrBuilder getVersionOrBuilder() {
return getVersion();
}
public static final int KIND_FIELD_NUMBER = 3;
private configpb.Configpb.ConfigKind kind_;
/**
* .configpb.ConfigKind kind = 3;
*/
public boolean hasKind() {
return kind_ != null;
}
/**
* .configpb.ConfigKind kind = 3;
*/
public configpb.Configpb.ConfigKind getKind() {
return kind_ == null ? configpb.Configpb.ConfigKind.getDefaultInstance() : kind_;
}
/**
* .configpb.ConfigKind kind = 3;
*/
public configpb.Configpb.ConfigKindOrBuilder getKindOrBuilder() {
return getKind();
}
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 (header_ != null) {
output.writeMessage(1, getHeader());
}
if (version_ != null) {
output.writeMessage(2, getVersion());
}
if (kind_ != null) {
output.writeMessage(3, getKind());
}
unknownFields.writeTo(output);
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (header_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getHeader());
}
if (version_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, getVersion());
}
if (kind_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, getKind());
}
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 configpb.Configpb.DeleteRequest)) {
return super.equals(obj);
}
configpb.Configpb.DeleteRequest other = (configpb.Configpb.DeleteRequest) obj;
boolean result = true;
result = result && (hasHeader() == other.hasHeader());
if (hasHeader()) {
result = result && getHeader()
.equals(other.getHeader());
}
result = result && (hasVersion() == other.hasVersion());
if (hasVersion()) {
result = result && getVersion()
.equals(other.getVersion());
}
result = result && (hasKind() == other.hasKind());
if (hasKind()) {
result = result && getKind()
.equals(other.getKind());
}
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 (hasHeader()) {
hash = (37 * hash) + HEADER_FIELD_NUMBER;
hash = (53 * hash) + getHeader().hashCode();
}
if (hasVersion()) {
hash = (37 * hash) + VERSION_FIELD_NUMBER;
hash = (53 * hash) + getVersion().hashCode();
}
if (hasKind()) {
hash = (37 * hash) + KIND_FIELD_NUMBER;
hash = (53 * hash) + getKind().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static configpb.Configpb.DeleteRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static configpb.Configpb.DeleteRequest parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static configpb.Configpb.DeleteRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static configpb.Configpb.DeleteRequest parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static configpb.Configpb.DeleteRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static configpb.Configpb.DeleteRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static configpb.Configpb.DeleteRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static configpb.Configpb.DeleteRequest 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 configpb.Configpb.DeleteRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static configpb.Configpb.DeleteRequest 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 configpb.Configpb.DeleteRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static configpb.Configpb.DeleteRequest 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(configpb.Configpb.DeleteRequest 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 configpb.DeleteRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:configpb.DeleteRequest)
configpb.Configpb.DeleteRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return configpb.Configpb.internal_static_configpb_DeleteRequest_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return configpb.Configpb.internal_static_configpb_DeleteRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
configpb.Configpb.DeleteRequest.class, configpb.Configpb.DeleteRequest.Builder.class);
}
// Construct using configpb.Configpb.DeleteRequest.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 (headerBuilder_ == null) {
header_ = null;
} else {
header_ = null;
headerBuilder_ = null;
}
if (versionBuilder_ == null) {
version_ = null;
} else {
version_ = null;
versionBuilder_ = null;
}
if (kindBuilder_ == null) {
kind_ = null;
} else {
kind_ = null;
kindBuilder_ = null;
}
return this;
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return configpb.Configpb.internal_static_configpb_DeleteRequest_descriptor;
}
public configpb.Configpb.DeleteRequest getDefaultInstanceForType() {
return configpb.Configpb.DeleteRequest.getDefaultInstance();
}
public configpb.Configpb.DeleteRequest build() {
configpb.Configpb.DeleteRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public configpb.Configpb.DeleteRequest buildPartial() {
configpb.Configpb.DeleteRequest result = new configpb.Configpb.DeleteRequest(this);
if (headerBuilder_ == null) {
result.header_ = header_;
} else {
result.header_ = headerBuilder_.build();
}
if (versionBuilder_ == null) {
result.version_ = version_;
} else {
result.version_ = versionBuilder_.build();
}
if (kindBuilder_ == null) {
result.kind_ = kind_;
} else {
result.kind_ = kindBuilder_.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 configpb.Configpb.DeleteRequest) {
return mergeFrom((configpb.Configpb.DeleteRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(configpb.Configpb.DeleteRequest other) {
if (other == configpb.Configpb.DeleteRequest.getDefaultInstance()) return this;
if (other.hasHeader()) {
mergeHeader(other.getHeader());
}
if (other.hasVersion()) {
mergeVersion(other.getVersion());
}
if (other.hasKind()) {
mergeKind(other.getKind());
}
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 {
configpb.Configpb.DeleteRequest parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (configpb.Configpb.DeleteRequest) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private configpb.Configpb.Header header_ = null;
private com.google.protobuf.SingleFieldBuilderV3<
configpb.Configpb.Header, configpb.Configpb.Header.Builder, configpb.Configpb.HeaderOrBuilder> headerBuilder_;
/**
* .configpb.Header header = 1;
*/
public boolean hasHeader() {
return headerBuilder_ != null || header_ != null;
}
/**
* .configpb.Header header = 1;
*/
public configpb.Configpb.Header getHeader() {
if (headerBuilder_ == null) {
return header_ == null ? configpb.Configpb.Header.getDefaultInstance() : header_;
} else {
return headerBuilder_.getMessage();
}
}
/**
* .configpb.Header header = 1;
*/
public Builder setHeader(configpb.Configpb.Header value) {
if (headerBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
header_ = value;
onChanged();
} else {
headerBuilder_.setMessage(value);
}
return this;
}
/**
* .configpb.Header header = 1;
*/
public Builder setHeader(
configpb.Configpb.Header.Builder builderForValue) {
if (headerBuilder_ == null) {
header_ = builderForValue.build();
onChanged();
} else {
headerBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .configpb.Header header = 1;
*/
public Builder mergeHeader(configpb.Configpb.Header value) {
if (headerBuilder_ == null) {
if (header_ != null) {
header_ =
configpb.Configpb.Header.newBuilder(header_).mergeFrom(value).buildPartial();
} else {
header_ = value;
}
onChanged();
} else {
headerBuilder_.mergeFrom(value);
}
return this;
}
/**
* .configpb.Header header = 1;
*/
public Builder clearHeader() {
if (headerBuilder_ == null) {
header_ = null;
onChanged();
} else {
header_ = null;
headerBuilder_ = null;
}
return this;
}
/**
* .configpb.Header header = 1;
*/
public configpb.Configpb.Header.Builder getHeaderBuilder() {
onChanged();
return getHeaderFieldBuilder().getBuilder();
}
/**
* .configpb.Header header = 1;
*/
public configpb.Configpb.HeaderOrBuilder getHeaderOrBuilder() {
if (headerBuilder_ != null) {
return headerBuilder_.getMessageOrBuilder();
} else {
return header_ == null ?
configpb.Configpb.Header.getDefaultInstance() : header_;
}
}
/**
* .configpb.Header header = 1;
*/
private com.google.protobuf.SingleFieldBuilderV3<
configpb.Configpb.Header, configpb.Configpb.Header.Builder, configpb.Configpb.HeaderOrBuilder>
getHeaderFieldBuilder() {
if (headerBuilder_ == null) {
headerBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
configpb.Configpb.Header, configpb.Configpb.Header.Builder, configpb.Configpb.HeaderOrBuilder>(
getHeader(),
getParentForChildren(),
isClean());
header_ = null;
}
return headerBuilder_;
}
private configpb.Configpb.Version version_ = null;
private com.google.protobuf.SingleFieldBuilderV3<
configpb.Configpb.Version, configpb.Configpb.Version.Builder, configpb.Configpb.VersionOrBuilder> versionBuilder_;
/**
* .configpb.Version version = 2;
*/
public boolean hasVersion() {
return versionBuilder_ != null || version_ != null;
}
/**
* .configpb.Version version = 2;
*/
public configpb.Configpb.Version getVersion() {
if (versionBuilder_ == null) {
return version_ == null ? configpb.Configpb.Version.getDefaultInstance() : version_;
} else {
return versionBuilder_.getMessage();
}
}
/**
* .configpb.Version version = 2;
*/
public Builder setVersion(configpb.Configpb.Version value) {
if (versionBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
version_ = value;
onChanged();
} else {
versionBuilder_.setMessage(value);
}
return this;
}
/**
* .configpb.Version version = 2;
*/
public Builder setVersion(
configpb.Configpb.Version.Builder builderForValue) {
if (versionBuilder_ == null) {
version_ = builderForValue.build();
onChanged();
} else {
versionBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .configpb.Version version = 2;
*/
public Builder mergeVersion(configpb.Configpb.Version value) {
if (versionBuilder_ == null) {
if (version_ != null) {
version_ =
configpb.Configpb.Version.newBuilder(version_).mergeFrom(value).buildPartial();
} else {
version_ = value;
}
onChanged();
} else {
versionBuilder_.mergeFrom(value);
}
return this;
}
/**
* .configpb.Version version = 2;
*/
public Builder clearVersion() {
if (versionBuilder_ == null) {
version_ = null;
onChanged();
} else {
version_ = null;
versionBuilder_ = null;
}
return this;
}
/**
* .configpb.Version version = 2;
*/
public configpb.Configpb.Version.Builder getVersionBuilder() {
onChanged();
return getVersionFieldBuilder().getBuilder();
}
/**
* .configpb.Version version = 2;
*/
public configpb.Configpb.VersionOrBuilder getVersionOrBuilder() {
if (versionBuilder_ != null) {
return versionBuilder_.getMessageOrBuilder();
} else {
return version_ == null ?
configpb.Configpb.Version.getDefaultInstance() : version_;
}
}
/**
* .configpb.Version version = 2;
*/
private com.google.protobuf.SingleFieldBuilderV3<
configpb.Configpb.Version, configpb.Configpb.Version.Builder, configpb.Configpb.VersionOrBuilder>
getVersionFieldBuilder() {
if (versionBuilder_ == null) {
versionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
configpb.Configpb.Version, configpb.Configpb.Version.Builder, configpb.Configpb.VersionOrBuilder>(
getVersion(),
getParentForChildren(),
isClean());
version_ = null;
}
return versionBuilder_;
}
private configpb.Configpb.ConfigKind kind_ = null;
private com.google.protobuf.SingleFieldBuilderV3<
configpb.Configpb.ConfigKind, configpb.Configpb.ConfigKind.Builder, configpb.Configpb.ConfigKindOrBuilder> kindBuilder_;
/**
* .configpb.ConfigKind kind = 3;
*/
public boolean hasKind() {
return kindBuilder_ != null || kind_ != null;
}
/**
* .configpb.ConfigKind kind = 3;
*/
public configpb.Configpb.ConfigKind getKind() {
if (kindBuilder_ == null) {
return kind_ == null ? configpb.Configpb.ConfigKind.getDefaultInstance() : kind_;
} else {
return kindBuilder_.getMessage();
}
}
/**
* .configpb.ConfigKind kind = 3;
*/
public Builder setKind(configpb.Configpb.ConfigKind value) {
if (kindBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
kind_ = value;
onChanged();
} else {
kindBuilder_.setMessage(value);
}
return this;
}
/**
* .configpb.ConfigKind kind = 3;
*/
public Builder setKind(
configpb.Configpb.ConfigKind.Builder builderForValue) {
if (kindBuilder_ == null) {
kind_ = builderForValue.build();
onChanged();
} else {
kindBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .configpb.ConfigKind kind = 3;
*/
public Builder mergeKind(configpb.Configpb.ConfigKind value) {
if (kindBuilder_ == null) {
if (kind_ != null) {
kind_ =
configpb.Configpb.ConfigKind.newBuilder(kind_).mergeFrom(value).buildPartial();
} else {
kind_ = value;
}
onChanged();
} else {
kindBuilder_.mergeFrom(value);
}
return this;
}
/**
* .configpb.ConfigKind kind = 3;
*/
public Builder clearKind() {
if (kindBuilder_ == null) {
kind_ = null;
onChanged();
} else {
kind_ = null;
kindBuilder_ = null;
}
return this;
}
/**
* .configpb.ConfigKind kind = 3;
*/
public configpb.Configpb.ConfigKind.Builder getKindBuilder() {
onChanged();
return getKindFieldBuilder().getBuilder();
}
/**
* .configpb.ConfigKind kind = 3;
*/
public configpb.Configpb.ConfigKindOrBuilder getKindOrBuilder() {
if (kindBuilder_ != null) {
return kindBuilder_.getMessageOrBuilder();
} else {
return kind_ == null ?
configpb.Configpb.ConfigKind.getDefaultInstance() : kind_;
}
}
/**
* .configpb.ConfigKind kind = 3;
*/
private com.google.protobuf.SingleFieldBuilderV3<
configpb.Configpb.ConfigKind, configpb.Configpb.ConfigKind.Builder, configpb.Configpb.ConfigKindOrBuilder>
getKindFieldBuilder() {
if (kindBuilder_ == null) {
kindBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
configpb.Configpb.ConfigKind, configpb.Configpb.ConfigKind.Builder, configpb.Configpb.ConfigKindOrBuilder>(
getKind(),
getParentForChildren(),
isClean());
kind_ = null;
}
return kindBuilder_;
}
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:configpb.DeleteRequest)
}
// @@protoc_insertion_point(class_scope:configpb.DeleteRequest)
private static final configpb.Configpb.DeleteRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new configpb.Configpb.DeleteRequest();
}
public static configpb.Configpb.DeleteRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
public DeleteRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new DeleteRequest(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
public configpb.Configpb.DeleteRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface DeleteResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:configpb.DeleteResponse)
com.google.protobuf.MessageOrBuilder {
/**
* .configpb.Header header = 1;
*/
boolean hasHeader();
/**
* .configpb.Header header = 1;
*/
configpb.Configpb.Header getHeader();
/**
* .configpb.Header header = 1;
*/
configpb.Configpb.HeaderOrBuilder getHeaderOrBuilder();
/**
* .configpb.Status status = 2;
*/
boolean hasStatus();
/**
* .configpb.Status status = 2;
*/
configpb.Configpb.Status getStatus();
/**
* .configpb.Status status = 2;
*/
configpb.Configpb.StatusOrBuilder getStatusOrBuilder();
/**
* .configpb.Version version = 3;
*/
boolean hasVersion();
/**
* .configpb.Version version = 3;
*/
configpb.Configpb.Version getVersion();
/**
* .configpb.Version version = 3;
*/
configpb.Configpb.VersionOrBuilder getVersionOrBuilder();
}
/**
* Protobuf type {@code configpb.DeleteResponse}
*/
public static final class DeleteResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:configpb.DeleteResponse)
DeleteResponseOrBuilder {
private static final long serialVersionUID = 0L;
// Use DeleteResponse.newBuilder() to construct.
private DeleteResponse(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private DeleteResponse() {
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private DeleteResponse(
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: {
configpb.Configpb.Header.Builder subBuilder = null;
if (header_ != null) {
subBuilder = header_.toBuilder();
}
header_ = input.readMessage(configpb.Configpb.Header.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(header_);
header_ = subBuilder.buildPartial();
}
break;
}
case 18: {
configpb.Configpb.Status.Builder subBuilder = null;
if (status_ != null) {
subBuilder = status_.toBuilder();
}
status_ = input.readMessage(configpb.Configpb.Status.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(status_);
status_ = subBuilder.buildPartial();
}
break;
}
case 26: {
configpb.Configpb.Version.Builder subBuilder = null;
if (version_ != null) {
subBuilder = version_.toBuilder();
}
version_ = input.readMessage(configpb.Configpb.Version.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(version_);
version_ = 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 configpb.Configpb.internal_static_configpb_DeleteResponse_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return configpb.Configpb.internal_static_configpb_DeleteResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
configpb.Configpb.DeleteResponse.class, configpb.Configpb.DeleteResponse.Builder.class);
}
public static final int HEADER_FIELD_NUMBER = 1;
private configpb.Configpb.Header header_;
/**
* .configpb.Header header = 1;
*/
public boolean hasHeader() {
return header_ != null;
}
/**
* .configpb.Header header = 1;
*/
public configpb.Configpb.Header getHeader() {
return header_ == null ? configpb.Configpb.Header.getDefaultInstance() : header_;
}
/**
* .configpb.Header header = 1;
*/
public configpb.Configpb.HeaderOrBuilder getHeaderOrBuilder() {
return getHeader();
}
public static final int STATUS_FIELD_NUMBER = 2;
private configpb.Configpb.Status status_;
/**
* .configpb.Status status = 2;
*/
public boolean hasStatus() {
return status_ != null;
}
/**
* .configpb.Status status = 2;
*/
public configpb.Configpb.Status getStatus() {
return status_ == null ? configpb.Configpb.Status.getDefaultInstance() : status_;
}
/**
* .configpb.Status status = 2;
*/
public configpb.Configpb.StatusOrBuilder getStatusOrBuilder() {
return getStatus();
}
public static final int VERSION_FIELD_NUMBER = 3;
private configpb.Configpb.Version version_;
/**
* .configpb.Version version = 3;
*/
public boolean hasVersion() {
return version_ != null;
}
/**
* .configpb.Version version = 3;
*/
public configpb.Configpb.Version getVersion() {
return version_ == null ? configpb.Configpb.Version.getDefaultInstance() : version_;
}
/**
* .configpb.Version version = 3;
*/
public configpb.Configpb.VersionOrBuilder getVersionOrBuilder() {
return getVersion();
}
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 (header_ != null) {
output.writeMessage(1, getHeader());
}
if (status_ != null) {
output.writeMessage(2, getStatus());
}
if (version_ != null) {
output.writeMessage(3, getVersion());
}
unknownFields.writeTo(output);
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (header_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getHeader());
}
if (status_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, getStatus());
}
if (version_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, getVersion());
}
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 configpb.Configpb.DeleteResponse)) {
return super.equals(obj);
}
configpb.Configpb.DeleteResponse other = (configpb.Configpb.DeleteResponse) obj;
boolean result = true;
result = result && (hasHeader() == other.hasHeader());
if (hasHeader()) {
result = result && getHeader()
.equals(other.getHeader());
}
result = result && (hasStatus() == other.hasStatus());
if (hasStatus()) {
result = result && getStatus()
.equals(other.getStatus());
}
result = result && (hasVersion() == other.hasVersion());
if (hasVersion()) {
result = result && getVersion()
.equals(other.getVersion());
}
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 (hasHeader()) {
hash = (37 * hash) + HEADER_FIELD_NUMBER;
hash = (53 * hash) + getHeader().hashCode();
}
if (hasStatus()) {
hash = (37 * hash) + STATUS_FIELD_NUMBER;
hash = (53 * hash) + getStatus().hashCode();
}
if (hasVersion()) {
hash = (37 * hash) + VERSION_FIELD_NUMBER;
hash = (53 * hash) + getVersion().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static configpb.Configpb.DeleteResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static configpb.Configpb.DeleteResponse parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static configpb.Configpb.DeleteResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static configpb.Configpb.DeleteResponse parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static configpb.Configpb.DeleteResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static configpb.Configpb.DeleteResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static configpb.Configpb.DeleteResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static configpb.Configpb.DeleteResponse 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 configpb.Configpb.DeleteResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static configpb.Configpb.DeleteResponse 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 configpb.Configpb.DeleteResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static configpb.Configpb.DeleteResponse 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(configpb.Configpb.DeleteResponse 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 configpb.DeleteResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:configpb.DeleteResponse)
configpb.Configpb.DeleteResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return configpb.Configpb.internal_static_configpb_DeleteResponse_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return configpb.Configpb.internal_static_configpb_DeleteResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
configpb.Configpb.DeleteResponse.class, configpb.Configpb.DeleteResponse.Builder.class);
}
// Construct using configpb.Configpb.DeleteResponse.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 (headerBuilder_ == null) {
header_ = null;
} else {
header_ = null;
headerBuilder_ = null;
}
if (statusBuilder_ == null) {
status_ = null;
} else {
status_ = null;
statusBuilder_ = null;
}
if (versionBuilder_ == null) {
version_ = null;
} else {
version_ = null;
versionBuilder_ = null;
}
return this;
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return configpb.Configpb.internal_static_configpb_DeleteResponse_descriptor;
}
public configpb.Configpb.DeleteResponse getDefaultInstanceForType() {
return configpb.Configpb.DeleteResponse.getDefaultInstance();
}
public configpb.Configpb.DeleteResponse build() {
configpb.Configpb.DeleteResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public configpb.Configpb.DeleteResponse buildPartial() {
configpb.Configpb.DeleteResponse result = new configpb.Configpb.DeleteResponse(this);
if (headerBuilder_ == null) {
result.header_ = header_;
} else {
result.header_ = headerBuilder_.build();
}
if (statusBuilder_ == null) {
result.status_ = status_;
} else {
result.status_ = statusBuilder_.build();
}
if (versionBuilder_ == null) {
result.version_ = version_;
} else {
result.version_ = versionBuilder_.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 configpb.Configpb.DeleteResponse) {
return mergeFrom((configpb.Configpb.DeleteResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(configpb.Configpb.DeleteResponse other) {
if (other == configpb.Configpb.DeleteResponse.getDefaultInstance()) return this;
if (other.hasHeader()) {
mergeHeader(other.getHeader());
}
if (other.hasStatus()) {
mergeStatus(other.getStatus());
}
if (other.hasVersion()) {
mergeVersion(other.getVersion());
}
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 {
configpb.Configpb.DeleteResponse parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (configpb.Configpb.DeleteResponse) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private configpb.Configpb.Header header_ = null;
private com.google.protobuf.SingleFieldBuilderV3<
configpb.Configpb.Header, configpb.Configpb.Header.Builder, configpb.Configpb.HeaderOrBuilder> headerBuilder_;
/**
* .configpb.Header header = 1;
*/
public boolean hasHeader() {
return headerBuilder_ != null || header_ != null;
}
/**
* .configpb.Header header = 1;
*/
public configpb.Configpb.Header getHeader() {
if (headerBuilder_ == null) {
return header_ == null ? configpb.Configpb.Header.getDefaultInstance() : header_;
} else {
return headerBuilder_.getMessage();
}
}
/**
* .configpb.Header header = 1;
*/
public Builder setHeader(configpb.Configpb.Header value) {
if (headerBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
header_ = value;
onChanged();
} else {
headerBuilder_.setMessage(value);
}
return this;
}
/**
* .configpb.Header header = 1;
*/
public Builder setHeader(
configpb.Configpb.Header.Builder builderForValue) {
if (headerBuilder_ == null) {
header_ = builderForValue.build();
onChanged();
} else {
headerBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .configpb.Header header = 1;
*/
public Builder mergeHeader(configpb.Configpb.Header value) {
if (headerBuilder_ == null) {
if (header_ != null) {
header_ =
configpb.Configpb.Header.newBuilder(header_).mergeFrom(value).buildPartial();
} else {
header_ = value;
}
onChanged();
} else {
headerBuilder_.mergeFrom(value);
}
return this;
}
/**
* .configpb.Header header = 1;
*/
public Builder clearHeader() {
if (headerBuilder_ == null) {
header_ = null;
onChanged();
} else {
header_ = null;
headerBuilder_ = null;
}
return this;
}
/**
* .configpb.Header header = 1;
*/
public configpb.Configpb.Header.Builder getHeaderBuilder() {
onChanged();
return getHeaderFieldBuilder().getBuilder();
}
/**
* .configpb.Header header = 1;
*/
public configpb.Configpb.HeaderOrBuilder getHeaderOrBuilder() {
if (headerBuilder_ != null) {
return headerBuilder_.getMessageOrBuilder();
} else {
return header_ == null ?
configpb.Configpb.Header.getDefaultInstance() : header_;
}
}
/**
* .configpb.Header header = 1;
*/
private com.google.protobuf.SingleFieldBuilderV3<
configpb.Configpb.Header, configpb.Configpb.Header.Builder, configpb.Configpb.HeaderOrBuilder>
getHeaderFieldBuilder() {
if (headerBuilder_ == null) {
headerBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
configpb.Configpb.Header, configpb.Configpb.Header.Builder, configpb.Configpb.HeaderOrBuilder>(
getHeader(),
getParentForChildren(),
isClean());
header_ = null;
}
return headerBuilder_;
}
private configpb.Configpb.Status status_ = null;
private com.google.protobuf.SingleFieldBuilderV3<
configpb.Configpb.Status, configpb.Configpb.Status.Builder, configpb.Configpb.StatusOrBuilder> statusBuilder_;
/**
* .configpb.Status status = 2;
*/
public boolean hasStatus() {
return statusBuilder_ != null || status_ != null;
}
/**
* .configpb.Status status = 2;
*/
public configpb.Configpb.Status getStatus() {
if (statusBuilder_ == null) {
return status_ == null ? configpb.Configpb.Status.getDefaultInstance() : status_;
} else {
return statusBuilder_.getMessage();
}
}
/**
* .configpb.Status status = 2;
*/
public Builder setStatus(configpb.Configpb.Status value) {
if (statusBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
status_ = value;
onChanged();
} else {
statusBuilder_.setMessage(value);
}
return this;
}
/**
* .configpb.Status status = 2;
*/
public Builder setStatus(
configpb.Configpb.Status.Builder builderForValue) {
if (statusBuilder_ == null) {
status_ = builderForValue.build();
onChanged();
} else {
statusBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .configpb.Status status = 2;
*/
public Builder mergeStatus(configpb.Configpb.Status value) {
if (statusBuilder_ == null) {
if (status_ != null) {
status_ =
configpb.Configpb.Status.newBuilder(status_).mergeFrom(value).buildPartial();
} else {
status_ = value;
}
onChanged();
} else {
statusBuilder_.mergeFrom(value);
}
return this;
}
/**
* .configpb.Status status = 2;
*/
public Builder clearStatus() {
if (statusBuilder_ == null) {
status_ = null;
onChanged();
} else {
status_ = null;
statusBuilder_ = null;
}
return this;
}
/**
* .configpb.Status status = 2;
*/
public configpb.Configpb.Status.Builder getStatusBuilder() {
onChanged();
return getStatusFieldBuilder().getBuilder();
}
/**
* .configpb.Status status = 2;
*/
public configpb.Configpb.StatusOrBuilder getStatusOrBuilder() {
if (statusBuilder_ != null) {
return statusBuilder_.getMessageOrBuilder();
} else {
return status_ == null ?
configpb.Configpb.Status.getDefaultInstance() : status_;
}
}
/**
* .configpb.Status status = 2;
*/
private com.google.protobuf.SingleFieldBuilderV3<
configpb.Configpb.Status, configpb.Configpb.Status.Builder, configpb.Configpb.StatusOrBuilder>
getStatusFieldBuilder() {
if (statusBuilder_ == null) {
statusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
configpb.Configpb.Status, configpb.Configpb.Status.Builder, configpb.Configpb.StatusOrBuilder>(
getStatus(),
getParentForChildren(),
isClean());
status_ = null;
}
return statusBuilder_;
}
private configpb.Configpb.Version version_ = null;
private com.google.protobuf.SingleFieldBuilderV3<
configpb.Configpb.Version, configpb.Configpb.Version.Builder, configpb.Configpb.VersionOrBuilder> versionBuilder_;
/**
* .configpb.Version version = 3;
*/
public boolean hasVersion() {
return versionBuilder_ != null || version_ != null;
}
/**
* .configpb.Version version = 3;
*/
public configpb.Configpb.Version getVersion() {
if (versionBuilder_ == null) {
return version_ == null ? configpb.Configpb.Version.getDefaultInstance() : version_;
} else {
return versionBuilder_.getMessage();
}
}
/**
* .configpb.Version version = 3;
*/
public Builder setVersion(configpb.Configpb.Version value) {
if (versionBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
version_ = value;
onChanged();
} else {
versionBuilder_.setMessage(value);
}
return this;
}
/**
* .configpb.Version version = 3;
*/
public Builder setVersion(
configpb.Configpb.Version.Builder builderForValue) {
if (versionBuilder_ == null) {
version_ = builderForValue.build();
onChanged();
} else {
versionBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .configpb.Version version = 3;
*/
public Builder mergeVersion(configpb.Configpb.Version value) {
if (versionBuilder_ == null) {
if (version_ != null) {
version_ =
configpb.Configpb.Version.newBuilder(version_).mergeFrom(value).buildPartial();
} else {
version_ = value;
}
onChanged();
} else {
versionBuilder_.mergeFrom(value);
}
return this;
}
/**
* .configpb.Version version = 3;
*/
public Builder clearVersion() {
if (versionBuilder_ == null) {
version_ = null;
onChanged();
} else {
version_ = null;
versionBuilder_ = null;
}
return this;
}
/**
* .configpb.Version version = 3;
*/
public configpb.Configpb.Version.Builder getVersionBuilder() {
onChanged();
return getVersionFieldBuilder().getBuilder();
}
/**
* .configpb.Version version = 3;
*/
public configpb.Configpb.VersionOrBuilder getVersionOrBuilder() {
if (versionBuilder_ != null) {
return versionBuilder_.getMessageOrBuilder();
} else {
return version_ == null ?
configpb.Configpb.Version.getDefaultInstance() : version_;
}
}
/**
* .configpb.Version version = 3;
*/
private com.google.protobuf.SingleFieldBuilderV3<
configpb.Configpb.Version, configpb.Configpb.Version.Builder, configpb.Configpb.VersionOrBuilder>
getVersionFieldBuilder() {
if (versionBuilder_ == null) {
versionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
configpb.Configpb.Version, configpb.Configpb.Version.Builder, configpb.Configpb.VersionOrBuilder>(
getVersion(),
getParentForChildren(),
isClean());
version_ = null;
}
return versionBuilder_;
}
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:configpb.DeleteResponse)
}
// @@protoc_insertion_point(class_scope:configpb.DeleteResponse)
private static final configpb.Configpb.DeleteResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new configpb.Configpb.DeleteResponse();
}
public static configpb.Configpb.DeleteResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
public DeleteResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new DeleteResponse(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
public configpb.Configpb.DeleteResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_configpb_Status_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_configpb_Status_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_configpb_Version_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_configpb_Version_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_configpb_Local_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_configpb_Local_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_configpb_Global_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_configpb_Global_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_configpb_ConfigKind_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_configpb_ConfigKind_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_configpb_ConfigEntry_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_configpb_ConfigEntry_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_configpb_LocalConfig_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_configpb_LocalConfig_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_configpb_Header_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_configpb_Header_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_configpb_CreateRequest_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_configpb_CreateRequest_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_configpb_CreateResponse_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_configpb_CreateResponse_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_configpb_GetAllRequest_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_configpb_GetAllRequest_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_configpb_GetAllResponse_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_configpb_GetAllResponse_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_configpb_GetRequest_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_configpb_GetRequest_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_configpb_GetResponse_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_configpb_GetResponse_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_configpb_UpdateRequest_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_configpb_UpdateRequest_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_configpb_UpdateResponse_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_configpb_UpdateResponse_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_configpb_DeleteRequest_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_configpb_DeleteRequest_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_configpb_DeleteResponse_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_configpb_DeleteResponse_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\016configpb.proto\022\010configpb\032\024gogoproto/go" +
"go.proto\032\017rustproto.proto\032\034google/api/an" +
"notations.proto\"=\n\006Status\022\"\n\004code\030\001 \001(\0162" +
"\024.configpb.StatusCode\022\017\n\007message\030\002 \001(\t\"(" +
"\n\007Version\022\r\n\005local\030\001 \001(\004\022\016\n\006global\030\002 \001(\004" +
"\"\035\n\005Local\022\024\n\014component_id\030\001 \001(\t\"\033\n\006Globa" +
"l\022\021\n\tcomponent\030\001 \001(\t\"Z\n\nConfigKind\022 \n\005lo" +
"cal\030\001 \001(\0132\017.configpb.LocalH\000\022\"\n\006global\030\002" +
" \001(\0132\020.configpb.GlobalH\000B\006\n\004kind\"*\n\013Conf" +
"igEntry\022\014\n\004name\030\001 \001(\t\022\r\n\005value\030\002 \001(\t\"j\n\013" +
"LocalConfig\022\"\n\007version\030\001 \001(\0132\021.configpb." +
"Version\022\021\n\tcomponent\030\002 \001(\t\022\024\n\014component_" +
"id\030\003 \001(\t\022\016\n\006config\030\004 \001(\t\"\034\n\006Header\022\022\n\ncl" +
"uster_id\030\001 \001(\004\"\216\001\n\rCreateRequest\022 \n\006head" +
"er\030\001 \001(\0132\020.configpb.Header\022\"\n\007version\030\002 " +
"\001(\0132\021.configpb.Version\022\021\n\tcomponent\030\003 \001(" +
"\t\022\024\n\014component_id\030\004 \001(\t\022\016\n\006config\030\005 \001(\t\"" +
"\210\001\n\016CreateResponse\022 \n\006header\030\001 \001(\0132\020.con" +
"figpb.Header\022 \n\006status\030\002 \001(\0132\020.configpb." +
"Status\022\"\n\007version\030\003 \001(\0132\021.configpb.Versi" +
"on\022\016\n\006config\030\004 \001(\t\"1\n\rGetAllRequest\022 \n\006h" +
"eader\030\001 \001(\0132\020.configpb.Header\"\202\001\n\016GetAll" +
"Response\022 \n\006header\030\001 \001(\0132\020.configpb.Head" +
"er\022 \n\006status\030\002 \001(\0132\020.configpb.Status\022,\n\r" +
"local_configs\030\003 \003(\0132\025.configpb.LocalConf" +
"ig\"{\n\nGetRequest\022 \n\006header\030\001 \001(\0132\020.confi" +
"gpb.Header\022\"\n\007version\030\002 \001(\0132\021.configpb.V" +
"ersion\022\021\n\tcomponent\030\003 \001(\t\022\024\n\014component_i" +
"d\030\004 \001(\t\"\205\001\n\013GetResponse\022 \n\006header\030\001 \001(\0132" +
"\020.configpb.Header\022 \n\006status\030\002 \001(\0132\020.conf" +
"igpb.Status\022\"\n\007version\030\003 \001(\0132\021.configpb." +
"Version\022\016\n\006config\030\004 \001(\t\"\241\001\n\rUpdateReques" +
"t\022 \n\006header\030\001 \001(\0132\020.configpb.Header\022\"\n\007v" +
"ersion\030\002 \001(\0132\021.configpb.Version\022\"\n\004kind\030" +
"\003 \001(\0132\024.configpb.ConfigKind\022&\n\007entries\030\004" +
" \003(\0132\025.configpb.ConfigEntry\"\210\001\n\016UpdateRe" +
"sponse\022 \n\006header\030\001 \001(\0132\020.configpb.Header" +
"\022 \n\006status\030\002 \001(\0132\020.configpb.Status\022\"\n\007ve" +
"rsion\030\003 \001(\0132\021.configpb.Version\022\016\n\006config" +
"\030\004 \001(\t\"y\n\rDeleteRequest\022 \n\006header\030\001 \001(\0132" +
"\020.configpb.Header\022\"\n\007version\030\002 \001(\0132\021.con" +
"figpb.Version\022\"\n\004kind\030\003 \001(\0132\024.configpb.C" +
"onfigKind\"x\n\016DeleteResponse\022 \n\006header\030\001 " +
"\001(\0132\020.configpb.Header\022 \n\006status\030\002 \001(\0132\020." +
"configpb.Status\022\"\n\007version\030\003 \001(\0132\021.confi" +
"gpb.Version*y\n\nStatusCode\022\013\n\007UNKNOWN\020\000\022\006" +
"\n\002OK\020\001\022\021\n\rWRONG_VERSION\020\002\022\016\n\nNOT_CHANGE\020" +
"\003\022\027\n\023COMPONENT_NOT_FOUND\020\004\022\032\n\026COMPONENT_" +
"ID_NOT_FOUND\020\0052\363\002\n\006Config\022=\n\006Create\022\027.co" +
"nfigpb.CreateRequest\032\030.configpb.CreateRe" +
"sponse\"\000\022=\n\006GetAll\022\027.configpb.GetAllRequ" +
"est\032\030.configpb.GetAllResponse\"\000\022F\n\003Get\022\024" +
".configpb.GetRequest\032\025.configpb.GetRespo" +
"nse\"\022\202\323\344\223\002\014\022\n/component\022R\n\006Update\022\027.conf" +
"igpb.UpdateRequest\032\030.configpb.UpdateResp" +
"onse\"\025\202\323\344\223\002\017\"\n/component:\001*\022O\n\006Delete\022\027." +
"configpb.DeleteRequest\032\030.configpb.Delete" +
"Response\"\022\202\323\344\223\002\014*\n/componentB\020\340\342\036\001\310\342\036\001\320\342" +
"\036\001\330\250\010\001b\006proto3"
};
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.google.protobuf.GoGoProtos.getDescriptor(),
rustproto.Rustproto.getDescriptor(),
com.google.api.AnnotationsProto.getDescriptor(),
}, assigner);
internal_static_configpb_Status_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_configpb_Status_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_configpb_Status_descriptor,
new java.lang.String[] { "Code", "Message", });
internal_static_configpb_Version_descriptor =
getDescriptor().getMessageTypes().get(1);
internal_static_configpb_Version_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_configpb_Version_descriptor,
new java.lang.String[] { "Local", "Global", });
internal_static_configpb_Local_descriptor =
getDescriptor().getMessageTypes().get(2);
internal_static_configpb_Local_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_configpb_Local_descriptor,
new java.lang.String[] { "ComponentId", });
internal_static_configpb_Global_descriptor =
getDescriptor().getMessageTypes().get(3);
internal_static_configpb_Global_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_configpb_Global_descriptor,
new java.lang.String[] { "Component", });
internal_static_configpb_ConfigKind_descriptor =
getDescriptor().getMessageTypes().get(4);
internal_static_configpb_ConfigKind_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_configpb_ConfigKind_descriptor,
new java.lang.String[] { "Local", "Global", "Kind", });
internal_static_configpb_ConfigEntry_descriptor =
getDescriptor().getMessageTypes().get(5);
internal_static_configpb_ConfigEntry_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_configpb_ConfigEntry_descriptor,
new java.lang.String[] { "Name", "Value", });
internal_static_configpb_LocalConfig_descriptor =
getDescriptor().getMessageTypes().get(6);
internal_static_configpb_LocalConfig_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_configpb_LocalConfig_descriptor,
new java.lang.String[] { "Version", "Component", "ComponentId", "Config", });
internal_static_configpb_Header_descriptor =
getDescriptor().getMessageTypes().get(7);
internal_static_configpb_Header_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_configpb_Header_descriptor,
new java.lang.String[] { "ClusterId", });
internal_static_configpb_CreateRequest_descriptor =
getDescriptor().getMessageTypes().get(8);
internal_static_configpb_CreateRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_configpb_CreateRequest_descriptor,
new java.lang.String[] { "Header", "Version", "Component", "ComponentId", "Config", });
internal_static_configpb_CreateResponse_descriptor =
getDescriptor().getMessageTypes().get(9);
internal_static_configpb_CreateResponse_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_configpb_CreateResponse_descriptor,
new java.lang.String[] { "Header", "Status", "Version", "Config", });
internal_static_configpb_GetAllRequest_descriptor =
getDescriptor().getMessageTypes().get(10);
internal_static_configpb_GetAllRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_configpb_GetAllRequest_descriptor,
new java.lang.String[] { "Header", });
internal_static_configpb_GetAllResponse_descriptor =
getDescriptor().getMessageTypes().get(11);
internal_static_configpb_GetAllResponse_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_configpb_GetAllResponse_descriptor,
new java.lang.String[] { "Header", "Status", "LocalConfigs", });
internal_static_configpb_GetRequest_descriptor =
getDescriptor().getMessageTypes().get(12);
internal_static_configpb_GetRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_configpb_GetRequest_descriptor,
new java.lang.String[] { "Header", "Version", "Component", "ComponentId", });
internal_static_configpb_GetResponse_descriptor =
getDescriptor().getMessageTypes().get(13);
internal_static_configpb_GetResponse_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_configpb_GetResponse_descriptor,
new java.lang.String[] { "Header", "Status", "Version", "Config", });
internal_static_configpb_UpdateRequest_descriptor =
getDescriptor().getMessageTypes().get(14);
internal_static_configpb_UpdateRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_configpb_UpdateRequest_descriptor,
new java.lang.String[] { "Header", "Version", "Kind", "Entries", });
internal_static_configpb_UpdateResponse_descriptor =
getDescriptor().getMessageTypes().get(15);
internal_static_configpb_UpdateResponse_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_configpb_UpdateResponse_descriptor,
new java.lang.String[] { "Header", "Status", "Version", "Config", });
internal_static_configpb_DeleteRequest_descriptor =
getDescriptor().getMessageTypes().get(16);
internal_static_configpb_DeleteRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_configpb_DeleteRequest_descriptor,
new java.lang.String[] { "Header", "Version", "Kind", });
internal_static_configpb_DeleteResponse_descriptor =
getDescriptor().getMessageTypes().get(17);
internal_static_configpb_DeleteResponse_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_configpb_DeleteResponse_descriptor,
new java.lang.String[] { "Header", "Status", "Version", });
com.google.protobuf.ExtensionRegistry registry =
com.google.protobuf.ExtensionRegistry.newInstance();
registry.add(com.google.protobuf.GoGoProtos.marshalerAll);
registry.add(com.google.protobuf.GoGoProtos.sizerAll);
registry.add(com.google.protobuf.GoGoProtos.unmarshalerAll);
registry.add(com.google.api.AnnotationsProto.http);
registry.add(rustproto.Rustproto.liteRuntimeAll);
com.google.protobuf.Descriptors.FileDescriptor
.internalUpdateFileDescriptor(descriptor, registry);
com.google.protobuf.GoGoProtos.getDescriptor();
rustproto.Rustproto.getDescriptor();
com.google.api.AnnotationsProto.getDescriptor();
}
// @@protoc_insertion_point(outer_class_scope)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy