com.tencent.polaris.client.pb.ConfigFileProto Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of polaris-all Show documentation
Show all versions of polaris-all Show documentation
All in one project for polaris-java
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: configfile.proto
package com.tencent.polaris.client.pb;
public final class ConfigFileProto {
private ConfigFileProto() {}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistryLite registry) {
}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistry registry) {
registerAllExtensions(
(com.google.protobuf.ExtensionRegistryLite) registry);
}
public interface ConfigFileDTOOrBuilder extends
// @@protoc_insertion_point(interface_extends:v1.ConfigFileDTO)
com.google.protobuf.MessageOrBuilder {
/**
* .google.protobuf.StringValue namespace = 1;
* @return Whether the namespace field is set.
*/
boolean hasNamespace();
/**
* .google.protobuf.StringValue namespace = 1;
* @return The namespace.
*/
com.google.protobuf.StringValue getNamespace();
/**
* .google.protobuf.StringValue namespace = 1;
*/
com.google.protobuf.StringValueOrBuilder getNamespaceOrBuilder();
/**
* .google.protobuf.StringValue group = 2;
* @return Whether the group field is set.
*/
boolean hasGroup();
/**
* .google.protobuf.StringValue group = 2;
* @return The group.
*/
com.google.protobuf.StringValue getGroup();
/**
* .google.protobuf.StringValue group = 2;
*/
com.google.protobuf.StringValueOrBuilder getGroupOrBuilder();
/**
* .google.protobuf.StringValue file_name = 3;
* @return Whether the fileName field is set.
*/
boolean hasFileName();
/**
* .google.protobuf.StringValue file_name = 3;
* @return The fileName.
*/
com.google.protobuf.StringValue getFileName();
/**
* .google.protobuf.StringValue file_name = 3;
*/
com.google.protobuf.StringValueOrBuilder getFileNameOrBuilder();
/**
* .google.protobuf.StringValue content = 4;
* @return Whether the content field is set.
*/
boolean hasContent();
/**
* .google.protobuf.StringValue content = 4;
* @return The content.
*/
com.google.protobuf.StringValue getContent();
/**
* .google.protobuf.StringValue content = 4;
*/
com.google.protobuf.StringValueOrBuilder getContentOrBuilder();
/**
* .google.protobuf.UInt64Value version = 5;
* @return Whether the version field is set.
*/
boolean hasVersion();
/**
* .google.protobuf.UInt64Value version = 5;
* @return The version.
*/
com.google.protobuf.UInt64Value getVersion();
/**
* .google.protobuf.UInt64Value version = 5;
*/
com.google.protobuf.UInt64ValueOrBuilder getVersionOrBuilder();
/**
* .google.protobuf.StringValue md5 = 6;
* @return Whether the md5 field is set.
*/
boolean hasMd5();
/**
* .google.protobuf.StringValue md5 = 6;
* @return The md5.
*/
com.google.protobuf.StringValue getMd5();
/**
* .google.protobuf.StringValue md5 = 6;
*/
com.google.protobuf.StringValueOrBuilder getMd5OrBuilder();
}
/**
* Protobuf type {@code v1.ConfigFileDTO}
*/
public static final class ConfigFileDTO extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:v1.ConfigFileDTO)
ConfigFileDTOOrBuilder {
private static final long serialVersionUID = 0L;
// Use ConfigFileDTO.newBuilder() to construct.
private ConfigFileDTO(com.google.protobuf.GeneratedMessageV3.Builder builder) {
super(builder);
}
private ConfigFileDTO() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new ConfigFileDTO();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private ConfigFileDTO(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
com.google.protobuf.StringValue.Builder subBuilder = null;
if (namespace_ != null) {
subBuilder = namespace_.toBuilder();
}
namespace_ = input.readMessage(com.google.protobuf.StringValue.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(namespace_);
namespace_ = subBuilder.buildPartial();
}
break;
}
case 18: {
com.google.protobuf.StringValue.Builder subBuilder = null;
if (group_ != null) {
subBuilder = group_.toBuilder();
}
group_ = input.readMessage(com.google.protobuf.StringValue.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(group_);
group_ = subBuilder.buildPartial();
}
break;
}
case 26: {
com.google.protobuf.StringValue.Builder subBuilder = null;
if (fileName_ != null) {
subBuilder = fileName_.toBuilder();
}
fileName_ = input.readMessage(com.google.protobuf.StringValue.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(fileName_);
fileName_ = subBuilder.buildPartial();
}
break;
}
case 34: {
com.google.protobuf.StringValue.Builder subBuilder = null;
if (content_ != null) {
subBuilder = content_.toBuilder();
}
content_ = input.readMessage(com.google.protobuf.StringValue.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(content_);
content_ = subBuilder.buildPartial();
}
break;
}
case 42: {
com.google.protobuf.UInt64Value.Builder subBuilder = null;
if (version_ != null) {
subBuilder = version_.toBuilder();
}
version_ = input.readMessage(com.google.protobuf.UInt64Value.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(version_);
version_ = subBuilder.buildPartial();
}
break;
}
case 50: {
com.google.protobuf.StringValue.Builder subBuilder = null;
if (md5_ != null) {
subBuilder = md5_.toBuilder();
}
md5_ = input.readMessage(com.google.protobuf.StringValue.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(md5_);
md5_ = subBuilder.buildPartial();
}
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.tencent.polaris.client.pb.ConfigFileProto.internal_static_v1_ConfigFileDTO_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.tencent.polaris.client.pb.ConfigFileProto.internal_static_v1_ConfigFileDTO_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.tencent.polaris.client.pb.ConfigFileProto.ConfigFileDTO.class, com.tencent.polaris.client.pb.ConfigFileProto.ConfigFileDTO.Builder.class);
}
public static final int NAMESPACE_FIELD_NUMBER = 1;
private com.google.protobuf.StringValue namespace_;
/**
* .google.protobuf.StringValue namespace = 1;
* @return Whether the namespace field is set.
*/
@java.lang.Override
public boolean hasNamespace() {
return namespace_ != null;
}
/**
* .google.protobuf.StringValue namespace = 1;
* @return The namespace.
*/
@java.lang.Override
public com.google.protobuf.StringValue getNamespace() {
return namespace_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : namespace_;
}
/**
* .google.protobuf.StringValue namespace = 1;
*/
@java.lang.Override
public com.google.protobuf.StringValueOrBuilder getNamespaceOrBuilder() {
return getNamespace();
}
public static final int GROUP_FIELD_NUMBER = 2;
private com.google.protobuf.StringValue group_;
/**
* .google.protobuf.StringValue group = 2;
* @return Whether the group field is set.
*/
@java.lang.Override
public boolean hasGroup() {
return group_ != null;
}
/**
* .google.protobuf.StringValue group = 2;
* @return The group.
*/
@java.lang.Override
public com.google.protobuf.StringValue getGroup() {
return group_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : group_;
}
/**
* .google.protobuf.StringValue group = 2;
*/
@java.lang.Override
public com.google.protobuf.StringValueOrBuilder getGroupOrBuilder() {
return getGroup();
}
public static final int FILE_NAME_FIELD_NUMBER = 3;
private com.google.protobuf.StringValue fileName_;
/**
* .google.protobuf.StringValue file_name = 3;
* @return Whether the fileName field is set.
*/
@java.lang.Override
public boolean hasFileName() {
return fileName_ != null;
}
/**
* .google.protobuf.StringValue file_name = 3;
* @return The fileName.
*/
@java.lang.Override
public com.google.protobuf.StringValue getFileName() {
return fileName_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : fileName_;
}
/**
* .google.protobuf.StringValue file_name = 3;
*/
@java.lang.Override
public com.google.protobuf.StringValueOrBuilder getFileNameOrBuilder() {
return getFileName();
}
public static final int CONTENT_FIELD_NUMBER = 4;
private com.google.protobuf.StringValue content_;
/**
* .google.protobuf.StringValue content = 4;
* @return Whether the content field is set.
*/
@java.lang.Override
public boolean hasContent() {
return content_ != null;
}
/**
* .google.protobuf.StringValue content = 4;
* @return The content.
*/
@java.lang.Override
public com.google.protobuf.StringValue getContent() {
return content_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : content_;
}
/**
* .google.protobuf.StringValue content = 4;
*/
@java.lang.Override
public com.google.protobuf.StringValueOrBuilder getContentOrBuilder() {
return getContent();
}
public static final int VERSION_FIELD_NUMBER = 5;
private com.google.protobuf.UInt64Value version_;
/**
* .google.protobuf.UInt64Value version = 5;
* @return Whether the version field is set.
*/
@java.lang.Override
public boolean hasVersion() {
return version_ != null;
}
/**
* .google.protobuf.UInt64Value version = 5;
* @return The version.
*/
@java.lang.Override
public com.google.protobuf.UInt64Value getVersion() {
return version_ == null ? com.google.protobuf.UInt64Value.getDefaultInstance() : version_;
}
/**
* .google.protobuf.UInt64Value version = 5;
*/
@java.lang.Override
public com.google.protobuf.UInt64ValueOrBuilder getVersionOrBuilder() {
return getVersion();
}
public static final int MD5_FIELD_NUMBER = 6;
private com.google.protobuf.StringValue md5_;
/**
* .google.protobuf.StringValue md5 = 6;
* @return Whether the md5 field is set.
*/
@java.lang.Override
public boolean hasMd5() {
return md5_ != null;
}
/**
* .google.protobuf.StringValue md5 = 6;
* @return The md5.
*/
@java.lang.Override
public com.google.protobuf.StringValue getMd5() {
return md5_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : md5_;
}
/**
* .google.protobuf.StringValue md5 = 6;
*/
@java.lang.Override
public com.google.protobuf.StringValueOrBuilder getMd5OrBuilder() {
return getMd5();
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (namespace_ != null) {
output.writeMessage(1, getNamespace());
}
if (group_ != null) {
output.writeMessage(2, getGroup());
}
if (fileName_ != null) {
output.writeMessage(3, getFileName());
}
if (content_ != null) {
output.writeMessage(4, getContent());
}
if (version_ != null) {
output.writeMessage(5, getVersion());
}
if (md5_ != null) {
output.writeMessage(6, getMd5());
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (namespace_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getNamespace());
}
if (group_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, getGroup());
}
if (fileName_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, getFileName());
}
if (content_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(4, getContent());
}
if (version_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(5, getVersion());
}
if (md5_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(6, getMd5());
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.tencent.polaris.client.pb.ConfigFileProto.ConfigFileDTO)) {
return super.equals(obj);
}
com.tencent.polaris.client.pb.ConfigFileProto.ConfigFileDTO other = (com.tencent.polaris.client.pb.ConfigFileProto.ConfigFileDTO) obj;
if (hasNamespace() != other.hasNamespace()) return false;
if (hasNamespace()) {
if (!getNamespace()
.equals(other.getNamespace())) return false;
}
if (hasGroup() != other.hasGroup()) return false;
if (hasGroup()) {
if (!getGroup()
.equals(other.getGroup())) return false;
}
if (hasFileName() != other.hasFileName()) return false;
if (hasFileName()) {
if (!getFileName()
.equals(other.getFileName())) return false;
}
if (hasContent() != other.hasContent()) return false;
if (hasContent()) {
if (!getContent()
.equals(other.getContent())) return false;
}
if (hasVersion() != other.hasVersion()) return false;
if (hasVersion()) {
if (!getVersion()
.equals(other.getVersion())) return false;
}
if (hasMd5() != other.hasMd5()) return false;
if (hasMd5()) {
if (!getMd5()
.equals(other.getMd5())) return false;
}
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasNamespace()) {
hash = (37 * hash) + NAMESPACE_FIELD_NUMBER;
hash = (53 * hash) + getNamespace().hashCode();
}
if (hasGroup()) {
hash = (37 * hash) + GROUP_FIELD_NUMBER;
hash = (53 * hash) + getGroup().hashCode();
}
if (hasFileName()) {
hash = (37 * hash) + FILE_NAME_FIELD_NUMBER;
hash = (53 * hash) + getFileName().hashCode();
}
if (hasContent()) {
hash = (37 * hash) + CONTENT_FIELD_NUMBER;
hash = (53 * hash) + getContent().hashCode();
}
if (hasVersion()) {
hash = (37 * hash) + VERSION_FIELD_NUMBER;
hash = (53 * hash) + getVersion().hashCode();
}
if (hasMd5()) {
hash = (37 * hash) + MD5_FIELD_NUMBER;
hash = (53 * hash) + getMd5().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.tencent.polaris.client.pb.ConfigFileProto.ConfigFileDTO parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.tencent.polaris.client.pb.ConfigFileProto.ConfigFileDTO parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.tencent.polaris.client.pb.ConfigFileProto.ConfigFileDTO parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.tencent.polaris.client.pb.ConfigFileProto.ConfigFileDTO parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.tencent.polaris.client.pb.ConfigFileProto.ConfigFileDTO parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.tencent.polaris.client.pb.ConfigFileProto.ConfigFileDTO parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.tencent.polaris.client.pb.ConfigFileProto.ConfigFileDTO parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.tencent.polaris.client.pb.ConfigFileProto.ConfigFileDTO parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static com.tencent.polaris.client.pb.ConfigFileProto.ConfigFileDTO parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.tencent.polaris.client.pb.ConfigFileProto.ConfigFileDTO parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static com.tencent.polaris.client.pb.ConfigFileProto.ConfigFileDTO parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.tencent.polaris.client.pb.ConfigFileProto.ConfigFileDTO parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(com.tencent.polaris.client.pb.ConfigFileProto.ConfigFileDTO prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code v1.ConfigFileDTO}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:v1.ConfigFileDTO)
com.tencent.polaris.client.pb.ConfigFileProto.ConfigFileDTOOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.tencent.polaris.client.pb.ConfigFileProto.internal_static_v1_ConfigFileDTO_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.tencent.polaris.client.pb.ConfigFileProto.internal_static_v1_ConfigFileDTO_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.tencent.polaris.client.pb.ConfigFileProto.ConfigFileDTO.class, com.tencent.polaris.client.pb.ConfigFileProto.ConfigFileDTO.Builder.class);
}
// Construct using com.tencent.polaris.client.pb.ConfigFileProto.ConfigFileDTO.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@java.lang.Override
public Builder clear() {
super.clear();
if (namespaceBuilder_ == null) {
namespace_ = null;
} else {
namespace_ = null;
namespaceBuilder_ = null;
}
if (groupBuilder_ == null) {
group_ = null;
} else {
group_ = null;
groupBuilder_ = null;
}
if (fileNameBuilder_ == null) {
fileName_ = null;
} else {
fileName_ = null;
fileNameBuilder_ = null;
}
if (contentBuilder_ == null) {
content_ = null;
} else {
content_ = null;
contentBuilder_ = null;
}
if (versionBuilder_ == null) {
version_ = null;
} else {
version_ = null;
versionBuilder_ = null;
}
if (md5Builder_ == null) {
md5_ = null;
} else {
md5_ = null;
md5Builder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.tencent.polaris.client.pb.ConfigFileProto.internal_static_v1_ConfigFileDTO_descriptor;
}
@java.lang.Override
public com.tencent.polaris.client.pb.ConfigFileProto.ConfigFileDTO getDefaultInstanceForType() {
return com.tencent.polaris.client.pb.ConfigFileProto.ConfigFileDTO.getDefaultInstance();
}
@java.lang.Override
public com.tencent.polaris.client.pb.ConfigFileProto.ConfigFileDTO build() {
com.tencent.polaris.client.pb.ConfigFileProto.ConfigFileDTO result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.tencent.polaris.client.pb.ConfigFileProto.ConfigFileDTO buildPartial() {
com.tencent.polaris.client.pb.ConfigFileProto.ConfigFileDTO result = new com.tencent.polaris.client.pb.ConfigFileProto.ConfigFileDTO(this);
if (namespaceBuilder_ == null) {
result.namespace_ = namespace_;
} else {
result.namespace_ = namespaceBuilder_.build();
}
if (groupBuilder_ == null) {
result.group_ = group_;
} else {
result.group_ = groupBuilder_.build();
}
if (fileNameBuilder_ == null) {
result.fileName_ = fileName_;
} else {
result.fileName_ = fileNameBuilder_.build();
}
if (contentBuilder_ == null) {
result.content_ = content_;
} else {
result.content_ = contentBuilder_.build();
}
if (versionBuilder_ == null) {
result.version_ = version_;
} else {
result.version_ = versionBuilder_.build();
}
if (md5Builder_ == null) {
result.md5_ = md5_;
} else {
result.md5_ = md5Builder_.build();
}
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.tencent.polaris.client.pb.ConfigFileProto.ConfigFileDTO) {
return mergeFrom((com.tencent.polaris.client.pb.ConfigFileProto.ConfigFileDTO)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.tencent.polaris.client.pb.ConfigFileProto.ConfigFileDTO other) {
if (other == com.tencent.polaris.client.pb.ConfigFileProto.ConfigFileDTO.getDefaultInstance()) return this;
if (other.hasNamespace()) {
mergeNamespace(other.getNamespace());
}
if (other.hasGroup()) {
mergeGroup(other.getGroup());
}
if (other.hasFileName()) {
mergeFileName(other.getFileName());
}
if (other.hasContent()) {
mergeContent(other.getContent());
}
if (other.hasVersion()) {
mergeVersion(other.getVersion());
}
if (other.hasMd5()) {
mergeMd5(other.getMd5());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.tencent.polaris.client.pb.ConfigFileProto.ConfigFileDTO parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.tencent.polaris.client.pb.ConfigFileProto.ConfigFileDTO) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private com.google.protobuf.StringValue namespace_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder> namespaceBuilder_;
/**
* .google.protobuf.StringValue namespace = 1;
* @return Whether the namespace field is set.
*/
public boolean hasNamespace() {
return namespaceBuilder_ != null || namespace_ != null;
}
/**
* .google.protobuf.StringValue namespace = 1;
* @return The namespace.
*/
public com.google.protobuf.StringValue getNamespace() {
if (namespaceBuilder_ == null) {
return namespace_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : namespace_;
} else {
return namespaceBuilder_.getMessage();
}
}
/**
* .google.protobuf.StringValue namespace = 1;
*/
public Builder setNamespace(com.google.protobuf.StringValue value) {
if (namespaceBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
namespace_ = value;
onChanged();
} else {
namespaceBuilder_.setMessage(value);
}
return this;
}
/**
* .google.protobuf.StringValue namespace = 1;
*/
public Builder setNamespace(
com.google.protobuf.StringValue.Builder builderForValue) {
if (namespaceBuilder_ == null) {
namespace_ = builderForValue.build();
onChanged();
} else {
namespaceBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .google.protobuf.StringValue namespace = 1;
*/
public Builder mergeNamespace(com.google.protobuf.StringValue value) {
if (namespaceBuilder_ == null) {
if (namespace_ != null) {
namespace_ =
com.google.protobuf.StringValue.newBuilder(namespace_).mergeFrom(value).buildPartial();
} else {
namespace_ = value;
}
onChanged();
} else {
namespaceBuilder_.mergeFrom(value);
}
return this;
}
/**
* .google.protobuf.StringValue namespace = 1;
*/
public Builder clearNamespace() {
if (namespaceBuilder_ == null) {
namespace_ = null;
onChanged();
} else {
namespace_ = null;
namespaceBuilder_ = null;
}
return this;
}
/**
* .google.protobuf.StringValue namespace = 1;
*/
public com.google.protobuf.StringValue.Builder getNamespaceBuilder() {
onChanged();
return getNamespaceFieldBuilder().getBuilder();
}
/**
* .google.protobuf.StringValue namespace = 1;
*/
public com.google.protobuf.StringValueOrBuilder getNamespaceOrBuilder() {
if (namespaceBuilder_ != null) {
return namespaceBuilder_.getMessageOrBuilder();
} else {
return namespace_ == null ?
com.google.protobuf.StringValue.getDefaultInstance() : namespace_;
}
}
/**
* .google.protobuf.StringValue namespace = 1;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>
getNamespaceFieldBuilder() {
if (namespaceBuilder_ == null) {
namespaceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>(
getNamespace(),
getParentForChildren(),
isClean());
namespace_ = null;
}
return namespaceBuilder_;
}
private com.google.protobuf.StringValue group_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder> groupBuilder_;
/**
* .google.protobuf.StringValue group = 2;
* @return Whether the group field is set.
*/
public boolean hasGroup() {
return groupBuilder_ != null || group_ != null;
}
/**
* .google.protobuf.StringValue group = 2;
* @return The group.
*/
public com.google.protobuf.StringValue getGroup() {
if (groupBuilder_ == null) {
return group_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : group_;
} else {
return groupBuilder_.getMessage();
}
}
/**
* .google.protobuf.StringValue group = 2;
*/
public Builder setGroup(com.google.protobuf.StringValue value) {
if (groupBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
group_ = value;
onChanged();
} else {
groupBuilder_.setMessage(value);
}
return this;
}
/**
* .google.protobuf.StringValue group = 2;
*/
public Builder setGroup(
com.google.protobuf.StringValue.Builder builderForValue) {
if (groupBuilder_ == null) {
group_ = builderForValue.build();
onChanged();
} else {
groupBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .google.protobuf.StringValue group = 2;
*/
public Builder mergeGroup(com.google.protobuf.StringValue value) {
if (groupBuilder_ == null) {
if (group_ != null) {
group_ =
com.google.protobuf.StringValue.newBuilder(group_).mergeFrom(value).buildPartial();
} else {
group_ = value;
}
onChanged();
} else {
groupBuilder_.mergeFrom(value);
}
return this;
}
/**
* .google.protobuf.StringValue group = 2;
*/
public Builder clearGroup() {
if (groupBuilder_ == null) {
group_ = null;
onChanged();
} else {
group_ = null;
groupBuilder_ = null;
}
return this;
}
/**
* .google.protobuf.StringValue group = 2;
*/
public com.google.protobuf.StringValue.Builder getGroupBuilder() {
onChanged();
return getGroupFieldBuilder().getBuilder();
}
/**
* .google.protobuf.StringValue group = 2;
*/
public com.google.protobuf.StringValueOrBuilder getGroupOrBuilder() {
if (groupBuilder_ != null) {
return groupBuilder_.getMessageOrBuilder();
} else {
return group_ == null ?
com.google.protobuf.StringValue.getDefaultInstance() : group_;
}
}
/**
* .google.protobuf.StringValue group = 2;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>
getGroupFieldBuilder() {
if (groupBuilder_ == null) {
groupBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>(
getGroup(),
getParentForChildren(),
isClean());
group_ = null;
}
return groupBuilder_;
}
private com.google.protobuf.StringValue fileName_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder> fileNameBuilder_;
/**
* .google.protobuf.StringValue file_name = 3;
* @return Whether the fileName field is set.
*/
public boolean hasFileName() {
return fileNameBuilder_ != null || fileName_ != null;
}
/**
* .google.protobuf.StringValue file_name = 3;
* @return The fileName.
*/
public com.google.protobuf.StringValue getFileName() {
if (fileNameBuilder_ == null) {
return fileName_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : fileName_;
} else {
return fileNameBuilder_.getMessage();
}
}
/**
* .google.protobuf.StringValue file_name = 3;
*/
public Builder setFileName(com.google.protobuf.StringValue value) {
if (fileNameBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
fileName_ = value;
onChanged();
} else {
fileNameBuilder_.setMessage(value);
}
return this;
}
/**
* .google.protobuf.StringValue file_name = 3;
*/
public Builder setFileName(
com.google.protobuf.StringValue.Builder builderForValue) {
if (fileNameBuilder_ == null) {
fileName_ = builderForValue.build();
onChanged();
} else {
fileNameBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .google.protobuf.StringValue file_name = 3;
*/
public Builder mergeFileName(com.google.protobuf.StringValue value) {
if (fileNameBuilder_ == null) {
if (fileName_ != null) {
fileName_ =
com.google.protobuf.StringValue.newBuilder(fileName_).mergeFrom(value).buildPartial();
} else {
fileName_ = value;
}
onChanged();
} else {
fileNameBuilder_.mergeFrom(value);
}
return this;
}
/**
* .google.protobuf.StringValue file_name = 3;
*/
public Builder clearFileName() {
if (fileNameBuilder_ == null) {
fileName_ = null;
onChanged();
} else {
fileName_ = null;
fileNameBuilder_ = null;
}
return this;
}
/**
* .google.protobuf.StringValue file_name = 3;
*/
public com.google.protobuf.StringValue.Builder getFileNameBuilder() {
onChanged();
return getFileNameFieldBuilder().getBuilder();
}
/**
* .google.protobuf.StringValue file_name = 3;
*/
public com.google.protobuf.StringValueOrBuilder getFileNameOrBuilder() {
if (fileNameBuilder_ != null) {
return fileNameBuilder_.getMessageOrBuilder();
} else {
return fileName_ == null ?
com.google.protobuf.StringValue.getDefaultInstance() : fileName_;
}
}
/**
* .google.protobuf.StringValue file_name = 3;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>
getFileNameFieldBuilder() {
if (fileNameBuilder_ == null) {
fileNameBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>(
getFileName(),
getParentForChildren(),
isClean());
fileName_ = null;
}
return fileNameBuilder_;
}
private com.google.protobuf.StringValue content_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder> contentBuilder_;
/**
* .google.protobuf.StringValue content = 4;
* @return Whether the content field is set.
*/
public boolean hasContent() {
return contentBuilder_ != null || content_ != null;
}
/**
* .google.protobuf.StringValue content = 4;
* @return The content.
*/
public com.google.protobuf.StringValue getContent() {
if (contentBuilder_ == null) {
return content_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : content_;
} else {
return contentBuilder_.getMessage();
}
}
/**
* .google.protobuf.StringValue content = 4;
*/
public Builder setContent(com.google.protobuf.StringValue value) {
if (contentBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
content_ = value;
onChanged();
} else {
contentBuilder_.setMessage(value);
}
return this;
}
/**
* .google.protobuf.StringValue content = 4;
*/
public Builder setContent(
com.google.protobuf.StringValue.Builder builderForValue) {
if (contentBuilder_ == null) {
content_ = builderForValue.build();
onChanged();
} else {
contentBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .google.protobuf.StringValue content = 4;
*/
public Builder mergeContent(com.google.protobuf.StringValue value) {
if (contentBuilder_ == null) {
if (content_ != null) {
content_ =
com.google.protobuf.StringValue.newBuilder(content_).mergeFrom(value).buildPartial();
} else {
content_ = value;
}
onChanged();
} else {
contentBuilder_.mergeFrom(value);
}
return this;
}
/**
* .google.protobuf.StringValue content = 4;
*/
public Builder clearContent() {
if (contentBuilder_ == null) {
content_ = null;
onChanged();
} else {
content_ = null;
contentBuilder_ = null;
}
return this;
}
/**
* .google.protobuf.StringValue content = 4;
*/
public com.google.protobuf.StringValue.Builder getContentBuilder() {
onChanged();
return getContentFieldBuilder().getBuilder();
}
/**
* .google.protobuf.StringValue content = 4;
*/
public com.google.protobuf.StringValueOrBuilder getContentOrBuilder() {
if (contentBuilder_ != null) {
return contentBuilder_.getMessageOrBuilder();
} else {
return content_ == null ?
com.google.protobuf.StringValue.getDefaultInstance() : content_;
}
}
/**
* .google.protobuf.StringValue content = 4;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>
getContentFieldBuilder() {
if (contentBuilder_ == null) {
contentBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>(
getContent(),
getParentForChildren(),
isClean());
content_ = null;
}
return contentBuilder_;
}
private com.google.protobuf.UInt64Value version_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.UInt64Value, com.google.protobuf.UInt64Value.Builder, com.google.protobuf.UInt64ValueOrBuilder> versionBuilder_;
/**
* .google.protobuf.UInt64Value version = 5;
* @return Whether the version field is set.
*/
public boolean hasVersion() {
return versionBuilder_ != null || version_ != null;
}
/**
* .google.protobuf.UInt64Value version = 5;
* @return The version.
*/
public com.google.protobuf.UInt64Value getVersion() {
if (versionBuilder_ == null) {
return version_ == null ? com.google.protobuf.UInt64Value.getDefaultInstance() : version_;
} else {
return versionBuilder_.getMessage();
}
}
/**
* .google.protobuf.UInt64Value version = 5;
*/
public Builder setVersion(com.google.protobuf.UInt64Value value) {
if (versionBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
version_ = value;
onChanged();
} else {
versionBuilder_.setMessage(value);
}
return this;
}
/**
* .google.protobuf.UInt64Value version = 5;
*/
public Builder setVersion(
com.google.protobuf.UInt64Value.Builder builderForValue) {
if (versionBuilder_ == null) {
version_ = builderForValue.build();
onChanged();
} else {
versionBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .google.protobuf.UInt64Value version = 5;
*/
public Builder mergeVersion(com.google.protobuf.UInt64Value value) {
if (versionBuilder_ == null) {
if (version_ != null) {
version_ =
com.google.protobuf.UInt64Value.newBuilder(version_).mergeFrom(value).buildPartial();
} else {
version_ = value;
}
onChanged();
} else {
versionBuilder_.mergeFrom(value);
}
return this;
}
/**
* .google.protobuf.UInt64Value version = 5;
*/
public Builder clearVersion() {
if (versionBuilder_ == null) {
version_ = null;
onChanged();
} else {
version_ = null;
versionBuilder_ = null;
}
return this;
}
/**
* .google.protobuf.UInt64Value version = 5;
*/
public com.google.protobuf.UInt64Value.Builder getVersionBuilder() {
onChanged();
return getVersionFieldBuilder().getBuilder();
}
/**
* .google.protobuf.UInt64Value version = 5;
*/
public com.google.protobuf.UInt64ValueOrBuilder getVersionOrBuilder() {
if (versionBuilder_ != null) {
return versionBuilder_.getMessageOrBuilder();
} else {
return version_ == null ?
com.google.protobuf.UInt64Value.getDefaultInstance() : version_;
}
}
/**
* .google.protobuf.UInt64Value version = 5;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.UInt64Value, com.google.protobuf.UInt64Value.Builder, com.google.protobuf.UInt64ValueOrBuilder>
getVersionFieldBuilder() {
if (versionBuilder_ == null) {
versionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.UInt64Value, com.google.protobuf.UInt64Value.Builder, com.google.protobuf.UInt64ValueOrBuilder>(
getVersion(),
getParentForChildren(),
isClean());
version_ = null;
}
return versionBuilder_;
}
private com.google.protobuf.StringValue md5_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder> md5Builder_;
/**
* .google.protobuf.StringValue md5 = 6;
* @return Whether the md5 field is set.
*/
public boolean hasMd5() {
return md5Builder_ != null || md5_ != null;
}
/**
* .google.protobuf.StringValue md5 = 6;
* @return The md5.
*/
public com.google.protobuf.StringValue getMd5() {
if (md5Builder_ == null) {
return md5_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : md5_;
} else {
return md5Builder_.getMessage();
}
}
/**
* .google.protobuf.StringValue md5 = 6;
*/
public Builder setMd5(com.google.protobuf.StringValue value) {
if (md5Builder_ == null) {
if (value == null) {
throw new NullPointerException();
}
md5_ = value;
onChanged();
} else {
md5Builder_.setMessage(value);
}
return this;
}
/**
* .google.protobuf.StringValue md5 = 6;
*/
public Builder setMd5(
com.google.protobuf.StringValue.Builder builderForValue) {
if (md5Builder_ == null) {
md5_ = builderForValue.build();
onChanged();
} else {
md5Builder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .google.protobuf.StringValue md5 = 6;
*/
public Builder mergeMd5(com.google.protobuf.StringValue value) {
if (md5Builder_ == null) {
if (md5_ != null) {
md5_ =
com.google.protobuf.StringValue.newBuilder(md5_).mergeFrom(value).buildPartial();
} else {
md5_ = value;
}
onChanged();
} else {
md5Builder_.mergeFrom(value);
}
return this;
}
/**
* .google.protobuf.StringValue md5 = 6;
*/
public Builder clearMd5() {
if (md5Builder_ == null) {
md5_ = null;
onChanged();
} else {
md5_ = null;
md5Builder_ = null;
}
return this;
}
/**
* .google.protobuf.StringValue md5 = 6;
*/
public com.google.protobuf.StringValue.Builder getMd5Builder() {
onChanged();
return getMd5FieldBuilder().getBuilder();
}
/**
* .google.protobuf.StringValue md5 = 6;
*/
public com.google.protobuf.StringValueOrBuilder getMd5OrBuilder() {
if (md5Builder_ != null) {
return md5Builder_.getMessageOrBuilder();
} else {
return md5_ == null ?
com.google.protobuf.StringValue.getDefaultInstance() : md5_;
}
}
/**
* .google.protobuf.StringValue md5 = 6;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>
getMd5FieldBuilder() {
if (md5Builder_ == null) {
md5Builder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>(
getMd5(),
getParentForChildren(),
isClean());
md5_ = null;
}
return md5Builder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:v1.ConfigFileDTO)
}
// @@protoc_insertion_point(class_scope:v1.ConfigFileDTO)
private static final com.tencent.polaris.client.pb.ConfigFileProto.ConfigFileDTO DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.tencent.polaris.client.pb.ConfigFileProto.ConfigFileDTO();
}
public static com.tencent.polaris.client.pb.ConfigFileProto.ConfigFileDTO getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public ConfigFileDTO parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new ConfigFileDTO(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public com.tencent.polaris.client.pb.ConfigFileProto.ConfigFileDTO getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface WatchConfigFileRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:v1.WatchConfigFileRequest)
com.google.protobuf.MessageOrBuilder {
/**
* .google.protobuf.StringValue client_ip = 1;
* @return Whether the clientIp field is set.
*/
boolean hasClientIp();
/**
* .google.protobuf.StringValue client_ip = 1;
* @return The clientIp.
*/
com.google.protobuf.StringValue getClientIp();
/**
* .google.protobuf.StringValue client_ip = 1;
*/
com.google.protobuf.StringValueOrBuilder getClientIpOrBuilder();
/**
* .google.protobuf.StringValue service_name = 2;
* @return Whether the serviceName field is set.
*/
boolean hasServiceName();
/**
* .google.protobuf.StringValue service_name = 2;
* @return The serviceName.
*/
com.google.protobuf.StringValue getServiceName();
/**
* .google.protobuf.StringValue service_name = 2;
*/
com.google.protobuf.StringValueOrBuilder getServiceNameOrBuilder();
/**
* repeated .v1.ConfigFileDTO watch_files = 3;
*/
java.util.List
getWatchFilesList();
/**
* repeated .v1.ConfigFileDTO watch_files = 3;
*/
com.tencent.polaris.client.pb.ConfigFileProto.ConfigFileDTO getWatchFiles(int index);
/**
* repeated .v1.ConfigFileDTO watch_files = 3;
*/
int getWatchFilesCount();
/**
* repeated .v1.ConfigFileDTO watch_files = 3;
*/
java.util.List
getWatchFilesOrBuilderList();
/**
* repeated .v1.ConfigFileDTO watch_files = 3;
*/
com.tencent.polaris.client.pb.ConfigFileProto.ConfigFileDTOOrBuilder getWatchFilesOrBuilder(
int index);
}
/**
* Protobuf type {@code v1.WatchConfigFileRequest}
*/
public static final class WatchConfigFileRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:v1.WatchConfigFileRequest)
WatchConfigFileRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use WatchConfigFileRequest.newBuilder() to construct.
private WatchConfigFileRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
super(builder);
}
private WatchConfigFileRequest() {
watchFiles_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new WatchConfigFileRequest();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private WatchConfigFileRequest(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
com.google.protobuf.StringValue.Builder subBuilder = null;
if (clientIp_ != null) {
subBuilder = clientIp_.toBuilder();
}
clientIp_ = input.readMessage(com.google.protobuf.StringValue.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(clientIp_);
clientIp_ = subBuilder.buildPartial();
}
break;
}
case 18: {
com.google.protobuf.StringValue.Builder subBuilder = null;
if (serviceName_ != null) {
subBuilder = serviceName_.toBuilder();
}
serviceName_ = input.readMessage(com.google.protobuf.StringValue.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(serviceName_);
serviceName_ = subBuilder.buildPartial();
}
break;
}
case 26: {
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
watchFiles_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000001;
}
watchFiles_.add(
input.readMessage(com.tencent.polaris.client.pb.ConfigFileProto.ConfigFileDTO.parser(), extensionRegistry));
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000001) != 0)) {
watchFiles_ = java.util.Collections.unmodifiableList(watchFiles_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.tencent.polaris.client.pb.ConfigFileProto.internal_static_v1_WatchConfigFileRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.tencent.polaris.client.pb.ConfigFileProto.internal_static_v1_WatchConfigFileRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.tencent.polaris.client.pb.ConfigFileProto.WatchConfigFileRequest.class, com.tencent.polaris.client.pb.ConfigFileProto.WatchConfigFileRequest.Builder.class);
}
public static final int CLIENT_IP_FIELD_NUMBER = 1;
private com.google.protobuf.StringValue clientIp_;
/**
* .google.protobuf.StringValue client_ip = 1;
* @return Whether the clientIp field is set.
*/
@java.lang.Override
public boolean hasClientIp() {
return clientIp_ != null;
}
/**
* .google.protobuf.StringValue client_ip = 1;
* @return The clientIp.
*/
@java.lang.Override
public com.google.protobuf.StringValue getClientIp() {
return clientIp_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : clientIp_;
}
/**
* .google.protobuf.StringValue client_ip = 1;
*/
@java.lang.Override
public com.google.protobuf.StringValueOrBuilder getClientIpOrBuilder() {
return getClientIp();
}
public static final int SERVICE_NAME_FIELD_NUMBER = 2;
private com.google.protobuf.StringValue serviceName_;
/**
* .google.protobuf.StringValue service_name = 2;
* @return Whether the serviceName field is set.
*/
@java.lang.Override
public boolean hasServiceName() {
return serviceName_ != null;
}
/**
* .google.protobuf.StringValue service_name = 2;
* @return The serviceName.
*/
@java.lang.Override
public com.google.protobuf.StringValue getServiceName() {
return serviceName_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : serviceName_;
}
/**
* .google.protobuf.StringValue service_name = 2;
*/
@java.lang.Override
public com.google.protobuf.StringValueOrBuilder getServiceNameOrBuilder() {
return getServiceName();
}
public static final int WATCH_FILES_FIELD_NUMBER = 3;
private java.util.List watchFiles_;
/**
* repeated .v1.ConfigFileDTO watch_files = 3;
*/
@java.lang.Override
public java.util.List getWatchFilesList() {
return watchFiles_;
}
/**
* repeated .v1.ConfigFileDTO watch_files = 3;
*/
@java.lang.Override
public java.util.List
getWatchFilesOrBuilderList() {
return watchFiles_;
}
/**
* repeated .v1.ConfigFileDTO watch_files = 3;
*/
@java.lang.Override
public int getWatchFilesCount() {
return watchFiles_.size();
}
/**
* repeated .v1.ConfigFileDTO watch_files = 3;
*/
@java.lang.Override
public com.tencent.polaris.client.pb.ConfigFileProto.ConfigFileDTO getWatchFiles(int index) {
return watchFiles_.get(index);
}
/**
* repeated .v1.ConfigFileDTO watch_files = 3;
*/
@java.lang.Override
public com.tencent.polaris.client.pb.ConfigFileProto.ConfigFileDTOOrBuilder getWatchFilesOrBuilder(
int index) {
return watchFiles_.get(index);
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (clientIp_ != null) {
output.writeMessage(1, getClientIp());
}
if (serviceName_ != null) {
output.writeMessage(2, getServiceName());
}
for (int i = 0; i < watchFiles_.size(); i++) {
output.writeMessage(3, watchFiles_.get(i));
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (clientIp_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getClientIp());
}
if (serviceName_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, getServiceName());
}
for (int i = 0; i < watchFiles_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, watchFiles_.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 com.tencent.polaris.client.pb.ConfigFileProto.WatchConfigFileRequest)) {
return super.equals(obj);
}
com.tencent.polaris.client.pb.ConfigFileProto.WatchConfigFileRequest other = (com.tencent.polaris.client.pb.ConfigFileProto.WatchConfigFileRequest) obj;
if (hasClientIp() != other.hasClientIp()) return false;
if (hasClientIp()) {
if (!getClientIp()
.equals(other.getClientIp())) return false;
}
if (hasServiceName() != other.hasServiceName()) return false;
if (hasServiceName()) {
if (!getServiceName()
.equals(other.getServiceName())) return false;
}
if (!getWatchFilesList()
.equals(other.getWatchFilesList())) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasClientIp()) {
hash = (37 * hash) + CLIENT_IP_FIELD_NUMBER;
hash = (53 * hash) + getClientIp().hashCode();
}
if (hasServiceName()) {
hash = (37 * hash) + SERVICE_NAME_FIELD_NUMBER;
hash = (53 * hash) + getServiceName().hashCode();
}
if (getWatchFilesCount() > 0) {
hash = (37 * hash) + WATCH_FILES_FIELD_NUMBER;
hash = (53 * hash) + getWatchFilesList().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.tencent.polaris.client.pb.ConfigFileProto.WatchConfigFileRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.tencent.polaris.client.pb.ConfigFileProto.WatchConfigFileRequest parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.tencent.polaris.client.pb.ConfigFileProto.WatchConfigFileRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.tencent.polaris.client.pb.ConfigFileProto.WatchConfigFileRequest parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.tencent.polaris.client.pb.ConfigFileProto.WatchConfigFileRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.tencent.polaris.client.pb.ConfigFileProto.WatchConfigFileRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.tencent.polaris.client.pb.ConfigFileProto.WatchConfigFileRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.tencent.polaris.client.pb.ConfigFileProto.WatchConfigFileRequest parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static com.tencent.polaris.client.pb.ConfigFileProto.WatchConfigFileRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.tencent.polaris.client.pb.ConfigFileProto.WatchConfigFileRequest parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static com.tencent.polaris.client.pb.ConfigFileProto.WatchConfigFileRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.tencent.polaris.client.pb.ConfigFileProto.WatchConfigFileRequest parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(com.tencent.polaris.client.pb.ConfigFileProto.WatchConfigFileRequest prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code v1.WatchConfigFileRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:v1.WatchConfigFileRequest)
com.tencent.polaris.client.pb.ConfigFileProto.WatchConfigFileRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.tencent.polaris.client.pb.ConfigFileProto.internal_static_v1_WatchConfigFileRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.tencent.polaris.client.pb.ConfigFileProto.internal_static_v1_WatchConfigFileRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.tencent.polaris.client.pb.ConfigFileProto.WatchConfigFileRequest.class, com.tencent.polaris.client.pb.ConfigFileProto.WatchConfigFileRequest.Builder.class);
}
// Construct using com.tencent.polaris.client.pb.ConfigFileProto.WatchConfigFileRequest.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getWatchFilesFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
if (clientIpBuilder_ == null) {
clientIp_ = null;
} else {
clientIp_ = null;
clientIpBuilder_ = null;
}
if (serviceNameBuilder_ == null) {
serviceName_ = null;
} else {
serviceName_ = null;
serviceNameBuilder_ = null;
}
if (watchFilesBuilder_ == null) {
watchFiles_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
} else {
watchFilesBuilder_.clear();
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.tencent.polaris.client.pb.ConfigFileProto.internal_static_v1_WatchConfigFileRequest_descriptor;
}
@java.lang.Override
public com.tencent.polaris.client.pb.ConfigFileProto.WatchConfigFileRequest getDefaultInstanceForType() {
return com.tencent.polaris.client.pb.ConfigFileProto.WatchConfigFileRequest.getDefaultInstance();
}
@java.lang.Override
public com.tencent.polaris.client.pb.ConfigFileProto.WatchConfigFileRequest build() {
com.tencent.polaris.client.pb.ConfigFileProto.WatchConfigFileRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.tencent.polaris.client.pb.ConfigFileProto.WatchConfigFileRequest buildPartial() {
com.tencent.polaris.client.pb.ConfigFileProto.WatchConfigFileRequest result = new com.tencent.polaris.client.pb.ConfigFileProto.WatchConfigFileRequest(this);
int from_bitField0_ = bitField0_;
if (clientIpBuilder_ == null) {
result.clientIp_ = clientIp_;
} else {
result.clientIp_ = clientIpBuilder_.build();
}
if (serviceNameBuilder_ == null) {
result.serviceName_ = serviceName_;
} else {
result.serviceName_ = serviceNameBuilder_.build();
}
if (watchFilesBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
watchFiles_ = java.util.Collections.unmodifiableList(watchFiles_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.watchFiles_ = watchFiles_;
} else {
result.watchFiles_ = watchFilesBuilder_.build();
}
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.tencent.polaris.client.pb.ConfigFileProto.WatchConfigFileRequest) {
return mergeFrom((com.tencent.polaris.client.pb.ConfigFileProto.WatchConfigFileRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.tencent.polaris.client.pb.ConfigFileProto.WatchConfigFileRequest other) {
if (other == com.tencent.polaris.client.pb.ConfigFileProto.WatchConfigFileRequest.getDefaultInstance()) return this;
if (other.hasClientIp()) {
mergeClientIp(other.getClientIp());
}
if (other.hasServiceName()) {
mergeServiceName(other.getServiceName());
}
if (watchFilesBuilder_ == null) {
if (!other.watchFiles_.isEmpty()) {
if (watchFiles_.isEmpty()) {
watchFiles_ = other.watchFiles_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureWatchFilesIsMutable();
watchFiles_.addAll(other.watchFiles_);
}
onChanged();
}
} else {
if (!other.watchFiles_.isEmpty()) {
if (watchFilesBuilder_.isEmpty()) {
watchFilesBuilder_.dispose();
watchFilesBuilder_ = null;
watchFiles_ = other.watchFiles_;
bitField0_ = (bitField0_ & ~0x00000001);
watchFilesBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getWatchFilesFieldBuilder() : null;
} else {
watchFilesBuilder_.addAllMessages(other.watchFiles_);
}
}
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.tencent.polaris.client.pb.ConfigFileProto.WatchConfigFileRequest parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.tencent.polaris.client.pb.ConfigFileProto.WatchConfigFileRequest) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private com.google.protobuf.StringValue clientIp_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder> clientIpBuilder_;
/**
* .google.protobuf.StringValue client_ip = 1;
* @return Whether the clientIp field is set.
*/
public boolean hasClientIp() {
return clientIpBuilder_ != null || clientIp_ != null;
}
/**
* .google.protobuf.StringValue client_ip = 1;
* @return The clientIp.
*/
public com.google.protobuf.StringValue getClientIp() {
if (clientIpBuilder_ == null) {
return clientIp_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : clientIp_;
} else {
return clientIpBuilder_.getMessage();
}
}
/**
* .google.protobuf.StringValue client_ip = 1;
*/
public Builder setClientIp(com.google.protobuf.StringValue value) {
if (clientIpBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
clientIp_ = value;
onChanged();
} else {
clientIpBuilder_.setMessage(value);
}
return this;
}
/**
* .google.protobuf.StringValue client_ip = 1;
*/
public Builder setClientIp(
com.google.protobuf.StringValue.Builder builderForValue) {
if (clientIpBuilder_ == null) {
clientIp_ = builderForValue.build();
onChanged();
} else {
clientIpBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .google.protobuf.StringValue client_ip = 1;
*/
public Builder mergeClientIp(com.google.protobuf.StringValue value) {
if (clientIpBuilder_ == null) {
if (clientIp_ != null) {
clientIp_ =
com.google.protobuf.StringValue.newBuilder(clientIp_).mergeFrom(value).buildPartial();
} else {
clientIp_ = value;
}
onChanged();
} else {
clientIpBuilder_.mergeFrom(value);
}
return this;
}
/**
* .google.protobuf.StringValue client_ip = 1;
*/
public Builder clearClientIp() {
if (clientIpBuilder_ == null) {
clientIp_ = null;
onChanged();
} else {
clientIp_ = null;
clientIpBuilder_ = null;
}
return this;
}
/**
* .google.protobuf.StringValue client_ip = 1;
*/
public com.google.protobuf.StringValue.Builder getClientIpBuilder() {
onChanged();
return getClientIpFieldBuilder().getBuilder();
}
/**
* .google.protobuf.StringValue client_ip = 1;
*/
public com.google.protobuf.StringValueOrBuilder getClientIpOrBuilder() {
if (clientIpBuilder_ != null) {
return clientIpBuilder_.getMessageOrBuilder();
} else {
return clientIp_ == null ?
com.google.protobuf.StringValue.getDefaultInstance() : clientIp_;
}
}
/**
* .google.protobuf.StringValue client_ip = 1;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>
getClientIpFieldBuilder() {
if (clientIpBuilder_ == null) {
clientIpBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>(
getClientIp(),
getParentForChildren(),
isClean());
clientIp_ = null;
}
return clientIpBuilder_;
}
private com.google.protobuf.StringValue serviceName_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder> serviceNameBuilder_;
/**
* .google.protobuf.StringValue service_name = 2;
* @return Whether the serviceName field is set.
*/
public boolean hasServiceName() {
return serviceNameBuilder_ != null || serviceName_ != null;
}
/**
* .google.protobuf.StringValue service_name = 2;
* @return The serviceName.
*/
public com.google.protobuf.StringValue getServiceName() {
if (serviceNameBuilder_ == null) {
return serviceName_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : serviceName_;
} else {
return serviceNameBuilder_.getMessage();
}
}
/**
* .google.protobuf.StringValue service_name = 2;
*/
public Builder setServiceName(com.google.protobuf.StringValue value) {
if (serviceNameBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
serviceName_ = value;
onChanged();
} else {
serviceNameBuilder_.setMessage(value);
}
return this;
}
/**
* .google.protobuf.StringValue service_name = 2;
*/
public Builder setServiceName(
com.google.protobuf.StringValue.Builder builderForValue) {
if (serviceNameBuilder_ == null) {
serviceName_ = builderForValue.build();
onChanged();
} else {
serviceNameBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .google.protobuf.StringValue service_name = 2;
*/
public Builder mergeServiceName(com.google.protobuf.StringValue value) {
if (serviceNameBuilder_ == null) {
if (serviceName_ != null) {
serviceName_ =
com.google.protobuf.StringValue.newBuilder(serviceName_).mergeFrom(value).buildPartial();
} else {
serviceName_ = value;
}
onChanged();
} else {
serviceNameBuilder_.mergeFrom(value);
}
return this;
}
/**
* .google.protobuf.StringValue service_name = 2;
*/
public Builder clearServiceName() {
if (serviceNameBuilder_ == null) {
serviceName_ = null;
onChanged();
} else {
serviceName_ = null;
serviceNameBuilder_ = null;
}
return this;
}
/**
* .google.protobuf.StringValue service_name = 2;
*/
public com.google.protobuf.StringValue.Builder getServiceNameBuilder() {
onChanged();
return getServiceNameFieldBuilder().getBuilder();
}
/**
* .google.protobuf.StringValue service_name = 2;
*/
public com.google.protobuf.StringValueOrBuilder getServiceNameOrBuilder() {
if (serviceNameBuilder_ != null) {
return serviceNameBuilder_.getMessageOrBuilder();
} else {
return serviceName_ == null ?
com.google.protobuf.StringValue.getDefaultInstance() : serviceName_;
}
}
/**
* .google.protobuf.StringValue service_name = 2;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>
getServiceNameFieldBuilder() {
if (serviceNameBuilder_ == null) {
serviceNameBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>(
getServiceName(),
getParentForChildren(),
isClean());
serviceName_ = null;
}
return serviceNameBuilder_;
}
private java.util.List watchFiles_ =
java.util.Collections.emptyList();
private void ensureWatchFilesIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
watchFiles_ = new java.util.ArrayList(watchFiles_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.tencent.polaris.client.pb.ConfigFileProto.ConfigFileDTO, com.tencent.polaris.client.pb.ConfigFileProto.ConfigFileDTO.Builder, com.tencent.polaris.client.pb.ConfigFileProto.ConfigFileDTOOrBuilder> watchFilesBuilder_;
/**
* repeated .v1.ConfigFileDTO watch_files = 3;
*/
public java.util.List getWatchFilesList() {
if (watchFilesBuilder_ == null) {
return java.util.Collections.unmodifiableList(watchFiles_);
} else {
return watchFilesBuilder_.getMessageList();
}
}
/**
* repeated .v1.ConfigFileDTO watch_files = 3;
*/
public int getWatchFilesCount() {
if (watchFilesBuilder_ == null) {
return watchFiles_.size();
} else {
return watchFilesBuilder_.getCount();
}
}
/**
* repeated .v1.ConfigFileDTO watch_files = 3;
*/
public com.tencent.polaris.client.pb.ConfigFileProto.ConfigFileDTO getWatchFiles(int index) {
if (watchFilesBuilder_ == null) {
return watchFiles_.get(index);
} else {
return watchFilesBuilder_.getMessage(index);
}
}
/**
* repeated .v1.ConfigFileDTO watch_files = 3;
*/
public Builder setWatchFiles(
int index, com.tencent.polaris.client.pb.ConfigFileProto.ConfigFileDTO value) {
if (watchFilesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureWatchFilesIsMutable();
watchFiles_.set(index, value);
onChanged();
} else {
watchFilesBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .v1.ConfigFileDTO watch_files = 3;
*/
public Builder setWatchFiles(
int index, com.tencent.polaris.client.pb.ConfigFileProto.ConfigFileDTO.Builder builderForValue) {
if (watchFilesBuilder_ == null) {
ensureWatchFilesIsMutable();
watchFiles_.set(index, builderForValue.build());
onChanged();
} else {
watchFilesBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .v1.ConfigFileDTO watch_files = 3;
*/
public Builder addWatchFiles(com.tencent.polaris.client.pb.ConfigFileProto.ConfigFileDTO value) {
if (watchFilesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureWatchFilesIsMutable();
watchFiles_.add(value);
onChanged();
} else {
watchFilesBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .v1.ConfigFileDTO watch_files = 3;
*/
public Builder addWatchFiles(
int index, com.tencent.polaris.client.pb.ConfigFileProto.ConfigFileDTO value) {
if (watchFilesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureWatchFilesIsMutable();
watchFiles_.add(index, value);
onChanged();
} else {
watchFilesBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .v1.ConfigFileDTO watch_files = 3;
*/
public Builder addWatchFiles(
com.tencent.polaris.client.pb.ConfigFileProto.ConfigFileDTO.Builder builderForValue) {
if (watchFilesBuilder_ == null) {
ensureWatchFilesIsMutable();
watchFiles_.add(builderForValue.build());
onChanged();
} else {
watchFilesBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .v1.ConfigFileDTO watch_files = 3;
*/
public Builder addWatchFiles(
int index, com.tencent.polaris.client.pb.ConfigFileProto.ConfigFileDTO.Builder builderForValue) {
if (watchFilesBuilder_ == null) {
ensureWatchFilesIsMutable();
watchFiles_.add(index, builderForValue.build());
onChanged();
} else {
watchFilesBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .v1.ConfigFileDTO watch_files = 3;
*/
public Builder addAllWatchFiles(
java.lang.Iterable values) {
if (watchFilesBuilder_ == null) {
ensureWatchFilesIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, watchFiles_);
onChanged();
} else {
watchFilesBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .v1.ConfigFileDTO watch_files = 3;
*/
public Builder clearWatchFiles() {
if (watchFilesBuilder_ == null) {
watchFiles_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
watchFilesBuilder_.clear();
}
return this;
}
/**
* repeated .v1.ConfigFileDTO watch_files = 3;
*/
public Builder removeWatchFiles(int index) {
if (watchFilesBuilder_ == null) {
ensureWatchFilesIsMutable();
watchFiles_.remove(index);
onChanged();
} else {
watchFilesBuilder_.remove(index);
}
return this;
}
/**
* repeated .v1.ConfigFileDTO watch_files = 3;
*/
public com.tencent.polaris.client.pb.ConfigFileProto.ConfigFileDTO.Builder getWatchFilesBuilder(
int index) {
return getWatchFilesFieldBuilder().getBuilder(index);
}
/**
* repeated .v1.ConfigFileDTO watch_files = 3;
*/
public com.tencent.polaris.client.pb.ConfigFileProto.ConfigFileDTOOrBuilder getWatchFilesOrBuilder(
int index) {
if (watchFilesBuilder_ == null) {
return watchFiles_.get(index); } else {
return watchFilesBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .v1.ConfigFileDTO watch_files = 3;
*/
public java.util.List
getWatchFilesOrBuilderList() {
if (watchFilesBuilder_ != null) {
return watchFilesBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(watchFiles_);
}
}
/**
* repeated .v1.ConfigFileDTO watch_files = 3;
*/
public com.tencent.polaris.client.pb.ConfigFileProto.ConfigFileDTO.Builder addWatchFilesBuilder() {
return getWatchFilesFieldBuilder().addBuilder(
com.tencent.polaris.client.pb.ConfigFileProto.ConfigFileDTO.getDefaultInstance());
}
/**
* repeated .v1.ConfigFileDTO watch_files = 3;
*/
public com.tencent.polaris.client.pb.ConfigFileProto.ConfigFileDTO.Builder addWatchFilesBuilder(
int index) {
return getWatchFilesFieldBuilder().addBuilder(
index, com.tencent.polaris.client.pb.ConfigFileProto.ConfigFileDTO.getDefaultInstance());
}
/**
* repeated .v1.ConfigFileDTO watch_files = 3;
*/
public java.util.List
getWatchFilesBuilderList() {
return getWatchFilesFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.tencent.polaris.client.pb.ConfigFileProto.ConfigFileDTO, com.tencent.polaris.client.pb.ConfigFileProto.ConfigFileDTO.Builder, com.tencent.polaris.client.pb.ConfigFileProto.ConfigFileDTOOrBuilder>
getWatchFilesFieldBuilder() {
if (watchFilesBuilder_ == null) {
watchFilesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
com.tencent.polaris.client.pb.ConfigFileProto.ConfigFileDTO, com.tencent.polaris.client.pb.ConfigFileProto.ConfigFileDTO.Builder, com.tencent.polaris.client.pb.ConfigFileProto.ConfigFileDTOOrBuilder>(
watchFiles_,
((bitField0_ & 0x00000001) != 0),
getParentForChildren(),
isClean());
watchFiles_ = null;
}
return watchFilesBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:v1.WatchConfigFileRequest)
}
// @@protoc_insertion_point(class_scope:v1.WatchConfigFileRequest)
private static final com.tencent.polaris.client.pb.ConfigFileProto.WatchConfigFileRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.tencent.polaris.client.pb.ConfigFileProto.WatchConfigFileRequest();
}
public static com.tencent.polaris.client.pb.ConfigFileProto.WatchConfigFileRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public WatchConfigFileRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new WatchConfigFileRequest(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public com.tencent.polaris.client.pb.ConfigFileProto.WatchConfigFileRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface ConfigFileResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:v1.ConfigFileResponse)
com.google.protobuf.MessageOrBuilder {
/**
* .google.protobuf.UInt32Value code = 1;
* @return Whether the code field is set.
*/
boolean hasCode();
/**
* .google.protobuf.UInt32Value code = 1;
* @return The code.
*/
com.google.protobuf.UInt32Value getCode();
/**
* .google.protobuf.UInt32Value code = 1;
*/
com.google.protobuf.UInt32ValueOrBuilder getCodeOrBuilder();
/**
* .google.protobuf.StringValue info = 2;
* @return Whether the info field is set.
*/
boolean hasInfo();
/**
* .google.protobuf.StringValue info = 2;
* @return The info.
*/
com.google.protobuf.StringValue getInfo();
/**
* .google.protobuf.StringValue info = 2;
*/
com.google.protobuf.StringValueOrBuilder getInfoOrBuilder();
/**
* .v1.ConfigFileDTO configFile = 3;
* @return Whether the configFile field is set.
*/
boolean hasConfigFile();
/**
* .v1.ConfigFileDTO configFile = 3;
* @return The configFile.
*/
com.tencent.polaris.client.pb.ConfigFileProto.ConfigFileDTO getConfigFile();
/**
* .v1.ConfigFileDTO configFile = 3;
*/
com.tencent.polaris.client.pb.ConfigFileProto.ConfigFileDTOOrBuilder getConfigFileOrBuilder();
}
/**
* Protobuf type {@code v1.ConfigFileResponse}
*/
public static final class ConfigFileResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:v1.ConfigFileResponse)
ConfigFileResponseOrBuilder {
private static final long serialVersionUID = 0L;
// Use ConfigFileResponse.newBuilder() to construct.
private ConfigFileResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
super(builder);
}
private ConfigFileResponse() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new ConfigFileResponse();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private ConfigFileResponse(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
com.google.protobuf.UInt32Value.Builder subBuilder = null;
if (code_ != null) {
subBuilder = code_.toBuilder();
}
code_ = input.readMessage(com.google.protobuf.UInt32Value.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(code_);
code_ = subBuilder.buildPartial();
}
break;
}
case 18: {
com.google.protobuf.StringValue.Builder subBuilder = null;
if (info_ != null) {
subBuilder = info_.toBuilder();
}
info_ = input.readMessage(com.google.protobuf.StringValue.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(info_);
info_ = subBuilder.buildPartial();
}
break;
}
case 26: {
com.tencent.polaris.client.pb.ConfigFileProto.ConfigFileDTO.Builder subBuilder = null;
if (configFile_ != null) {
subBuilder = configFile_.toBuilder();
}
configFile_ = input.readMessage(com.tencent.polaris.client.pb.ConfigFileProto.ConfigFileDTO.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(configFile_);
configFile_ = subBuilder.buildPartial();
}
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.tencent.polaris.client.pb.ConfigFileProto.internal_static_v1_ConfigFileResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.tencent.polaris.client.pb.ConfigFileProto.internal_static_v1_ConfigFileResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.tencent.polaris.client.pb.ConfigFileProto.ConfigFileResponse.class, com.tencent.polaris.client.pb.ConfigFileProto.ConfigFileResponse.Builder.class);
}
public static final int CODE_FIELD_NUMBER = 1;
private com.google.protobuf.UInt32Value code_;
/**
* .google.protobuf.UInt32Value code = 1;
* @return Whether the code field is set.
*/
@java.lang.Override
public boolean hasCode() {
return code_ != null;
}
/**
* .google.protobuf.UInt32Value code = 1;
* @return The code.
*/
@java.lang.Override
public com.google.protobuf.UInt32Value getCode() {
return code_ == null ? com.google.protobuf.UInt32Value.getDefaultInstance() : code_;
}
/**
* .google.protobuf.UInt32Value code = 1;
*/
@java.lang.Override
public com.google.protobuf.UInt32ValueOrBuilder getCodeOrBuilder() {
return getCode();
}
public static final int INFO_FIELD_NUMBER = 2;
private com.google.protobuf.StringValue info_;
/**
* .google.protobuf.StringValue info = 2;
* @return Whether the info field is set.
*/
@java.lang.Override
public boolean hasInfo() {
return info_ != null;
}
/**
* .google.protobuf.StringValue info = 2;
* @return The info.
*/
@java.lang.Override
public com.google.protobuf.StringValue getInfo() {
return info_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : info_;
}
/**
* .google.protobuf.StringValue info = 2;
*/
@java.lang.Override
public com.google.protobuf.StringValueOrBuilder getInfoOrBuilder() {
return getInfo();
}
public static final int CONFIGFILE_FIELD_NUMBER = 3;
private com.tencent.polaris.client.pb.ConfigFileProto.ConfigFileDTO configFile_;
/**
* .v1.ConfigFileDTO configFile = 3;
* @return Whether the configFile field is set.
*/
@java.lang.Override
public boolean hasConfigFile() {
return configFile_ != null;
}
/**
* .v1.ConfigFileDTO configFile = 3;
* @return The configFile.
*/
@java.lang.Override
public com.tencent.polaris.client.pb.ConfigFileProto.ConfigFileDTO getConfigFile() {
return configFile_ == null ? com.tencent.polaris.client.pb.ConfigFileProto.ConfigFileDTO.getDefaultInstance() : configFile_;
}
/**
* .v1.ConfigFileDTO configFile = 3;
*/
@java.lang.Override
public com.tencent.polaris.client.pb.ConfigFileProto.ConfigFileDTOOrBuilder getConfigFileOrBuilder() {
return getConfigFile();
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (code_ != null) {
output.writeMessage(1, getCode());
}
if (info_ != null) {
output.writeMessage(2, getInfo());
}
if (configFile_ != null) {
output.writeMessage(3, getConfigFile());
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (code_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getCode());
}
if (info_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, getInfo());
}
if (configFile_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, getConfigFile());
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.tencent.polaris.client.pb.ConfigFileProto.ConfigFileResponse)) {
return super.equals(obj);
}
com.tencent.polaris.client.pb.ConfigFileProto.ConfigFileResponse other = (com.tencent.polaris.client.pb.ConfigFileProto.ConfigFileResponse) obj;
if (hasCode() != other.hasCode()) return false;
if (hasCode()) {
if (!getCode()
.equals(other.getCode())) return false;
}
if (hasInfo() != other.hasInfo()) return false;
if (hasInfo()) {
if (!getInfo()
.equals(other.getInfo())) return false;
}
if (hasConfigFile() != other.hasConfigFile()) return false;
if (hasConfigFile()) {
if (!getConfigFile()
.equals(other.getConfigFile())) return false;
}
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasCode()) {
hash = (37 * hash) + CODE_FIELD_NUMBER;
hash = (53 * hash) + getCode().hashCode();
}
if (hasInfo()) {
hash = (37 * hash) + INFO_FIELD_NUMBER;
hash = (53 * hash) + getInfo().hashCode();
}
if (hasConfigFile()) {
hash = (37 * hash) + CONFIGFILE_FIELD_NUMBER;
hash = (53 * hash) + getConfigFile().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.tencent.polaris.client.pb.ConfigFileProto.ConfigFileResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.tencent.polaris.client.pb.ConfigFileProto.ConfigFileResponse parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.tencent.polaris.client.pb.ConfigFileProto.ConfigFileResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.tencent.polaris.client.pb.ConfigFileProto.ConfigFileResponse parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.tencent.polaris.client.pb.ConfigFileProto.ConfigFileResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.tencent.polaris.client.pb.ConfigFileProto.ConfigFileResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.tencent.polaris.client.pb.ConfigFileProto.ConfigFileResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.tencent.polaris.client.pb.ConfigFileProto.ConfigFileResponse parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static com.tencent.polaris.client.pb.ConfigFileProto.ConfigFileResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.tencent.polaris.client.pb.ConfigFileProto.ConfigFileResponse parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static com.tencent.polaris.client.pb.ConfigFileProto.ConfigFileResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.tencent.polaris.client.pb.ConfigFileProto.ConfigFileResponse parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(com.tencent.polaris.client.pb.ConfigFileProto.ConfigFileResponse prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code v1.ConfigFileResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:v1.ConfigFileResponse)
com.tencent.polaris.client.pb.ConfigFileProto.ConfigFileResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.tencent.polaris.client.pb.ConfigFileProto.internal_static_v1_ConfigFileResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.tencent.polaris.client.pb.ConfigFileProto.internal_static_v1_ConfigFileResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.tencent.polaris.client.pb.ConfigFileProto.ConfigFileResponse.class, com.tencent.polaris.client.pb.ConfigFileProto.ConfigFileResponse.Builder.class);
}
// Construct using com.tencent.polaris.client.pb.ConfigFileProto.ConfigFileResponse.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@java.lang.Override
public Builder clear() {
super.clear();
if (codeBuilder_ == null) {
code_ = null;
} else {
code_ = null;
codeBuilder_ = null;
}
if (infoBuilder_ == null) {
info_ = null;
} else {
info_ = null;
infoBuilder_ = null;
}
if (configFileBuilder_ == null) {
configFile_ = null;
} else {
configFile_ = null;
configFileBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.tencent.polaris.client.pb.ConfigFileProto.internal_static_v1_ConfigFileResponse_descriptor;
}
@java.lang.Override
public com.tencent.polaris.client.pb.ConfigFileProto.ConfigFileResponse getDefaultInstanceForType() {
return com.tencent.polaris.client.pb.ConfigFileProto.ConfigFileResponse.getDefaultInstance();
}
@java.lang.Override
public com.tencent.polaris.client.pb.ConfigFileProto.ConfigFileResponse build() {
com.tencent.polaris.client.pb.ConfigFileProto.ConfigFileResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.tencent.polaris.client.pb.ConfigFileProto.ConfigFileResponse buildPartial() {
com.tencent.polaris.client.pb.ConfigFileProto.ConfigFileResponse result = new com.tencent.polaris.client.pb.ConfigFileProto.ConfigFileResponse(this);
if (codeBuilder_ == null) {
result.code_ = code_;
} else {
result.code_ = codeBuilder_.build();
}
if (infoBuilder_ == null) {
result.info_ = info_;
} else {
result.info_ = infoBuilder_.build();
}
if (configFileBuilder_ == null) {
result.configFile_ = configFile_;
} else {
result.configFile_ = configFileBuilder_.build();
}
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.tencent.polaris.client.pb.ConfigFileProto.ConfigFileResponse) {
return mergeFrom((com.tencent.polaris.client.pb.ConfigFileProto.ConfigFileResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.tencent.polaris.client.pb.ConfigFileProto.ConfigFileResponse other) {
if (other == com.tencent.polaris.client.pb.ConfigFileProto.ConfigFileResponse.getDefaultInstance()) return this;
if (other.hasCode()) {
mergeCode(other.getCode());
}
if (other.hasInfo()) {
mergeInfo(other.getInfo());
}
if (other.hasConfigFile()) {
mergeConfigFile(other.getConfigFile());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.tencent.polaris.client.pb.ConfigFileProto.ConfigFileResponse parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.tencent.polaris.client.pb.ConfigFileProto.ConfigFileResponse) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private com.google.protobuf.UInt32Value code_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.UInt32Value, com.google.protobuf.UInt32Value.Builder, com.google.protobuf.UInt32ValueOrBuilder> codeBuilder_;
/**
* .google.protobuf.UInt32Value code = 1;
* @return Whether the code field is set.
*/
public boolean hasCode() {
return codeBuilder_ != null || code_ != null;
}
/**
* .google.protobuf.UInt32Value code = 1;
* @return The code.
*/
public com.google.protobuf.UInt32Value getCode() {
if (codeBuilder_ == null) {
return code_ == null ? com.google.protobuf.UInt32Value.getDefaultInstance() : code_;
} else {
return codeBuilder_.getMessage();
}
}
/**
* .google.protobuf.UInt32Value code = 1;
*/
public Builder setCode(com.google.protobuf.UInt32Value value) {
if (codeBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
code_ = value;
onChanged();
} else {
codeBuilder_.setMessage(value);
}
return this;
}
/**
* .google.protobuf.UInt32Value code = 1;
*/
public Builder setCode(
com.google.protobuf.UInt32Value.Builder builderForValue) {
if (codeBuilder_ == null) {
code_ = builderForValue.build();
onChanged();
} else {
codeBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .google.protobuf.UInt32Value code = 1;
*/
public Builder mergeCode(com.google.protobuf.UInt32Value value) {
if (codeBuilder_ == null) {
if (code_ != null) {
code_ =
com.google.protobuf.UInt32Value.newBuilder(code_).mergeFrom(value).buildPartial();
} else {
code_ = value;
}
onChanged();
} else {
codeBuilder_.mergeFrom(value);
}
return this;
}
/**
* .google.protobuf.UInt32Value code = 1;
*/
public Builder clearCode() {
if (codeBuilder_ == null) {
code_ = null;
onChanged();
} else {
code_ = null;
codeBuilder_ = null;
}
return this;
}
/**
* .google.protobuf.UInt32Value code = 1;
*/
public com.google.protobuf.UInt32Value.Builder getCodeBuilder() {
onChanged();
return getCodeFieldBuilder().getBuilder();
}
/**
* .google.protobuf.UInt32Value code = 1;
*/
public com.google.protobuf.UInt32ValueOrBuilder getCodeOrBuilder() {
if (codeBuilder_ != null) {
return codeBuilder_.getMessageOrBuilder();
} else {
return code_ == null ?
com.google.protobuf.UInt32Value.getDefaultInstance() : code_;
}
}
/**
* .google.protobuf.UInt32Value code = 1;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.UInt32Value, com.google.protobuf.UInt32Value.Builder, com.google.protobuf.UInt32ValueOrBuilder>
getCodeFieldBuilder() {
if (codeBuilder_ == null) {
codeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.UInt32Value, com.google.protobuf.UInt32Value.Builder, com.google.protobuf.UInt32ValueOrBuilder>(
getCode(),
getParentForChildren(),
isClean());
code_ = null;
}
return codeBuilder_;
}
private com.google.protobuf.StringValue info_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder> infoBuilder_;
/**
* .google.protobuf.StringValue info = 2;
* @return Whether the info field is set.
*/
public boolean hasInfo() {
return infoBuilder_ != null || info_ != null;
}
/**
* .google.protobuf.StringValue info = 2;
* @return The info.
*/
public com.google.protobuf.StringValue getInfo() {
if (infoBuilder_ == null) {
return info_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : info_;
} else {
return infoBuilder_.getMessage();
}
}
/**
* .google.protobuf.StringValue info = 2;
*/
public Builder setInfo(com.google.protobuf.StringValue value) {
if (infoBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
info_ = value;
onChanged();
} else {
infoBuilder_.setMessage(value);
}
return this;
}
/**
* .google.protobuf.StringValue info = 2;
*/
public Builder setInfo(
com.google.protobuf.StringValue.Builder builderForValue) {
if (infoBuilder_ == null) {
info_ = builderForValue.build();
onChanged();
} else {
infoBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .google.protobuf.StringValue info = 2;
*/
public Builder mergeInfo(com.google.protobuf.StringValue value) {
if (infoBuilder_ == null) {
if (info_ != null) {
info_ =
com.google.protobuf.StringValue.newBuilder(info_).mergeFrom(value).buildPartial();
} else {
info_ = value;
}
onChanged();
} else {
infoBuilder_.mergeFrom(value);
}
return this;
}
/**
* .google.protobuf.StringValue info = 2;
*/
public Builder clearInfo() {
if (infoBuilder_ == null) {
info_ = null;
onChanged();
} else {
info_ = null;
infoBuilder_ = null;
}
return this;
}
/**
* .google.protobuf.StringValue info = 2;
*/
public com.google.protobuf.StringValue.Builder getInfoBuilder() {
onChanged();
return getInfoFieldBuilder().getBuilder();
}
/**
* .google.protobuf.StringValue info = 2;
*/
public com.google.protobuf.StringValueOrBuilder getInfoOrBuilder() {
if (infoBuilder_ != null) {
return infoBuilder_.getMessageOrBuilder();
} else {
return info_ == null ?
com.google.protobuf.StringValue.getDefaultInstance() : info_;
}
}
/**
* .google.protobuf.StringValue info = 2;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>
getInfoFieldBuilder() {
if (infoBuilder_ == null) {
infoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>(
getInfo(),
getParentForChildren(),
isClean());
info_ = null;
}
return infoBuilder_;
}
private com.tencent.polaris.client.pb.ConfigFileProto.ConfigFileDTO configFile_;
private com.google.protobuf.SingleFieldBuilderV3<
com.tencent.polaris.client.pb.ConfigFileProto.ConfigFileDTO, com.tencent.polaris.client.pb.ConfigFileProto.ConfigFileDTO.Builder, com.tencent.polaris.client.pb.ConfigFileProto.ConfigFileDTOOrBuilder> configFileBuilder_;
/**
* .v1.ConfigFileDTO configFile = 3;
* @return Whether the configFile field is set.
*/
public boolean hasConfigFile() {
return configFileBuilder_ != null || configFile_ != null;
}
/**
* .v1.ConfigFileDTO configFile = 3;
* @return The configFile.
*/
public com.tencent.polaris.client.pb.ConfigFileProto.ConfigFileDTO getConfigFile() {
if (configFileBuilder_ == null) {
return configFile_ == null ? com.tencent.polaris.client.pb.ConfigFileProto.ConfigFileDTO.getDefaultInstance() : configFile_;
} else {
return configFileBuilder_.getMessage();
}
}
/**
* .v1.ConfigFileDTO configFile = 3;
*/
public Builder setConfigFile(com.tencent.polaris.client.pb.ConfigFileProto.ConfigFileDTO value) {
if (configFileBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
configFile_ = value;
onChanged();
} else {
configFileBuilder_.setMessage(value);
}
return this;
}
/**
* .v1.ConfigFileDTO configFile = 3;
*/
public Builder setConfigFile(
com.tencent.polaris.client.pb.ConfigFileProto.ConfigFileDTO.Builder builderForValue) {
if (configFileBuilder_ == null) {
configFile_ = builderForValue.build();
onChanged();
} else {
configFileBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .v1.ConfigFileDTO configFile = 3;
*/
public Builder mergeConfigFile(com.tencent.polaris.client.pb.ConfigFileProto.ConfigFileDTO value) {
if (configFileBuilder_ == null) {
if (configFile_ != null) {
configFile_ =
com.tencent.polaris.client.pb.ConfigFileProto.ConfigFileDTO.newBuilder(configFile_).mergeFrom(value).buildPartial();
} else {
configFile_ = value;
}
onChanged();
} else {
configFileBuilder_.mergeFrom(value);
}
return this;
}
/**
* .v1.ConfigFileDTO configFile = 3;
*/
public Builder clearConfigFile() {
if (configFileBuilder_ == null) {
configFile_ = null;
onChanged();
} else {
configFile_ = null;
configFileBuilder_ = null;
}
return this;
}
/**
* .v1.ConfigFileDTO configFile = 3;
*/
public com.tencent.polaris.client.pb.ConfigFileProto.ConfigFileDTO.Builder getConfigFileBuilder() {
onChanged();
return getConfigFileFieldBuilder().getBuilder();
}
/**
* .v1.ConfigFileDTO configFile = 3;
*/
public com.tencent.polaris.client.pb.ConfigFileProto.ConfigFileDTOOrBuilder getConfigFileOrBuilder() {
if (configFileBuilder_ != null) {
return configFileBuilder_.getMessageOrBuilder();
} else {
return configFile_ == null ?
com.tencent.polaris.client.pb.ConfigFileProto.ConfigFileDTO.getDefaultInstance() : configFile_;
}
}
/**
* .v1.ConfigFileDTO configFile = 3;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.tencent.polaris.client.pb.ConfigFileProto.ConfigFileDTO, com.tencent.polaris.client.pb.ConfigFileProto.ConfigFileDTO.Builder, com.tencent.polaris.client.pb.ConfigFileProto.ConfigFileDTOOrBuilder>
getConfigFileFieldBuilder() {
if (configFileBuilder_ == null) {
configFileBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.tencent.polaris.client.pb.ConfigFileProto.ConfigFileDTO, com.tencent.polaris.client.pb.ConfigFileProto.ConfigFileDTO.Builder, com.tencent.polaris.client.pb.ConfigFileProto.ConfigFileDTOOrBuilder>(
getConfigFile(),
getParentForChildren(),
isClean());
configFile_ = null;
}
return configFileBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:v1.ConfigFileResponse)
}
// @@protoc_insertion_point(class_scope:v1.ConfigFileResponse)
private static final com.tencent.polaris.client.pb.ConfigFileProto.ConfigFileResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.tencent.polaris.client.pb.ConfigFileProto.ConfigFileResponse();
}
public static com.tencent.polaris.client.pb.ConfigFileProto.ConfigFileResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public ConfigFileResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new ConfigFileResponse(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public com.tencent.polaris.client.pb.ConfigFileProto.ConfigFileResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_v1_ConfigFileDTO_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_v1_ConfigFileDTO_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_v1_WatchConfigFileRequest_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_v1_WatchConfigFileRequest_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_v1_ConfigFileResponse_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_v1_ConfigFileResponse_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\020configfile.proto\022\002v1\032\036google/protobuf/" +
"wrappers.proto\"\247\002\n\rConfigFileDTO\022/\n\tname" +
"space\030\001 \001(\0132\034.google.protobuf.StringValu" +
"e\022+\n\005group\030\002 \001(\0132\034.google.protobuf.Strin" +
"gValue\022/\n\tfile_name\030\003 \001(\0132\034.google.proto" +
"buf.StringValue\022-\n\007content\030\004 \001(\0132\034.googl" +
"e.protobuf.StringValue\022-\n\007version\030\005 \001(\0132" +
"\034.google.protobuf.UInt64Value\022)\n\003md5\030\006 \001" +
"(\0132\034.google.protobuf.StringValue\"\245\001\n\026Wat" +
"chConfigFileRequest\022/\n\tclient_ip\030\001 \001(\0132\034" +
".google.protobuf.StringValue\0222\n\014service_" +
"name\030\002 \001(\0132\034.google.protobuf.StringValue" +
"\022&\n\013watch_files\030\003 \003(\0132\021.v1.ConfigFileDTO" +
"\"\223\001\n\022ConfigFileResponse\022*\n\004code\030\001 \001(\0132\034." +
"google.protobuf.UInt32Value\022*\n\004info\030\002 \001(" +
"\0132\034.google.protobuf.StringValue\022%\n\nconfi" +
"gFile\030\003 \001(\0132\021.v1.ConfigFileDTOB0\n\035com.te" +
"ncent.polaris.client.pbB\017ConfigFileProto" +
"b\006proto3"
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
com.google.protobuf.WrappersProto.getDescriptor(),
});
internal_static_v1_ConfigFileDTO_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_v1_ConfigFileDTO_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_v1_ConfigFileDTO_descriptor,
new java.lang.String[] { "Namespace", "Group", "FileName", "Content", "Version", "Md5", });
internal_static_v1_WatchConfigFileRequest_descriptor =
getDescriptor().getMessageTypes().get(1);
internal_static_v1_WatchConfigFileRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_v1_WatchConfigFileRequest_descriptor,
new java.lang.String[] { "ClientIp", "ServiceName", "WatchFiles", });
internal_static_v1_ConfigFileResponse_descriptor =
getDescriptor().getMessageTypes().get(2);
internal_static_v1_ConfigFileResponse_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_v1_ConfigFileResponse_descriptor,
new java.lang.String[] { "Code", "Info", "ConfigFile", });
com.google.protobuf.WrappersProto.getDescriptor();
}
// @@protoc_insertion_point(outer_class_scope)
}