com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto 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: config_file_response.proto
package com.tencent.polaris.specification.api.v1.config.manage;
public final class ConfigFileResponseProto {
private ConfigFileResponseProto() {}
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 ConfigSimpleResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:v1.ConfigSimpleResponse)
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();
}
/**
* Protobuf type {@code v1.ConfigSimpleResponse}
*/
public static final class ConfigSimpleResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:v1.ConfigSimpleResponse)
ConfigSimpleResponseOrBuilder {
private static final long serialVersionUID = 0L;
// Use ConfigSimpleResponse.newBuilder() to construct.
private ConfigSimpleResponse(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private ConfigSimpleResponse() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new ConfigSimpleResponse();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.internal_static_v1_ConfigSimpleResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.internal_static_v1_ConfigSimpleResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigSimpleResponse.class, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigSimpleResponse.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();
}
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());
}
getUnknownFields().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());
}
size += getUnknownFields().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.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigSimpleResponse)) {
return super.equals(obj);
}
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigSimpleResponse other = (com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigSimpleResponse) 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 (!getUnknownFields().equals(other.getUnknownFields())) 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();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigSimpleResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigSimpleResponse 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.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigSimpleResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigSimpleResponse 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.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigSimpleResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigSimpleResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigSimpleResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigSimpleResponse 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.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigSimpleResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigSimpleResponse 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.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigSimpleResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigSimpleResponse 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.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigSimpleResponse 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.ConfigSimpleResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:v1.ConfigSimpleResponse)
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigSimpleResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.internal_static_v1_ConfigSimpleResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.internal_static_v1_ConfigSimpleResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigSimpleResponse.class, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigSimpleResponse.Builder.class);
}
// Construct using com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigSimpleResponse.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@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;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.internal_static_v1_ConfigSimpleResponse_descriptor;
}
@java.lang.Override
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigSimpleResponse getDefaultInstanceForType() {
return com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigSimpleResponse.getDefaultInstance();
}
@java.lang.Override
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigSimpleResponse build() {
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigSimpleResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigSimpleResponse buildPartial() {
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigSimpleResponse result = new com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigSimpleResponse(this);
if (codeBuilder_ == null) {
result.code_ = code_;
} else {
result.code_ = codeBuilder_.build();
}
if (infoBuilder_ == null) {
result.info_ = info_;
} else {
result.info_ = infoBuilder_.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.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigSimpleResponse) {
return mergeFrom((com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigSimpleResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigSimpleResponse other) {
if (other == com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigSimpleResponse.getDefaultInstance()) return this;
if (other.hasCode()) {
mergeCode(other.getCode());
}
if (other.hasInfo()) {
mergeInfo(other.getInfo());
}
this.mergeUnknownFields(other.getUnknownFields());
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 {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
input.readMessage(
getCodeFieldBuilder().getBuilder(),
extensionRegistry);
break;
} // case 10
case 18: {
input.readMessage(
getInfoFieldBuilder().getBuilder(),
extensionRegistry);
break;
} // case 18
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
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_;
}
@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.ConfigSimpleResponse)
}
// @@protoc_insertion_point(class_scope:v1.ConfigSimpleResponse)
private static final com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigSimpleResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigSimpleResponse();
}
public static com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigSimpleResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public ConfigSimpleResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
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.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigSimpleResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface ConfigResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:v1.ConfigResponse)
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.ConfigFileGroup configFileGroup = 3;
* @return Whether the configFileGroup field is set.
*/
boolean hasConfigFileGroup();
/**
* .v1.ConfigFileGroup configFileGroup = 3;
* @return The configFileGroup.
*/
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileGroup getConfigFileGroup();
/**
* .v1.ConfigFileGroup configFileGroup = 3;
*/
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileGroupOrBuilder getConfigFileGroupOrBuilder();
/**
* .v1.ConfigFile configFile = 4;
* @return Whether the configFile field is set.
*/
boolean hasConfigFile();
/**
* .v1.ConfigFile configFile = 4;
* @return The configFile.
*/
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFile getConfigFile();
/**
* .v1.ConfigFile configFile = 4;
*/
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileOrBuilder getConfigFileOrBuilder();
/**
* .v1.ConfigFileRelease configFileRelease = 5;
* @return Whether the configFileRelease field is set.
*/
boolean hasConfigFileRelease();
/**
* .v1.ConfigFileRelease configFileRelease = 5;
* @return The configFileRelease.
*/
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileRelease getConfigFileRelease();
/**
* .v1.ConfigFileRelease configFileRelease = 5;
*/
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileReleaseOrBuilder getConfigFileReleaseOrBuilder();
/**
* .v1.ConfigFileReleaseHistory configFileReleaseHistory = 6;
* @return Whether the configFileReleaseHistory field is set.
*/
boolean hasConfigFileReleaseHistory();
/**
* .v1.ConfigFileReleaseHistory configFileReleaseHistory = 6;
* @return The configFileReleaseHistory.
*/
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileReleaseHistory getConfigFileReleaseHistory();
/**
* .v1.ConfigFileReleaseHistory configFileReleaseHistory = 6;
*/
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileReleaseHistoryOrBuilder getConfigFileReleaseHistoryOrBuilder();
/**
* .v1.ConfigFileTemplate configFileTemplate = 7;
* @return Whether the configFileTemplate field is set.
*/
boolean hasConfigFileTemplate();
/**
* .v1.ConfigFileTemplate configFileTemplate = 7;
* @return The configFileTemplate.
*/
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTemplate getConfigFileTemplate();
/**
* .v1.ConfigFileTemplate configFileTemplate = 7;
*/
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTemplateOrBuilder getConfigFileTemplateOrBuilder();
}
/**
* Protobuf type {@code v1.ConfigResponse}
*/
public static final class ConfigResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:v1.ConfigResponse)
ConfigResponseOrBuilder {
private static final long serialVersionUID = 0L;
// Use ConfigResponse.newBuilder() to construct.
private ConfigResponse(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private ConfigResponse() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new ConfigResponse();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.internal_static_v1_ConfigResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.internal_static_v1_ConfigResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigResponse.class, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigResponse.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 CONFIGFILEGROUP_FIELD_NUMBER = 3;
private com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileGroup configFileGroup_;
/**
* .v1.ConfigFileGroup configFileGroup = 3;
* @return Whether the configFileGroup field is set.
*/
@java.lang.Override
public boolean hasConfigFileGroup() {
return configFileGroup_ != null;
}
/**
* .v1.ConfigFileGroup configFileGroup = 3;
* @return The configFileGroup.
*/
@java.lang.Override
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileGroup getConfigFileGroup() {
return configFileGroup_ == null ? com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileGroup.getDefaultInstance() : configFileGroup_;
}
/**
* .v1.ConfigFileGroup configFileGroup = 3;
*/
@java.lang.Override
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileGroupOrBuilder getConfigFileGroupOrBuilder() {
return getConfigFileGroup();
}
public static final int CONFIGFILE_FIELD_NUMBER = 4;
private com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFile configFile_;
/**
* .v1.ConfigFile configFile = 4;
* @return Whether the configFile field is set.
*/
@java.lang.Override
public boolean hasConfigFile() {
return configFile_ != null;
}
/**
* .v1.ConfigFile configFile = 4;
* @return The configFile.
*/
@java.lang.Override
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFile getConfigFile() {
return configFile_ == null ? com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFile.getDefaultInstance() : configFile_;
}
/**
* .v1.ConfigFile configFile = 4;
*/
@java.lang.Override
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileOrBuilder getConfigFileOrBuilder() {
return getConfigFile();
}
public static final int CONFIGFILERELEASE_FIELD_NUMBER = 5;
private com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileRelease configFileRelease_;
/**
* .v1.ConfigFileRelease configFileRelease = 5;
* @return Whether the configFileRelease field is set.
*/
@java.lang.Override
public boolean hasConfigFileRelease() {
return configFileRelease_ != null;
}
/**
* .v1.ConfigFileRelease configFileRelease = 5;
* @return The configFileRelease.
*/
@java.lang.Override
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileRelease getConfigFileRelease() {
return configFileRelease_ == null ? com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileRelease.getDefaultInstance() : configFileRelease_;
}
/**
* .v1.ConfigFileRelease configFileRelease = 5;
*/
@java.lang.Override
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileReleaseOrBuilder getConfigFileReleaseOrBuilder() {
return getConfigFileRelease();
}
public static final int CONFIGFILERELEASEHISTORY_FIELD_NUMBER = 6;
private com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileReleaseHistory configFileReleaseHistory_;
/**
* .v1.ConfigFileReleaseHistory configFileReleaseHistory = 6;
* @return Whether the configFileReleaseHistory field is set.
*/
@java.lang.Override
public boolean hasConfigFileReleaseHistory() {
return configFileReleaseHistory_ != null;
}
/**
* .v1.ConfigFileReleaseHistory configFileReleaseHistory = 6;
* @return The configFileReleaseHistory.
*/
@java.lang.Override
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileReleaseHistory getConfigFileReleaseHistory() {
return configFileReleaseHistory_ == null ? com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileReleaseHistory.getDefaultInstance() : configFileReleaseHistory_;
}
/**
* .v1.ConfigFileReleaseHistory configFileReleaseHistory = 6;
*/
@java.lang.Override
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileReleaseHistoryOrBuilder getConfigFileReleaseHistoryOrBuilder() {
return getConfigFileReleaseHistory();
}
public static final int CONFIGFILETEMPLATE_FIELD_NUMBER = 7;
private com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTemplate configFileTemplate_;
/**
* .v1.ConfigFileTemplate configFileTemplate = 7;
* @return Whether the configFileTemplate field is set.
*/
@java.lang.Override
public boolean hasConfigFileTemplate() {
return configFileTemplate_ != null;
}
/**
* .v1.ConfigFileTemplate configFileTemplate = 7;
* @return The configFileTemplate.
*/
@java.lang.Override
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTemplate getConfigFileTemplate() {
return configFileTemplate_ == null ? com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTemplate.getDefaultInstance() : configFileTemplate_;
}
/**
* .v1.ConfigFileTemplate configFileTemplate = 7;
*/
@java.lang.Override
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTemplateOrBuilder getConfigFileTemplateOrBuilder() {
return getConfigFileTemplate();
}
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 (configFileGroup_ != null) {
output.writeMessage(3, getConfigFileGroup());
}
if (configFile_ != null) {
output.writeMessage(4, getConfigFile());
}
if (configFileRelease_ != null) {
output.writeMessage(5, getConfigFileRelease());
}
if (configFileReleaseHistory_ != null) {
output.writeMessage(6, getConfigFileReleaseHistory());
}
if (configFileTemplate_ != null) {
output.writeMessage(7, getConfigFileTemplate());
}
getUnknownFields().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 (configFileGroup_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, getConfigFileGroup());
}
if (configFile_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(4, getConfigFile());
}
if (configFileRelease_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(5, getConfigFileRelease());
}
if (configFileReleaseHistory_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(6, getConfigFileReleaseHistory());
}
if (configFileTemplate_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(7, getConfigFileTemplate());
}
size += getUnknownFields().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.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigResponse)) {
return super.equals(obj);
}
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigResponse other = (com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigResponse) 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 (hasConfigFileGroup() != other.hasConfigFileGroup()) return false;
if (hasConfigFileGroup()) {
if (!getConfigFileGroup()
.equals(other.getConfigFileGroup())) return false;
}
if (hasConfigFile() != other.hasConfigFile()) return false;
if (hasConfigFile()) {
if (!getConfigFile()
.equals(other.getConfigFile())) return false;
}
if (hasConfigFileRelease() != other.hasConfigFileRelease()) return false;
if (hasConfigFileRelease()) {
if (!getConfigFileRelease()
.equals(other.getConfigFileRelease())) return false;
}
if (hasConfigFileReleaseHistory() != other.hasConfigFileReleaseHistory()) return false;
if (hasConfigFileReleaseHistory()) {
if (!getConfigFileReleaseHistory()
.equals(other.getConfigFileReleaseHistory())) return false;
}
if (hasConfigFileTemplate() != other.hasConfigFileTemplate()) return false;
if (hasConfigFileTemplate()) {
if (!getConfigFileTemplate()
.equals(other.getConfigFileTemplate())) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) 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 (hasConfigFileGroup()) {
hash = (37 * hash) + CONFIGFILEGROUP_FIELD_NUMBER;
hash = (53 * hash) + getConfigFileGroup().hashCode();
}
if (hasConfigFile()) {
hash = (37 * hash) + CONFIGFILE_FIELD_NUMBER;
hash = (53 * hash) + getConfigFile().hashCode();
}
if (hasConfigFileRelease()) {
hash = (37 * hash) + CONFIGFILERELEASE_FIELD_NUMBER;
hash = (53 * hash) + getConfigFileRelease().hashCode();
}
if (hasConfigFileReleaseHistory()) {
hash = (37 * hash) + CONFIGFILERELEASEHISTORY_FIELD_NUMBER;
hash = (53 * hash) + getConfigFileReleaseHistory().hashCode();
}
if (hasConfigFileTemplate()) {
hash = (37 * hash) + CONFIGFILETEMPLATE_FIELD_NUMBER;
hash = (53 * hash) + getConfigFileTemplate().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigResponse 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.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigResponse 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.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigResponse 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.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigResponse 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.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigResponse 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.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigResponse 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.ConfigResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:v1.ConfigResponse)
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.internal_static_v1_ConfigResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.internal_static_v1_ConfigResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigResponse.class, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigResponse.Builder.class);
}
// Construct using com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigResponse.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@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 (configFileGroupBuilder_ == null) {
configFileGroup_ = null;
} else {
configFileGroup_ = null;
configFileGroupBuilder_ = null;
}
if (configFileBuilder_ == null) {
configFile_ = null;
} else {
configFile_ = null;
configFileBuilder_ = null;
}
if (configFileReleaseBuilder_ == null) {
configFileRelease_ = null;
} else {
configFileRelease_ = null;
configFileReleaseBuilder_ = null;
}
if (configFileReleaseHistoryBuilder_ == null) {
configFileReleaseHistory_ = null;
} else {
configFileReleaseHistory_ = null;
configFileReleaseHistoryBuilder_ = null;
}
if (configFileTemplateBuilder_ == null) {
configFileTemplate_ = null;
} else {
configFileTemplate_ = null;
configFileTemplateBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.internal_static_v1_ConfigResponse_descriptor;
}
@java.lang.Override
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigResponse getDefaultInstanceForType() {
return com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigResponse.getDefaultInstance();
}
@java.lang.Override
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigResponse build() {
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigResponse buildPartial() {
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigResponse result = new com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigResponse(this);
if (codeBuilder_ == null) {
result.code_ = code_;
} else {
result.code_ = codeBuilder_.build();
}
if (infoBuilder_ == null) {
result.info_ = info_;
} else {
result.info_ = infoBuilder_.build();
}
if (configFileGroupBuilder_ == null) {
result.configFileGroup_ = configFileGroup_;
} else {
result.configFileGroup_ = configFileGroupBuilder_.build();
}
if (configFileBuilder_ == null) {
result.configFile_ = configFile_;
} else {
result.configFile_ = configFileBuilder_.build();
}
if (configFileReleaseBuilder_ == null) {
result.configFileRelease_ = configFileRelease_;
} else {
result.configFileRelease_ = configFileReleaseBuilder_.build();
}
if (configFileReleaseHistoryBuilder_ == null) {
result.configFileReleaseHistory_ = configFileReleaseHistory_;
} else {
result.configFileReleaseHistory_ = configFileReleaseHistoryBuilder_.build();
}
if (configFileTemplateBuilder_ == null) {
result.configFileTemplate_ = configFileTemplate_;
} else {
result.configFileTemplate_ = configFileTemplateBuilder_.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.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigResponse) {
return mergeFrom((com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigResponse other) {
if (other == com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigResponse.getDefaultInstance()) return this;
if (other.hasCode()) {
mergeCode(other.getCode());
}
if (other.hasInfo()) {
mergeInfo(other.getInfo());
}
if (other.hasConfigFileGroup()) {
mergeConfigFileGroup(other.getConfigFileGroup());
}
if (other.hasConfigFile()) {
mergeConfigFile(other.getConfigFile());
}
if (other.hasConfigFileRelease()) {
mergeConfigFileRelease(other.getConfigFileRelease());
}
if (other.hasConfigFileReleaseHistory()) {
mergeConfigFileReleaseHistory(other.getConfigFileReleaseHistory());
}
if (other.hasConfigFileTemplate()) {
mergeConfigFileTemplate(other.getConfigFileTemplate());
}
this.mergeUnknownFields(other.getUnknownFields());
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 {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
input.readMessage(
getCodeFieldBuilder().getBuilder(),
extensionRegistry);
break;
} // case 10
case 18: {
input.readMessage(
getInfoFieldBuilder().getBuilder(),
extensionRegistry);
break;
} // case 18
case 26: {
input.readMessage(
getConfigFileGroupFieldBuilder().getBuilder(),
extensionRegistry);
break;
} // case 26
case 34: {
input.readMessage(
getConfigFileFieldBuilder().getBuilder(),
extensionRegistry);
break;
} // case 34
case 42: {
input.readMessage(
getConfigFileReleaseFieldBuilder().getBuilder(),
extensionRegistry);
break;
} // case 42
case 50: {
input.readMessage(
getConfigFileReleaseHistoryFieldBuilder().getBuilder(),
extensionRegistry);
break;
} // case 50
case 58: {
input.readMessage(
getConfigFileTemplateFieldBuilder().getBuilder(),
extensionRegistry);
break;
} // case 58
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
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.specification.api.v1.config.manage.ConfigFileProto.ConfigFileGroup configFileGroup_;
private com.google.protobuf.SingleFieldBuilderV3<
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileGroup, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileGroup.Builder, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileGroupOrBuilder> configFileGroupBuilder_;
/**
* .v1.ConfigFileGroup configFileGroup = 3;
* @return Whether the configFileGroup field is set.
*/
public boolean hasConfigFileGroup() {
return configFileGroupBuilder_ != null || configFileGroup_ != null;
}
/**
* .v1.ConfigFileGroup configFileGroup = 3;
* @return The configFileGroup.
*/
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileGroup getConfigFileGroup() {
if (configFileGroupBuilder_ == null) {
return configFileGroup_ == null ? com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileGroup.getDefaultInstance() : configFileGroup_;
} else {
return configFileGroupBuilder_.getMessage();
}
}
/**
* .v1.ConfigFileGroup configFileGroup = 3;
*/
public Builder setConfigFileGroup(com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileGroup value) {
if (configFileGroupBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
configFileGroup_ = value;
onChanged();
} else {
configFileGroupBuilder_.setMessage(value);
}
return this;
}
/**
* .v1.ConfigFileGroup configFileGroup = 3;
*/
public Builder setConfigFileGroup(
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileGroup.Builder builderForValue) {
if (configFileGroupBuilder_ == null) {
configFileGroup_ = builderForValue.build();
onChanged();
} else {
configFileGroupBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .v1.ConfigFileGroup configFileGroup = 3;
*/
public Builder mergeConfigFileGroup(com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileGroup value) {
if (configFileGroupBuilder_ == null) {
if (configFileGroup_ != null) {
configFileGroup_ =
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileGroup.newBuilder(configFileGroup_).mergeFrom(value).buildPartial();
} else {
configFileGroup_ = value;
}
onChanged();
} else {
configFileGroupBuilder_.mergeFrom(value);
}
return this;
}
/**
* .v1.ConfigFileGroup configFileGroup = 3;
*/
public Builder clearConfigFileGroup() {
if (configFileGroupBuilder_ == null) {
configFileGroup_ = null;
onChanged();
} else {
configFileGroup_ = null;
configFileGroupBuilder_ = null;
}
return this;
}
/**
* .v1.ConfigFileGroup configFileGroup = 3;
*/
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileGroup.Builder getConfigFileGroupBuilder() {
onChanged();
return getConfigFileGroupFieldBuilder().getBuilder();
}
/**
* .v1.ConfigFileGroup configFileGroup = 3;
*/
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileGroupOrBuilder getConfigFileGroupOrBuilder() {
if (configFileGroupBuilder_ != null) {
return configFileGroupBuilder_.getMessageOrBuilder();
} else {
return configFileGroup_ == null ?
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileGroup.getDefaultInstance() : configFileGroup_;
}
}
/**
* .v1.ConfigFileGroup configFileGroup = 3;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileGroup, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileGroup.Builder, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileGroupOrBuilder>
getConfigFileGroupFieldBuilder() {
if (configFileGroupBuilder_ == null) {
configFileGroupBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileGroup, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileGroup.Builder, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileGroupOrBuilder>(
getConfigFileGroup(),
getParentForChildren(),
isClean());
configFileGroup_ = null;
}
return configFileGroupBuilder_;
}
private com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFile configFile_;
private com.google.protobuf.SingleFieldBuilderV3<
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFile, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFile.Builder, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileOrBuilder> configFileBuilder_;
/**
* .v1.ConfigFile configFile = 4;
* @return Whether the configFile field is set.
*/
public boolean hasConfigFile() {
return configFileBuilder_ != null || configFile_ != null;
}
/**
* .v1.ConfigFile configFile = 4;
* @return The configFile.
*/
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFile getConfigFile() {
if (configFileBuilder_ == null) {
return configFile_ == null ? com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFile.getDefaultInstance() : configFile_;
} else {
return configFileBuilder_.getMessage();
}
}
/**
* .v1.ConfigFile configFile = 4;
*/
public Builder setConfigFile(com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFile value) {
if (configFileBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
configFile_ = value;
onChanged();
} else {
configFileBuilder_.setMessage(value);
}
return this;
}
/**
* .v1.ConfigFile configFile = 4;
*/
public Builder setConfigFile(
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFile.Builder builderForValue) {
if (configFileBuilder_ == null) {
configFile_ = builderForValue.build();
onChanged();
} else {
configFileBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .v1.ConfigFile configFile = 4;
*/
public Builder mergeConfigFile(com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFile value) {
if (configFileBuilder_ == null) {
if (configFile_ != null) {
configFile_ =
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFile.newBuilder(configFile_).mergeFrom(value).buildPartial();
} else {
configFile_ = value;
}
onChanged();
} else {
configFileBuilder_.mergeFrom(value);
}
return this;
}
/**
* .v1.ConfigFile configFile = 4;
*/
public Builder clearConfigFile() {
if (configFileBuilder_ == null) {
configFile_ = null;
onChanged();
} else {
configFile_ = null;
configFileBuilder_ = null;
}
return this;
}
/**
* .v1.ConfigFile configFile = 4;
*/
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFile.Builder getConfigFileBuilder() {
onChanged();
return getConfigFileFieldBuilder().getBuilder();
}
/**
* .v1.ConfigFile configFile = 4;
*/
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileOrBuilder getConfigFileOrBuilder() {
if (configFileBuilder_ != null) {
return configFileBuilder_.getMessageOrBuilder();
} else {
return configFile_ == null ?
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFile.getDefaultInstance() : configFile_;
}
}
/**
* .v1.ConfigFile configFile = 4;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFile, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFile.Builder, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileOrBuilder>
getConfigFileFieldBuilder() {
if (configFileBuilder_ == null) {
configFileBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFile, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFile.Builder, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileOrBuilder>(
getConfigFile(),
getParentForChildren(),
isClean());
configFile_ = null;
}
return configFileBuilder_;
}
private com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileRelease configFileRelease_;
private com.google.protobuf.SingleFieldBuilderV3<
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileRelease, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileRelease.Builder, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileReleaseOrBuilder> configFileReleaseBuilder_;
/**
* .v1.ConfigFileRelease configFileRelease = 5;
* @return Whether the configFileRelease field is set.
*/
public boolean hasConfigFileRelease() {
return configFileReleaseBuilder_ != null || configFileRelease_ != null;
}
/**
* .v1.ConfigFileRelease configFileRelease = 5;
* @return The configFileRelease.
*/
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileRelease getConfigFileRelease() {
if (configFileReleaseBuilder_ == null) {
return configFileRelease_ == null ? com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileRelease.getDefaultInstance() : configFileRelease_;
} else {
return configFileReleaseBuilder_.getMessage();
}
}
/**
* .v1.ConfigFileRelease configFileRelease = 5;
*/
public Builder setConfigFileRelease(com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileRelease value) {
if (configFileReleaseBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
configFileRelease_ = value;
onChanged();
} else {
configFileReleaseBuilder_.setMessage(value);
}
return this;
}
/**
* .v1.ConfigFileRelease configFileRelease = 5;
*/
public Builder setConfigFileRelease(
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileRelease.Builder builderForValue) {
if (configFileReleaseBuilder_ == null) {
configFileRelease_ = builderForValue.build();
onChanged();
} else {
configFileReleaseBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .v1.ConfigFileRelease configFileRelease = 5;
*/
public Builder mergeConfigFileRelease(com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileRelease value) {
if (configFileReleaseBuilder_ == null) {
if (configFileRelease_ != null) {
configFileRelease_ =
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileRelease.newBuilder(configFileRelease_).mergeFrom(value).buildPartial();
} else {
configFileRelease_ = value;
}
onChanged();
} else {
configFileReleaseBuilder_.mergeFrom(value);
}
return this;
}
/**
* .v1.ConfigFileRelease configFileRelease = 5;
*/
public Builder clearConfigFileRelease() {
if (configFileReleaseBuilder_ == null) {
configFileRelease_ = null;
onChanged();
} else {
configFileRelease_ = null;
configFileReleaseBuilder_ = null;
}
return this;
}
/**
* .v1.ConfigFileRelease configFileRelease = 5;
*/
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileRelease.Builder getConfigFileReleaseBuilder() {
onChanged();
return getConfigFileReleaseFieldBuilder().getBuilder();
}
/**
* .v1.ConfigFileRelease configFileRelease = 5;
*/
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileReleaseOrBuilder getConfigFileReleaseOrBuilder() {
if (configFileReleaseBuilder_ != null) {
return configFileReleaseBuilder_.getMessageOrBuilder();
} else {
return configFileRelease_ == null ?
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileRelease.getDefaultInstance() : configFileRelease_;
}
}
/**
* .v1.ConfigFileRelease configFileRelease = 5;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileRelease, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileRelease.Builder, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileReleaseOrBuilder>
getConfigFileReleaseFieldBuilder() {
if (configFileReleaseBuilder_ == null) {
configFileReleaseBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileRelease, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileRelease.Builder, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileReleaseOrBuilder>(
getConfigFileRelease(),
getParentForChildren(),
isClean());
configFileRelease_ = null;
}
return configFileReleaseBuilder_;
}
private com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileReleaseHistory configFileReleaseHistory_;
private com.google.protobuf.SingleFieldBuilderV3<
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileReleaseHistory, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileReleaseHistory.Builder, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileReleaseHistoryOrBuilder> configFileReleaseHistoryBuilder_;
/**
* .v1.ConfigFileReleaseHistory configFileReleaseHistory = 6;
* @return Whether the configFileReleaseHistory field is set.
*/
public boolean hasConfigFileReleaseHistory() {
return configFileReleaseHistoryBuilder_ != null || configFileReleaseHistory_ != null;
}
/**
* .v1.ConfigFileReleaseHistory configFileReleaseHistory = 6;
* @return The configFileReleaseHistory.
*/
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileReleaseHistory getConfigFileReleaseHistory() {
if (configFileReleaseHistoryBuilder_ == null) {
return configFileReleaseHistory_ == null ? com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileReleaseHistory.getDefaultInstance() : configFileReleaseHistory_;
} else {
return configFileReleaseHistoryBuilder_.getMessage();
}
}
/**
* .v1.ConfigFileReleaseHistory configFileReleaseHistory = 6;
*/
public Builder setConfigFileReleaseHistory(com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileReleaseHistory value) {
if (configFileReleaseHistoryBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
configFileReleaseHistory_ = value;
onChanged();
} else {
configFileReleaseHistoryBuilder_.setMessage(value);
}
return this;
}
/**
* .v1.ConfigFileReleaseHistory configFileReleaseHistory = 6;
*/
public Builder setConfigFileReleaseHistory(
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileReleaseHistory.Builder builderForValue) {
if (configFileReleaseHistoryBuilder_ == null) {
configFileReleaseHistory_ = builderForValue.build();
onChanged();
} else {
configFileReleaseHistoryBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .v1.ConfigFileReleaseHistory configFileReleaseHistory = 6;
*/
public Builder mergeConfigFileReleaseHistory(com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileReleaseHistory value) {
if (configFileReleaseHistoryBuilder_ == null) {
if (configFileReleaseHistory_ != null) {
configFileReleaseHistory_ =
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileReleaseHistory.newBuilder(configFileReleaseHistory_).mergeFrom(value).buildPartial();
} else {
configFileReleaseHistory_ = value;
}
onChanged();
} else {
configFileReleaseHistoryBuilder_.mergeFrom(value);
}
return this;
}
/**
* .v1.ConfigFileReleaseHistory configFileReleaseHistory = 6;
*/
public Builder clearConfigFileReleaseHistory() {
if (configFileReleaseHistoryBuilder_ == null) {
configFileReleaseHistory_ = null;
onChanged();
} else {
configFileReleaseHistory_ = null;
configFileReleaseHistoryBuilder_ = null;
}
return this;
}
/**
* .v1.ConfigFileReleaseHistory configFileReleaseHistory = 6;
*/
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileReleaseHistory.Builder getConfigFileReleaseHistoryBuilder() {
onChanged();
return getConfigFileReleaseHistoryFieldBuilder().getBuilder();
}
/**
* .v1.ConfigFileReleaseHistory configFileReleaseHistory = 6;
*/
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileReleaseHistoryOrBuilder getConfigFileReleaseHistoryOrBuilder() {
if (configFileReleaseHistoryBuilder_ != null) {
return configFileReleaseHistoryBuilder_.getMessageOrBuilder();
} else {
return configFileReleaseHistory_ == null ?
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileReleaseHistory.getDefaultInstance() : configFileReleaseHistory_;
}
}
/**
* .v1.ConfigFileReleaseHistory configFileReleaseHistory = 6;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileReleaseHistory, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileReleaseHistory.Builder, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileReleaseHistoryOrBuilder>
getConfigFileReleaseHistoryFieldBuilder() {
if (configFileReleaseHistoryBuilder_ == null) {
configFileReleaseHistoryBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileReleaseHistory, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileReleaseHistory.Builder, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileReleaseHistoryOrBuilder>(
getConfigFileReleaseHistory(),
getParentForChildren(),
isClean());
configFileReleaseHistory_ = null;
}
return configFileReleaseHistoryBuilder_;
}
private com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTemplate configFileTemplate_;
private com.google.protobuf.SingleFieldBuilderV3<
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTemplate, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTemplate.Builder, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTemplateOrBuilder> configFileTemplateBuilder_;
/**
* .v1.ConfigFileTemplate configFileTemplate = 7;
* @return Whether the configFileTemplate field is set.
*/
public boolean hasConfigFileTemplate() {
return configFileTemplateBuilder_ != null || configFileTemplate_ != null;
}
/**
* .v1.ConfigFileTemplate configFileTemplate = 7;
* @return The configFileTemplate.
*/
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTemplate getConfigFileTemplate() {
if (configFileTemplateBuilder_ == null) {
return configFileTemplate_ == null ? com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTemplate.getDefaultInstance() : configFileTemplate_;
} else {
return configFileTemplateBuilder_.getMessage();
}
}
/**
* .v1.ConfigFileTemplate configFileTemplate = 7;
*/
public Builder setConfigFileTemplate(com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTemplate value) {
if (configFileTemplateBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
configFileTemplate_ = value;
onChanged();
} else {
configFileTemplateBuilder_.setMessage(value);
}
return this;
}
/**
* .v1.ConfigFileTemplate configFileTemplate = 7;
*/
public Builder setConfigFileTemplate(
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTemplate.Builder builderForValue) {
if (configFileTemplateBuilder_ == null) {
configFileTemplate_ = builderForValue.build();
onChanged();
} else {
configFileTemplateBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .v1.ConfigFileTemplate configFileTemplate = 7;
*/
public Builder mergeConfigFileTemplate(com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTemplate value) {
if (configFileTemplateBuilder_ == null) {
if (configFileTemplate_ != null) {
configFileTemplate_ =
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTemplate.newBuilder(configFileTemplate_).mergeFrom(value).buildPartial();
} else {
configFileTemplate_ = value;
}
onChanged();
} else {
configFileTemplateBuilder_.mergeFrom(value);
}
return this;
}
/**
* .v1.ConfigFileTemplate configFileTemplate = 7;
*/
public Builder clearConfigFileTemplate() {
if (configFileTemplateBuilder_ == null) {
configFileTemplate_ = null;
onChanged();
} else {
configFileTemplate_ = null;
configFileTemplateBuilder_ = null;
}
return this;
}
/**
* .v1.ConfigFileTemplate configFileTemplate = 7;
*/
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTemplate.Builder getConfigFileTemplateBuilder() {
onChanged();
return getConfigFileTemplateFieldBuilder().getBuilder();
}
/**
* .v1.ConfigFileTemplate configFileTemplate = 7;
*/
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTemplateOrBuilder getConfigFileTemplateOrBuilder() {
if (configFileTemplateBuilder_ != null) {
return configFileTemplateBuilder_.getMessageOrBuilder();
} else {
return configFileTemplate_ == null ?
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTemplate.getDefaultInstance() : configFileTemplate_;
}
}
/**
* .v1.ConfigFileTemplate configFileTemplate = 7;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTemplate, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTemplate.Builder, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTemplateOrBuilder>
getConfigFileTemplateFieldBuilder() {
if (configFileTemplateBuilder_ == null) {
configFileTemplateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTemplate, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTemplate.Builder, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTemplateOrBuilder>(
getConfigFileTemplate(),
getParentForChildren(),
isClean());
configFileTemplate_ = null;
}
return configFileTemplateBuilder_;
}
@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.ConfigResponse)
}
// @@protoc_insertion_point(class_scope:v1.ConfigResponse)
private static final com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigResponse();
}
public static com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public ConfigResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
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.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface ConfigBatchWriteResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:v1.ConfigBatchWriteResponse)
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();
/**
* .google.protobuf.UInt32Value total = 3;
* @return Whether the total field is set.
*/
boolean hasTotal();
/**
* .google.protobuf.UInt32Value total = 3;
* @return The total.
*/
com.google.protobuf.UInt32Value getTotal();
/**
* .google.protobuf.UInt32Value total = 3;
*/
com.google.protobuf.UInt32ValueOrBuilder getTotalOrBuilder();
/**
* repeated .v1.ConfigResponse responses = 4;
*/
java.util.List
getResponsesList();
/**
* repeated .v1.ConfigResponse responses = 4;
*/
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigResponse getResponses(int index);
/**
* repeated .v1.ConfigResponse responses = 4;
*/
int getResponsesCount();
/**
* repeated .v1.ConfigResponse responses = 4;
*/
java.util.List extends com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigResponseOrBuilder>
getResponsesOrBuilderList();
/**
* repeated .v1.ConfigResponse responses = 4;
*/
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigResponseOrBuilder getResponsesOrBuilder(
int index);
}
/**
* Protobuf type {@code v1.ConfigBatchWriteResponse}
*/
public static final class ConfigBatchWriteResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:v1.ConfigBatchWriteResponse)
ConfigBatchWriteResponseOrBuilder {
private static final long serialVersionUID = 0L;
// Use ConfigBatchWriteResponse.newBuilder() to construct.
private ConfigBatchWriteResponse(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private ConfigBatchWriteResponse() {
responses_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new ConfigBatchWriteResponse();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.internal_static_v1_ConfigBatchWriteResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.internal_static_v1_ConfigBatchWriteResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigBatchWriteResponse.class, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigBatchWriteResponse.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 TOTAL_FIELD_NUMBER = 3;
private com.google.protobuf.UInt32Value total_;
/**
* .google.protobuf.UInt32Value total = 3;
* @return Whether the total field is set.
*/
@java.lang.Override
public boolean hasTotal() {
return total_ != null;
}
/**
* .google.protobuf.UInt32Value total = 3;
* @return The total.
*/
@java.lang.Override
public com.google.protobuf.UInt32Value getTotal() {
return total_ == null ? com.google.protobuf.UInt32Value.getDefaultInstance() : total_;
}
/**
* .google.protobuf.UInt32Value total = 3;
*/
@java.lang.Override
public com.google.protobuf.UInt32ValueOrBuilder getTotalOrBuilder() {
return getTotal();
}
public static final int RESPONSES_FIELD_NUMBER = 4;
private java.util.List responses_;
/**
* repeated .v1.ConfigResponse responses = 4;
*/
@java.lang.Override
public java.util.List getResponsesList() {
return responses_;
}
/**
* repeated .v1.ConfigResponse responses = 4;
*/
@java.lang.Override
public java.util.List extends com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigResponseOrBuilder>
getResponsesOrBuilderList() {
return responses_;
}
/**
* repeated .v1.ConfigResponse responses = 4;
*/
@java.lang.Override
public int getResponsesCount() {
return responses_.size();
}
/**
* repeated .v1.ConfigResponse responses = 4;
*/
@java.lang.Override
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigResponse getResponses(int index) {
return responses_.get(index);
}
/**
* repeated .v1.ConfigResponse responses = 4;
*/
@java.lang.Override
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigResponseOrBuilder getResponsesOrBuilder(
int index) {
return responses_.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 (code_ != null) {
output.writeMessage(1, getCode());
}
if (info_ != null) {
output.writeMessage(2, getInfo());
}
if (total_ != null) {
output.writeMessage(3, getTotal());
}
for (int i = 0; i < responses_.size(); i++) {
output.writeMessage(4, responses_.get(i));
}
getUnknownFields().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 (total_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, getTotal());
}
for (int i = 0; i < responses_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(4, responses_.get(i));
}
size += getUnknownFields().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.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigBatchWriteResponse)) {
return super.equals(obj);
}
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigBatchWriteResponse other = (com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigBatchWriteResponse) 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 (hasTotal() != other.hasTotal()) return false;
if (hasTotal()) {
if (!getTotal()
.equals(other.getTotal())) return false;
}
if (!getResponsesList()
.equals(other.getResponsesList())) return false;
if (!getUnknownFields().equals(other.getUnknownFields())) 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 (hasTotal()) {
hash = (37 * hash) + TOTAL_FIELD_NUMBER;
hash = (53 * hash) + getTotal().hashCode();
}
if (getResponsesCount() > 0) {
hash = (37 * hash) + RESPONSES_FIELD_NUMBER;
hash = (53 * hash) + getResponsesList().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigBatchWriteResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigBatchWriteResponse 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.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigBatchWriteResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigBatchWriteResponse 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.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigBatchWriteResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigBatchWriteResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigBatchWriteResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigBatchWriteResponse 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.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigBatchWriteResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigBatchWriteResponse 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.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigBatchWriteResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigBatchWriteResponse 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.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigBatchWriteResponse 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.ConfigBatchWriteResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:v1.ConfigBatchWriteResponse)
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigBatchWriteResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.internal_static_v1_ConfigBatchWriteResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.internal_static_v1_ConfigBatchWriteResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigBatchWriteResponse.class, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigBatchWriteResponse.Builder.class);
}
// Construct using com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigBatchWriteResponse.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@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 (totalBuilder_ == null) {
total_ = null;
} else {
total_ = null;
totalBuilder_ = null;
}
if (responsesBuilder_ == null) {
responses_ = java.util.Collections.emptyList();
} else {
responses_ = null;
responsesBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000001);
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.internal_static_v1_ConfigBatchWriteResponse_descriptor;
}
@java.lang.Override
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigBatchWriteResponse getDefaultInstanceForType() {
return com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigBatchWriteResponse.getDefaultInstance();
}
@java.lang.Override
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigBatchWriteResponse build() {
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigBatchWriteResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigBatchWriteResponse buildPartial() {
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigBatchWriteResponse result = new com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigBatchWriteResponse(this);
int from_bitField0_ = bitField0_;
if (codeBuilder_ == null) {
result.code_ = code_;
} else {
result.code_ = codeBuilder_.build();
}
if (infoBuilder_ == null) {
result.info_ = info_;
} else {
result.info_ = infoBuilder_.build();
}
if (totalBuilder_ == null) {
result.total_ = total_;
} else {
result.total_ = totalBuilder_.build();
}
if (responsesBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
responses_ = java.util.Collections.unmodifiableList(responses_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.responses_ = responses_;
} else {
result.responses_ = responsesBuilder_.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.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigBatchWriteResponse) {
return mergeFrom((com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigBatchWriteResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigBatchWriteResponse other) {
if (other == com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigBatchWriteResponse.getDefaultInstance()) return this;
if (other.hasCode()) {
mergeCode(other.getCode());
}
if (other.hasInfo()) {
mergeInfo(other.getInfo());
}
if (other.hasTotal()) {
mergeTotal(other.getTotal());
}
if (responsesBuilder_ == null) {
if (!other.responses_.isEmpty()) {
if (responses_.isEmpty()) {
responses_ = other.responses_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureResponsesIsMutable();
responses_.addAll(other.responses_);
}
onChanged();
}
} else {
if (!other.responses_.isEmpty()) {
if (responsesBuilder_.isEmpty()) {
responsesBuilder_.dispose();
responsesBuilder_ = null;
responses_ = other.responses_;
bitField0_ = (bitField0_ & ~0x00000001);
responsesBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getResponsesFieldBuilder() : null;
} else {
responsesBuilder_.addAllMessages(other.responses_);
}
}
}
this.mergeUnknownFields(other.getUnknownFields());
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 {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
input.readMessage(
getCodeFieldBuilder().getBuilder(),
extensionRegistry);
break;
} // case 10
case 18: {
input.readMessage(
getInfoFieldBuilder().getBuilder(),
extensionRegistry);
break;
} // case 18
case 26: {
input.readMessage(
getTotalFieldBuilder().getBuilder(),
extensionRegistry);
break;
} // case 26
case 34: {
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigResponse m =
input.readMessage(
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigResponse.parser(),
extensionRegistry);
if (responsesBuilder_ == null) {
ensureResponsesIsMutable();
responses_.add(m);
} else {
responsesBuilder_.addMessage(m);
}
break;
} // case 34
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
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.google.protobuf.UInt32Value total_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.UInt32Value, com.google.protobuf.UInt32Value.Builder, com.google.protobuf.UInt32ValueOrBuilder> totalBuilder_;
/**
* .google.protobuf.UInt32Value total = 3;
* @return Whether the total field is set.
*/
public boolean hasTotal() {
return totalBuilder_ != null || total_ != null;
}
/**
* .google.protobuf.UInt32Value total = 3;
* @return The total.
*/
public com.google.protobuf.UInt32Value getTotal() {
if (totalBuilder_ == null) {
return total_ == null ? com.google.protobuf.UInt32Value.getDefaultInstance() : total_;
} else {
return totalBuilder_.getMessage();
}
}
/**
* .google.protobuf.UInt32Value total = 3;
*/
public Builder setTotal(com.google.protobuf.UInt32Value value) {
if (totalBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
total_ = value;
onChanged();
} else {
totalBuilder_.setMessage(value);
}
return this;
}
/**
* .google.protobuf.UInt32Value total = 3;
*/
public Builder setTotal(
com.google.protobuf.UInt32Value.Builder builderForValue) {
if (totalBuilder_ == null) {
total_ = builderForValue.build();
onChanged();
} else {
totalBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .google.protobuf.UInt32Value total = 3;
*/
public Builder mergeTotal(com.google.protobuf.UInt32Value value) {
if (totalBuilder_ == null) {
if (total_ != null) {
total_ =
com.google.protobuf.UInt32Value.newBuilder(total_).mergeFrom(value).buildPartial();
} else {
total_ = value;
}
onChanged();
} else {
totalBuilder_.mergeFrom(value);
}
return this;
}
/**
* .google.protobuf.UInt32Value total = 3;
*/
public Builder clearTotal() {
if (totalBuilder_ == null) {
total_ = null;
onChanged();
} else {
total_ = null;
totalBuilder_ = null;
}
return this;
}
/**
* .google.protobuf.UInt32Value total = 3;
*/
public com.google.protobuf.UInt32Value.Builder getTotalBuilder() {
onChanged();
return getTotalFieldBuilder().getBuilder();
}
/**
* .google.protobuf.UInt32Value total = 3;
*/
public com.google.protobuf.UInt32ValueOrBuilder getTotalOrBuilder() {
if (totalBuilder_ != null) {
return totalBuilder_.getMessageOrBuilder();
} else {
return total_ == null ?
com.google.protobuf.UInt32Value.getDefaultInstance() : total_;
}
}
/**
* .google.protobuf.UInt32Value total = 3;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.UInt32Value, com.google.protobuf.UInt32Value.Builder, com.google.protobuf.UInt32ValueOrBuilder>
getTotalFieldBuilder() {
if (totalBuilder_ == null) {
totalBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.UInt32Value, com.google.protobuf.UInt32Value.Builder, com.google.protobuf.UInt32ValueOrBuilder>(
getTotal(),
getParentForChildren(),
isClean());
total_ = null;
}
return totalBuilder_;
}
private java.util.List responses_ =
java.util.Collections.emptyList();
private void ensureResponsesIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
responses_ = new java.util.ArrayList(responses_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigResponse, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigResponse.Builder, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigResponseOrBuilder> responsesBuilder_;
/**
* repeated .v1.ConfigResponse responses = 4;
*/
public java.util.List getResponsesList() {
if (responsesBuilder_ == null) {
return java.util.Collections.unmodifiableList(responses_);
} else {
return responsesBuilder_.getMessageList();
}
}
/**
* repeated .v1.ConfigResponse responses = 4;
*/
public int getResponsesCount() {
if (responsesBuilder_ == null) {
return responses_.size();
} else {
return responsesBuilder_.getCount();
}
}
/**
* repeated .v1.ConfigResponse responses = 4;
*/
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigResponse getResponses(int index) {
if (responsesBuilder_ == null) {
return responses_.get(index);
} else {
return responsesBuilder_.getMessage(index);
}
}
/**
* repeated .v1.ConfigResponse responses = 4;
*/
public Builder setResponses(
int index, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigResponse value) {
if (responsesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureResponsesIsMutable();
responses_.set(index, value);
onChanged();
} else {
responsesBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .v1.ConfigResponse responses = 4;
*/
public Builder setResponses(
int index, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigResponse.Builder builderForValue) {
if (responsesBuilder_ == null) {
ensureResponsesIsMutable();
responses_.set(index, builderForValue.build());
onChanged();
} else {
responsesBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .v1.ConfigResponse responses = 4;
*/
public Builder addResponses(com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigResponse value) {
if (responsesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureResponsesIsMutable();
responses_.add(value);
onChanged();
} else {
responsesBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .v1.ConfigResponse responses = 4;
*/
public Builder addResponses(
int index, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigResponse value) {
if (responsesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureResponsesIsMutable();
responses_.add(index, value);
onChanged();
} else {
responsesBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .v1.ConfigResponse responses = 4;
*/
public Builder addResponses(
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigResponse.Builder builderForValue) {
if (responsesBuilder_ == null) {
ensureResponsesIsMutable();
responses_.add(builderForValue.build());
onChanged();
} else {
responsesBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .v1.ConfigResponse responses = 4;
*/
public Builder addResponses(
int index, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigResponse.Builder builderForValue) {
if (responsesBuilder_ == null) {
ensureResponsesIsMutable();
responses_.add(index, builderForValue.build());
onChanged();
} else {
responsesBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .v1.ConfigResponse responses = 4;
*/
public Builder addAllResponses(
java.lang.Iterable extends com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigResponse> values) {
if (responsesBuilder_ == null) {
ensureResponsesIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, responses_);
onChanged();
} else {
responsesBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .v1.ConfigResponse responses = 4;
*/
public Builder clearResponses() {
if (responsesBuilder_ == null) {
responses_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
responsesBuilder_.clear();
}
return this;
}
/**
* repeated .v1.ConfigResponse responses = 4;
*/
public Builder removeResponses(int index) {
if (responsesBuilder_ == null) {
ensureResponsesIsMutable();
responses_.remove(index);
onChanged();
} else {
responsesBuilder_.remove(index);
}
return this;
}
/**
* repeated .v1.ConfigResponse responses = 4;
*/
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigResponse.Builder getResponsesBuilder(
int index) {
return getResponsesFieldBuilder().getBuilder(index);
}
/**
* repeated .v1.ConfigResponse responses = 4;
*/
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigResponseOrBuilder getResponsesOrBuilder(
int index) {
if (responsesBuilder_ == null) {
return responses_.get(index); } else {
return responsesBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .v1.ConfigResponse responses = 4;
*/
public java.util.List extends com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigResponseOrBuilder>
getResponsesOrBuilderList() {
if (responsesBuilder_ != null) {
return responsesBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(responses_);
}
}
/**
* repeated .v1.ConfigResponse responses = 4;
*/
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigResponse.Builder addResponsesBuilder() {
return getResponsesFieldBuilder().addBuilder(
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigResponse.getDefaultInstance());
}
/**
* repeated .v1.ConfigResponse responses = 4;
*/
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigResponse.Builder addResponsesBuilder(
int index) {
return getResponsesFieldBuilder().addBuilder(
index, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigResponse.getDefaultInstance());
}
/**
* repeated .v1.ConfigResponse responses = 4;
*/
public java.util.List
getResponsesBuilderList() {
return getResponsesFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigResponse, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigResponse.Builder, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigResponseOrBuilder>
getResponsesFieldBuilder() {
if (responsesBuilder_ == null) {
responsesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigResponse, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigResponse.Builder, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigResponseOrBuilder>(
responses_,
((bitField0_ & 0x00000001) != 0),
getParentForChildren(),
isClean());
responses_ = null;
}
return responsesBuilder_;
}
@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.ConfigBatchWriteResponse)
}
// @@protoc_insertion_point(class_scope:v1.ConfigBatchWriteResponse)
private static final com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigBatchWriteResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigBatchWriteResponse();
}
public static com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigBatchWriteResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public ConfigBatchWriteResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
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.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigBatchWriteResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface ConfigBatchQueryResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:v1.ConfigBatchQueryResponse)
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();
/**
* .google.protobuf.UInt32Value total = 3;
* @return Whether the total field is set.
*/
boolean hasTotal();
/**
* .google.protobuf.UInt32Value total = 3;
* @return The total.
*/
com.google.protobuf.UInt32Value getTotal();
/**
* .google.protobuf.UInt32Value total = 3;
*/
com.google.protobuf.UInt32ValueOrBuilder getTotalOrBuilder();
/**
* repeated .v1.ConfigFileGroup configFileGroups = 4;
*/
java.util.List
getConfigFileGroupsList();
/**
* repeated .v1.ConfigFileGroup configFileGroups = 4;
*/
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileGroup getConfigFileGroups(int index);
/**
* repeated .v1.ConfigFileGroup configFileGroups = 4;
*/
int getConfigFileGroupsCount();
/**
* repeated .v1.ConfigFileGroup configFileGroups = 4;
*/
java.util.List extends com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileGroupOrBuilder>
getConfigFileGroupsOrBuilderList();
/**
* repeated .v1.ConfigFileGroup configFileGroups = 4;
*/
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileGroupOrBuilder getConfigFileGroupsOrBuilder(
int index);
/**
* repeated .v1.ConfigFile configFiles = 5;
*/
java.util.List
getConfigFilesList();
/**
* repeated .v1.ConfigFile configFiles = 5;
*/
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFile getConfigFiles(int index);
/**
* repeated .v1.ConfigFile configFiles = 5;
*/
int getConfigFilesCount();
/**
* repeated .v1.ConfigFile configFiles = 5;
*/
java.util.List extends com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileOrBuilder>
getConfigFilesOrBuilderList();
/**
* repeated .v1.ConfigFile configFiles = 5;
*/
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileOrBuilder getConfigFilesOrBuilder(
int index);
/**
* repeated .v1.ConfigFileRelease configFileReleases = 6;
*/
java.util.List
getConfigFileReleasesList();
/**
* repeated .v1.ConfigFileRelease configFileReleases = 6;
*/
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileRelease getConfigFileReleases(int index);
/**
* repeated .v1.ConfigFileRelease configFileReleases = 6;
*/
int getConfigFileReleasesCount();
/**
* repeated .v1.ConfigFileRelease configFileReleases = 6;
*/
java.util.List extends com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileReleaseOrBuilder>
getConfigFileReleasesOrBuilderList();
/**
* repeated .v1.ConfigFileRelease configFileReleases = 6;
*/
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileReleaseOrBuilder getConfigFileReleasesOrBuilder(
int index);
/**
* repeated .v1.ConfigFileReleaseHistory configFileReleaseHistories = 7;
*/
java.util.List
getConfigFileReleaseHistoriesList();
/**
* repeated .v1.ConfigFileReleaseHistory configFileReleaseHistories = 7;
*/
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileReleaseHistory getConfigFileReleaseHistories(int index);
/**
* repeated .v1.ConfigFileReleaseHistory configFileReleaseHistories = 7;
*/
int getConfigFileReleaseHistoriesCount();
/**
* repeated .v1.ConfigFileReleaseHistory configFileReleaseHistories = 7;
*/
java.util.List extends com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileReleaseHistoryOrBuilder>
getConfigFileReleaseHistoriesOrBuilderList();
/**
* repeated .v1.ConfigFileReleaseHistory configFileReleaseHistories = 7;
*/
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileReleaseHistoryOrBuilder getConfigFileReleaseHistoriesOrBuilder(
int index);
/**
* repeated .v1.ConfigFileTemplate configFileTemplates = 8;
*/
java.util.List
getConfigFileTemplatesList();
/**
* repeated .v1.ConfigFileTemplate configFileTemplates = 8;
*/
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTemplate getConfigFileTemplates(int index);
/**
* repeated .v1.ConfigFileTemplate configFileTemplates = 8;
*/
int getConfigFileTemplatesCount();
/**
* repeated .v1.ConfigFileTemplate configFileTemplates = 8;
*/
java.util.List extends com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTemplateOrBuilder>
getConfigFileTemplatesOrBuilderList();
/**
* repeated .v1.ConfigFileTemplate configFileTemplates = 8;
*/
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTemplateOrBuilder getConfigFileTemplatesOrBuilder(
int index);
}
/**
* Protobuf type {@code v1.ConfigBatchQueryResponse}
*/
public static final class ConfigBatchQueryResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:v1.ConfigBatchQueryResponse)
ConfigBatchQueryResponseOrBuilder {
private static final long serialVersionUID = 0L;
// Use ConfigBatchQueryResponse.newBuilder() to construct.
private ConfigBatchQueryResponse(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private ConfigBatchQueryResponse() {
configFileGroups_ = java.util.Collections.emptyList();
configFiles_ = java.util.Collections.emptyList();
configFileReleases_ = java.util.Collections.emptyList();
configFileReleaseHistories_ = java.util.Collections.emptyList();
configFileTemplates_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new ConfigBatchQueryResponse();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.internal_static_v1_ConfigBatchQueryResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.internal_static_v1_ConfigBatchQueryResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigBatchQueryResponse.class, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigBatchQueryResponse.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 TOTAL_FIELD_NUMBER = 3;
private com.google.protobuf.UInt32Value total_;
/**
* .google.protobuf.UInt32Value total = 3;
* @return Whether the total field is set.
*/
@java.lang.Override
public boolean hasTotal() {
return total_ != null;
}
/**
* .google.protobuf.UInt32Value total = 3;
* @return The total.
*/
@java.lang.Override
public com.google.protobuf.UInt32Value getTotal() {
return total_ == null ? com.google.protobuf.UInt32Value.getDefaultInstance() : total_;
}
/**
* .google.protobuf.UInt32Value total = 3;
*/
@java.lang.Override
public com.google.protobuf.UInt32ValueOrBuilder getTotalOrBuilder() {
return getTotal();
}
public static final int CONFIGFILEGROUPS_FIELD_NUMBER = 4;
private java.util.List configFileGroups_;
/**
* repeated .v1.ConfigFileGroup configFileGroups = 4;
*/
@java.lang.Override
public java.util.List getConfigFileGroupsList() {
return configFileGroups_;
}
/**
* repeated .v1.ConfigFileGroup configFileGroups = 4;
*/
@java.lang.Override
public java.util.List extends com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileGroupOrBuilder>
getConfigFileGroupsOrBuilderList() {
return configFileGroups_;
}
/**
* repeated .v1.ConfigFileGroup configFileGroups = 4;
*/
@java.lang.Override
public int getConfigFileGroupsCount() {
return configFileGroups_.size();
}
/**
* repeated .v1.ConfigFileGroup configFileGroups = 4;
*/
@java.lang.Override
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileGroup getConfigFileGroups(int index) {
return configFileGroups_.get(index);
}
/**
* repeated .v1.ConfigFileGroup configFileGroups = 4;
*/
@java.lang.Override
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileGroupOrBuilder getConfigFileGroupsOrBuilder(
int index) {
return configFileGroups_.get(index);
}
public static final int CONFIGFILES_FIELD_NUMBER = 5;
private java.util.List configFiles_;
/**
* repeated .v1.ConfigFile configFiles = 5;
*/
@java.lang.Override
public java.util.List getConfigFilesList() {
return configFiles_;
}
/**
* repeated .v1.ConfigFile configFiles = 5;
*/
@java.lang.Override
public java.util.List extends com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileOrBuilder>
getConfigFilesOrBuilderList() {
return configFiles_;
}
/**
* repeated .v1.ConfigFile configFiles = 5;
*/
@java.lang.Override
public int getConfigFilesCount() {
return configFiles_.size();
}
/**
* repeated .v1.ConfigFile configFiles = 5;
*/
@java.lang.Override
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFile getConfigFiles(int index) {
return configFiles_.get(index);
}
/**
* repeated .v1.ConfigFile configFiles = 5;
*/
@java.lang.Override
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileOrBuilder getConfigFilesOrBuilder(
int index) {
return configFiles_.get(index);
}
public static final int CONFIGFILERELEASES_FIELD_NUMBER = 6;
private java.util.List configFileReleases_;
/**
* repeated .v1.ConfigFileRelease configFileReleases = 6;
*/
@java.lang.Override
public java.util.List getConfigFileReleasesList() {
return configFileReleases_;
}
/**
* repeated .v1.ConfigFileRelease configFileReleases = 6;
*/
@java.lang.Override
public java.util.List extends com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileReleaseOrBuilder>
getConfigFileReleasesOrBuilderList() {
return configFileReleases_;
}
/**
* repeated .v1.ConfigFileRelease configFileReleases = 6;
*/
@java.lang.Override
public int getConfigFileReleasesCount() {
return configFileReleases_.size();
}
/**
* repeated .v1.ConfigFileRelease configFileReleases = 6;
*/
@java.lang.Override
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileRelease getConfigFileReleases(int index) {
return configFileReleases_.get(index);
}
/**
* repeated .v1.ConfigFileRelease configFileReleases = 6;
*/
@java.lang.Override
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileReleaseOrBuilder getConfigFileReleasesOrBuilder(
int index) {
return configFileReleases_.get(index);
}
public static final int CONFIGFILERELEASEHISTORIES_FIELD_NUMBER = 7;
private java.util.List configFileReleaseHistories_;
/**
* repeated .v1.ConfigFileReleaseHistory configFileReleaseHistories = 7;
*/
@java.lang.Override
public java.util.List getConfigFileReleaseHistoriesList() {
return configFileReleaseHistories_;
}
/**
* repeated .v1.ConfigFileReleaseHistory configFileReleaseHistories = 7;
*/
@java.lang.Override
public java.util.List extends com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileReleaseHistoryOrBuilder>
getConfigFileReleaseHistoriesOrBuilderList() {
return configFileReleaseHistories_;
}
/**
* repeated .v1.ConfigFileReleaseHistory configFileReleaseHistories = 7;
*/
@java.lang.Override
public int getConfigFileReleaseHistoriesCount() {
return configFileReleaseHistories_.size();
}
/**
* repeated .v1.ConfigFileReleaseHistory configFileReleaseHistories = 7;
*/
@java.lang.Override
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileReleaseHistory getConfigFileReleaseHistories(int index) {
return configFileReleaseHistories_.get(index);
}
/**
* repeated .v1.ConfigFileReleaseHistory configFileReleaseHistories = 7;
*/
@java.lang.Override
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileReleaseHistoryOrBuilder getConfigFileReleaseHistoriesOrBuilder(
int index) {
return configFileReleaseHistories_.get(index);
}
public static final int CONFIGFILETEMPLATES_FIELD_NUMBER = 8;
private java.util.List configFileTemplates_;
/**
* repeated .v1.ConfigFileTemplate configFileTemplates = 8;
*/
@java.lang.Override
public java.util.List getConfigFileTemplatesList() {
return configFileTemplates_;
}
/**
* repeated .v1.ConfigFileTemplate configFileTemplates = 8;
*/
@java.lang.Override
public java.util.List extends com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTemplateOrBuilder>
getConfigFileTemplatesOrBuilderList() {
return configFileTemplates_;
}
/**
* repeated .v1.ConfigFileTemplate configFileTemplates = 8;
*/
@java.lang.Override
public int getConfigFileTemplatesCount() {
return configFileTemplates_.size();
}
/**
* repeated .v1.ConfigFileTemplate configFileTemplates = 8;
*/
@java.lang.Override
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTemplate getConfigFileTemplates(int index) {
return configFileTemplates_.get(index);
}
/**
* repeated .v1.ConfigFileTemplate configFileTemplates = 8;
*/
@java.lang.Override
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTemplateOrBuilder getConfigFileTemplatesOrBuilder(
int index) {
return configFileTemplates_.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 (code_ != null) {
output.writeMessage(1, getCode());
}
if (info_ != null) {
output.writeMessage(2, getInfo());
}
if (total_ != null) {
output.writeMessage(3, getTotal());
}
for (int i = 0; i < configFileGroups_.size(); i++) {
output.writeMessage(4, configFileGroups_.get(i));
}
for (int i = 0; i < configFiles_.size(); i++) {
output.writeMessage(5, configFiles_.get(i));
}
for (int i = 0; i < configFileReleases_.size(); i++) {
output.writeMessage(6, configFileReleases_.get(i));
}
for (int i = 0; i < configFileReleaseHistories_.size(); i++) {
output.writeMessage(7, configFileReleaseHistories_.get(i));
}
for (int i = 0; i < configFileTemplates_.size(); i++) {
output.writeMessage(8, configFileTemplates_.get(i));
}
getUnknownFields().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 (total_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, getTotal());
}
for (int i = 0; i < configFileGroups_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(4, configFileGroups_.get(i));
}
for (int i = 0; i < configFiles_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(5, configFiles_.get(i));
}
for (int i = 0; i < configFileReleases_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(6, configFileReleases_.get(i));
}
for (int i = 0; i < configFileReleaseHistories_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(7, configFileReleaseHistories_.get(i));
}
for (int i = 0; i < configFileTemplates_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(8, configFileTemplates_.get(i));
}
size += getUnknownFields().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.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigBatchQueryResponse)) {
return super.equals(obj);
}
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigBatchQueryResponse other = (com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigBatchQueryResponse) 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 (hasTotal() != other.hasTotal()) return false;
if (hasTotal()) {
if (!getTotal()
.equals(other.getTotal())) return false;
}
if (!getConfigFileGroupsList()
.equals(other.getConfigFileGroupsList())) return false;
if (!getConfigFilesList()
.equals(other.getConfigFilesList())) return false;
if (!getConfigFileReleasesList()
.equals(other.getConfigFileReleasesList())) return false;
if (!getConfigFileReleaseHistoriesList()
.equals(other.getConfigFileReleaseHistoriesList())) return false;
if (!getConfigFileTemplatesList()
.equals(other.getConfigFileTemplatesList())) return false;
if (!getUnknownFields().equals(other.getUnknownFields())) 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 (hasTotal()) {
hash = (37 * hash) + TOTAL_FIELD_NUMBER;
hash = (53 * hash) + getTotal().hashCode();
}
if (getConfigFileGroupsCount() > 0) {
hash = (37 * hash) + CONFIGFILEGROUPS_FIELD_NUMBER;
hash = (53 * hash) + getConfigFileGroupsList().hashCode();
}
if (getConfigFilesCount() > 0) {
hash = (37 * hash) + CONFIGFILES_FIELD_NUMBER;
hash = (53 * hash) + getConfigFilesList().hashCode();
}
if (getConfigFileReleasesCount() > 0) {
hash = (37 * hash) + CONFIGFILERELEASES_FIELD_NUMBER;
hash = (53 * hash) + getConfigFileReleasesList().hashCode();
}
if (getConfigFileReleaseHistoriesCount() > 0) {
hash = (37 * hash) + CONFIGFILERELEASEHISTORIES_FIELD_NUMBER;
hash = (53 * hash) + getConfigFileReleaseHistoriesList().hashCode();
}
if (getConfigFileTemplatesCount() > 0) {
hash = (37 * hash) + CONFIGFILETEMPLATES_FIELD_NUMBER;
hash = (53 * hash) + getConfigFileTemplatesList().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigBatchQueryResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigBatchQueryResponse 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.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigBatchQueryResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigBatchQueryResponse 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.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigBatchQueryResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigBatchQueryResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigBatchQueryResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigBatchQueryResponse 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.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigBatchQueryResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigBatchQueryResponse 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.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigBatchQueryResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigBatchQueryResponse 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.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigBatchQueryResponse 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.ConfigBatchQueryResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:v1.ConfigBatchQueryResponse)
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigBatchQueryResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.internal_static_v1_ConfigBatchQueryResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.internal_static_v1_ConfigBatchQueryResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigBatchQueryResponse.class, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigBatchQueryResponse.Builder.class);
}
// Construct using com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigBatchQueryResponse.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@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 (totalBuilder_ == null) {
total_ = null;
} else {
total_ = null;
totalBuilder_ = null;
}
if (configFileGroupsBuilder_ == null) {
configFileGroups_ = java.util.Collections.emptyList();
} else {
configFileGroups_ = null;
configFileGroupsBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000001);
if (configFilesBuilder_ == null) {
configFiles_ = java.util.Collections.emptyList();
} else {
configFiles_ = null;
configFilesBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000002);
if (configFileReleasesBuilder_ == null) {
configFileReleases_ = java.util.Collections.emptyList();
} else {
configFileReleases_ = null;
configFileReleasesBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000004);
if (configFileReleaseHistoriesBuilder_ == null) {
configFileReleaseHistories_ = java.util.Collections.emptyList();
} else {
configFileReleaseHistories_ = null;
configFileReleaseHistoriesBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000008);
if (configFileTemplatesBuilder_ == null) {
configFileTemplates_ = java.util.Collections.emptyList();
} else {
configFileTemplates_ = null;
configFileTemplatesBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000010);
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.internal_static_v1_ConfigBatchQueryResponse_descriptor;
}
@java.lang.Override
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigBatchQueryResponse getDefaultInstanceForType() {
return com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigBatchQueryResponse.getDefaultInstance();
}
@java.lang.Override
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigBatchQueryResponse build() {
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigBatchQueryResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigBatchQueryResponse buildPartial() {
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigBatchQueryResponse result = new com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigBatchQueryResponse(this);
int from_bitField0_ = bitField0_;
if (codeBuilder_ == null) {
result.code_ = code_;
} else {
result.code_ = codeBuilder_.build();
}
if (infoBuilder_ == null) {
result.info_ = info_;
} else {
result.info_ = infoBuilder_.build();
}
if (totalBuilder_ == null) {
result.total_ = total_;
} else {
result.total_ = totalBuilder_.build();
}
if (configFileGroupsBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
configFileGroups_ = java.util.Collections.unmodifiableList(configFileGroups_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.configFileGroups_ = configFileGroups_;
} else {
result.configFileGroups_ = configFileGroupsBuilder_.build();
}
if (configFilesBuilder_ == null) {
if (((bitField0_ & 0x00000002) != 0)) {
configFiles_ = java.util.Collections.unmodifiableList(configFiles_);
bitField0_ = (bitField0_ & ~0x00000002);
}
result.configFiles_ = configFiles_;
} else {
result.configFiles_ = configFilesBuilder_.build();
}
if (configFileReleasesBuilder_ == null) {
if (((bitField0_ & 0x00000004) != 0)) {
configFileReleases_ = java.util.Collections.unmodifiableList(configFileReleases_);
bitField0_ = (bitField0_ & ~0x00000004);
}
result.configFileReleases_ = configFileReleases_;
} else {
result.configFileReleases_ = configFileReleasesBuilder_.build();
}
if (configFileReleaseHistoriesBuilder_ == null) {
if (((bitField0_ & 0x00000008) != 0)) {
configFileReleaseHistories_ = java.util.Collections.unmodifiableList(configFileReleaseHistories_);
bitField0_ = (bitField0_ & ~0x00000008);
}
result.configFileReleaseHistories_ = configFileReleaseHistories_;
} else {
result.configFileReleaseHistories_ = configFileReleaseHistoriesBuilder_.build();
}
if (configFileTemplatesBuilder_ == null) {
if (((bitField0_ & 0x00000010) != 0)) {
configFileTemplates_ = java.util.Collections.unmodifiableList(configFileTemplates_);
bitField0_ = (bitField0_ & ~0x00000010);
}
result.configFileTemplates_ = configFileTemplates_;
} else {
result.configFileTemplates_ = configFileTemplatesBuilder_.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.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigBatchQueryResponse) {
return mergeFrom((com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigBatchQueryResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigBatchQueryResponse other) {
if (other == com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigBatchQueryResponse.getDefaultInstance()) return this;
if (other.hasCode()) {
mergeCode(other.getCode());
}
if (other.hasInfo()) {
mergeInfo(other.getInfo());
}
if (other.hasTotal()) {
mergeTotal(other.getTotal());
}
if (configFileGroupsBuilder_ == null) {
if (!other.configFileGroups_.isEmpty()) {
if (configFileGroups_.isEmpty()) {
configFileGroups_ = other.configFileGroups_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureConfigFileGroupsIsMutable();
configFileGroups_.addAll(other.configFileGroups_);
}
onChanged();
}
} else {
if (!other.configFileGroups_.isEmpty()) {
if (configFileGroupsBuilder_.isEmpty()) {
configFileGroupsBuilder_.dispose();
configFileGroupsBuilder_ = null;
configFileGroups_ = other.configFileGroups_;
bitField0_ = (bitField0_ & ~0x00000001);
configFileGroupsBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getConfigFileGroupsFieldBuilder() : null;
} else {
configFileGroupsBuilder_.addAllMessages(other.configFileGroups_);
}
}
}
if (configFilesBuilder_ == null) {
if (!other.configFiles_.isEmpty()) {
if (configFiles_.isEmpty()) {
configFiles_ = other.configFiles_;
bitField0_ = (bitField0_ & ~0x00000002);
} else {
ensureConfigFilesIsMutable();
configFiles_.addAll(other.configFiles_);
}
onChanged();
}
} else {
if (!other.configFiles_.isEmpty()) {
if (configFilesBuilder_.isEmpty()) {
configFilesBuilder_.dispose();
configFilesBuilder_ = null;
configFiles_ = other.configFiles_;
bitField0_ = (bitField0_ & ~0x00000002);
configFilesBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getConfigFilesFieldBuilder() : null;
} else {
configFilesBuilder_.addAllMessages(other.configFiles_);
}
}
}
if (configFileReleasesBuilder_ == null) {
if (!other.configFileReleases_.isEmpty()) {
if (configFileReleases_.isEmpty()) {
configFileReleases_ = other.configFileReleases_;
bitField0_ = (bitField0_ & ~0x00000004);
} else {
ensureConfigFileReleasesIsMutable();
configFileReleases_.addAll(other.configFileReleases_);
}
onChanged();
}
} else {
if (!other.configFileReleases_.isEmpty()) {
if (configFileReleasesBuilder_.isEmpty()) {
configFileReleasesBuilder_.dispose();
configFileReleasesBuilder_ = null;
configFileReleases_ = other.configFileReleases_;
bitField0_ = (bitField0_ & ~0x00000004);
configFileReleasesBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getConfigFileReleasesFieldBuilder() : null;
} else {
configFileReleasesBuilder_.addAllMessages(other.configFileReleases_);
}
}
}
if (configFileReleaseHistoriesBuilder_ == null) {
if (!other.configFileReleaseHistories_.isEmpty()) {
if (configFileReleaseHistories_.isEmpty()) {
configFileReleaseHistories_ = other.configFileReleaseHistories_;
bitField0_ = (bitField0_ & ~0x00000008);
} else {
ensureConfigFileReleaseHistoriesIsMutable();
configFileReleaseHistories_.addAll(other.configFileReleaseHistories_);
}
onChanged();
}
} else {
if (!other.configFileReleaseHistories_.isEmpty()) {
if (configFileReleaseHistoriesBuilder_.isEmpty()) {
configFileReleaseHistoriesBuilder_.dispose();
configFileReleaseHistoriesBuilder_ = null;
configFileReleaseHistories_ = other.configFileReleaseHistories_;
bitField0_ = (bitField0_ & ~0x00000008);
configFileReleaseHistoriesBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getConfigFileReleaseHistoriesFieldBuilder() : null;
} else {
configFileReleaseHistoriesBuilder_.addAllMessages(other.configFileReleaseHistories_);
}
}
}
if (configFileTemplatesBuilder_ == null) {
if (!other.configFileTemplates_.isEmpty()) {
if (configFileTemplates_.isEmpty()) {
configFileTemplates_ = other.configFileTemplates_;
bitField0_ = (bitField0_ & ~0x00000010);
} else {
ensureConfigFileTemplatesIsMutable();
configFileTemplates_.addAll(other.configFileTemplates_);
}
onChanged();
}
} else {
if (!other.configFileTemplates_.isEmpty()) {
if (configFileTemplatesBuilder_.isEmpty()) {
configFileTemplatesBuilder_.dispose();
configFileTemplatesBuilder_ = null;
configFileTemplates_ = other.configFileTemplates_;
bitField0_ = (bitField0_ & ~0x00000010);
configFileTemplatesBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getConfigFileTemplatesFieldBuilder() : null;
} else {
configFileTemplatesBuilder_.addAllMessages(other.configFileTemplates_);
}
}
}
this.mergeUnknownFields(other.getUnknownFields());
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 {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
input.readMessage(
getCodeFieldBuilder().getBuilder(),
extensionRegistry);
break;
} // case 10
case 18: {
input.readMessage(
getInfoFieldBuilder().getBuilder(),
extensionRegistry);
break;
} // case 18
case 26: {
input.readMessage(
getTotalFieldBuilder().getBuilder(),
extensionRegistry);
break;
} // case 26
case 34: {
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileGroup m =
input.readMessage(
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileGroup.parser(),
extensionRegistry);
if (configFileGroupsBuilder_ == null) {
ensureConfigFileGroupsIsMutable();
configFileGroups_.add(m);
} else {
configFileGroupsBuilder_.addMessage(m);
}
break;
} // case 34
case 42: {
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFile m =
input.readMessage(
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFile.parser(),
extensionRegistry);
if (configFilesBuilder_ == null) {
ensureConfigFilesIsMutable();
configFiles_.add(m);
} else {
configFilesBuilder_.addMessage(m);
}
break;
} // case 42
case 50: {
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileRelease m =
input.readMessage(
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileRelease.parser(),
extensionRegistry);
if (configFileReleasesBuilder_ == null) {
ensureConfigFileReleasesIsMutable();
configFileReleases_.add(m);
} else {
configFileReleasesBuilder_.addMessage(m);
}
break;
} // case 50
case 58: {
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileReleaseHistory m =
input.readMessage(
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileReleaseHistory.parser(),
extensionRegistry);
if (configFileReleaseHistoriesBuilder_ == null) {
ensureConfigFileReleaseHistoriesIsMutable();
configFileReleaseHistories_.add(m);
} else {
configFileReleaseHistoriesBuilder_.addMessage(m);
}
break;
} // case 58
case 66: {
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTemplate m =
input.readMessage(
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTemplate.parser(),
extensionRegistry);
if (configFileTemplatesBuilder_ == null) {
ensureConfigFileTemplatesIsMutable();
configFileTemplates_.add(m);
} else {
configFileTemplatesBuilder_.addMessage(m);
}
break;
} // case 66
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
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.google.protobuf.UInt32Value total_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.UInt32Value, com.google.protobuf.UInt32Value.Builder, com.google.protobuf.UInt32ValueOrBuilder> totalBuilder_;
/**
* .google.protobuf.UInt32Value total = 3;
* @return Whether the total field is set.
*/
public boolean hasTotal() {
return totalBuilder_ != null || total_ != null;
}
/**
* .google.protobuf.UInt32Value total = 3;
* @return The total.
*/
public com.google.protobuf.UInt32Value getTotal() {
if (totalBuilder_ == null) {
return total_ == null ? com.google.protobuf.UInt32Value.getDefaultInstance() : total_;
} else {
return totalBuilder_.getMessage();
}
}
/**
* .google.protobuf.UInt32Value total = 3;
*/
public Builder setTotal(com.google.protobuf.UInt32Value value) {
if (totalBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
total_ = value;
onChanged();
} else {
totalBuilder_.setMessage(value);
}
return this;
}
/**
* .google.protobuf.UInt32Value total = 3;
*/
public Builder setTotal(
com.google.protobuf.UInt32Value.Builder builderForValue) {
if (totalBuilder_ == null) {
total_ = builderForValue.build();
onChanged();
} else {
totalBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .google.protobuf.UInt32Value total = 3;
*/
public Builder mergeTotal(com.google.protobuf.UInt32Value value) {
if (totalBuilder_ == null) {
if (total_ != null) {
total_ =
com.google.protobuf.UInt32Value.newBuilder(total_).mergeFrom(value).buildPartial();
} else {
total_ = value;
}
onChanged();
} else {
totalBuilder_.mergeFrom(value);
}
return this;
}
/**
* .google.protobuf.UInt32Value total = 3;
*/
public Builder clearTotal() {
if (totalBuilder_ == null) {
total_ = null;
onChanged();
} else {
total_ = null;
totalBuilder_ = null;
}
return this;
}
/**
* .google.protobuf.UInt32Value total = 3;
*/
public com.google.protobuf.UInt32Value.Builder getTotalBuilder() {
onChanged();
return getTotalFieldBuilder().getBuilder();
}
/**
* .google.protobuf.UInt32Value total = 3;
*/
public com.google.protobuf.UInt32ValueOrBuilder getTotalOrBuilder() {
if (totalBuilder_ != null) {
return totalBuilder_.getMessageOrBuilder();
} else {
return total_ == null ?
com.google.protobuf.UInt32Value.getDefaultInstance() : total_;
}
}
/**
* .google.protobuf.UInt32Value total = 3;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.UInt32Value, com.google.protobuf.UInt32Value.Builder, com.google.protobuf.UInt32ValueOrBuilder>
getTotalFieldBuilder() {
if (totalBuilder_ == null) {
totalBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.UInt32Value, com.google.protobuf.UInt32Value.Builder, com.google.protobuf.UInt32ValueOrBuilder>(
getTotal(),
getParentForChildren(),
isClean());
total_ = null;
}
return totalBuilder_;
}
private java.util.List configFileGroups_ =
java.util.Collections.emptyList();
private void ensureConfigFileGroupsIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
configFileGroups_ = new java.util.ArrayList(configFileGroups_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileGroup, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileGroup.Builder, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileGroupOrBuilder> configFileGroupsBuilder_;
/**
* repeated .v1.ConfigFileGroup configFileGroups = 4;
*/
public java.util.List getConfigFileGroupsList() {
if (configFileGroupsBuilder_ == null) {
return java.util.Collections.unmodifiableList(configFileGroups_);
} else {
return configFileGroupsBuilder_.getMessageList();
}
}
/**
* repeated .v1.ConfigFileGroup configFileGroups = 4;
*/
public int getConfigFileGroupsCount() {
if (configFileGroupsBuilder_ == null) {
return configFileGroups_.size();
} else {
return configFileGroupsBuilder_.getCount();
}
}
/**
* repeated .v1.ConfigFileGroup configFileGroups = 4;
*/
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileGroup getConfigFileGroups(int index) {
if (configFileGroupsBuilder_ == null) {
return configFileGroups_.get(index);
} else {
return configFileGroupsBuilder_.getMessage(index);
}
}
/**
* repeated .v1.ConfigFileGroup configFileGroups = 4;
*/
public Builder setConfigFileGroups(
int index, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileGroup value) {
if (configFileGroupsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureConfigFileGroupsIsMutable();
configFileGroups_.set(index, value);
onChanged();
} else {
configFileGroupsBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .v1.ConfigFileGroup configFileGroups = 4;
*/
public Builder setConfigFileGroups(
int index, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileGroup.Builder builderForValue) {
if (configFileGroupsBuilder_ == null) {
ensureConfigFileGroupsIsMutable();
configFileGroups_.set(index, builderForValue.build());
onChanged();
} else {
configFileGroupsBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .v1.ConfigFileGroup configFileGroups = 4;
*/
public Builder addConfigFileGroups(com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileGroup value) {
if (configFileGroupsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureConfigFileGroupsIsMutable();
configFileGroups_.add(value);
onChanged();
} else {
configFileGroupsBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .v1.ConfigFileGroup configFileGroups = 4;
*/
public Builder addConfigFileGroups(
int index, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileGroup value) {
if (configFileGroupsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureConfigFileGroupsIsMutable();
configFileGroups_.add(index, value);
onChanged();
} else {
configFileGroupsBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .v1.ConfigFileGroup configFileGroups = 4;
*/
public Builder addConfigFileGroups(
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileGroup.Builder builderForValue) {
if (configFileGroupsBuilder_ == null) {
ensureConfigFileGroupsIsMutable();
configFileGroups_.add(builderForValue.build());
onChanged();
} else {
configFileGroupsBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .v1.ConfigFileGroup configFileGroups = 4;
*/
public Builder addConfigFileGroups(
int index, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileGroup.Builder builderForValue) {
if (configFileGroupsBuilder_ == null) {
ensureConfigFileGroupsIsMutable();
configFileGroups_.add(index, builderForValue.build());
onChanged();
} else {
configFileGroupsBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .v1.ConfigFileGroup configFileGroups = 4;
*/
public Builder addAllConfigFileGroups(
java.lang.Iterable extends com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileGroup> values) {
if (configFileGroupsBuilder_ == null) {
ensureConfigFileGroupsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, configFileGroups_);
onChanged();
} else {
configFileGroupsBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .v1.ConfigFileGroup configFileGroups = 4;
*/
public Builder clearConfigFileGroups() {
if (configFileGroupsBuilder_ == null) {
configFileGroups_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
configFileGroupsBuilder_.clear();
}
return this;
}
/**
* repeated .v1.ConfigFileGroup configFileGroups = 4;
*/
public Builder removeConfigFileGroups(int index) {
if (configFileGroupsBuilder_ == null) {
ensureConfigFileGroupsIsMutable();
configFileGroups_.remove(index);
onChanged();
} else {
configFileGroupsBuilder_.remove(index);
}
return this;
}
/**
* repeated .v1.ConfigFileGroup configFileGroups = 4;
*/
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileGroup.Builder getConfigFileGroupsBuilder(
int index) {
return getConfigFileGroupsFieldBuilder().getBuilder(index);
}
/**
* repeated .v1.ConfigFileGroup configFileGroups = 4;
*/
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileGroupOrBuilder getConfigFileGroupsOrBuilder(
int index) {
if (configFileGroupsBuilder_ == null) {
return configFileGroups_.get(index); } else {
return configFileGroupsBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .v1.ConfigFileGroup configFileGroups = 4;
*/
public java.util.List extends com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileGroupOrBuilder>
getConfigFileGroupsOrBuilderList() {
if (configFileGroupsBuilder_ != null) {
return configFileGroupsBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(configFileGroups_);
}
}
/**
* repeated .v1.ConfigFileGroup configFileGroups = 4;
*/
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileGroup.Builder addConfigFileGroupsBuilder() {
return getConfigFileGroupsFieldBuilder().addBuilder(
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileGroup.getDefaultInstance());
}
/**
* repeated .v1.ConfigFileGroup configFileGroups = 4;
*/
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileGroup.Builder addConfigFileGroupsBuilder(
int index) {
return getConfigFileGroupsFieldBuilder().addBuilder(
index, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileGroup.getDefaultInstance());
}
/**
* repeated .v1.ConfigFileGroup configFileGroups = 4;
*/
public java.util.List
getConfigFileGroupsBuilderList() {
return getConfigFileGroupsFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileGroup, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileGroup.Builder, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileGroupOrBuilder>
getConfigFileGroupsFieldBuilder() {
if (configFileGroupsBuilder_ == null) {
configFileGroupsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileGroup, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileGroup.Builder, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileGroupOrBuilder>(
configFileGroups_,
((bitField0_ & 0x00000001) != 0),
getParentForChildren(),
isClean());
configFileGroups_ = null;
}
return configFileGroupsBuilder_;
}
private java.util.List configFiles_ =
java.util.Collections.emptyList();
private void ensureConfigFilesIsMutable() {
if (!((bitField0_ & 0x00000002) != 0)) {
configFiles_ = new java.util.ArrayList(configFiles_);
bitField0_ |= 0x00000002;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFile, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFile.Builder, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileOrBuilder> configFilesBuilder_;
/**
* repeated .v1.ConfigFile configFiles = 5;
*/
public java.util.List getConfigFilesList() {
if (configFilesBuilder_ == null) {
return java.util.Collections.unmodifiableList(configFiles_);
} else {
return configFilesBuilder_.getMessageList();
}
}
/**
* repeated .v1.ConfigFile configFiles = 5;
*/
public int getConfigFilesCount() {
if (configFilesBuilder_ == null) {
return configFiles_.size();
} else {
return configFilesBuilder_.getCount();
}
}
/**
* repeated .v1.ConfigFile configFiles = 5;
*/
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFile getConfigFiles(int index) {
if (configFilesBuilder_ == null) {
return configFiles_.get(index);
} else {
return configFilesBuilder_.getMessage(index);
}
}
/**
* repeated .v1.ConfigFile configFiles = 5;
*/
public Builder setConfigFiles(
int index, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFile value) {
if (configFilesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureConfigFilesIsMutable();
configFiles_.set(index, value);
onChanged();
} else {
configFilesBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .v1.ConfigFile configFiles = 5;
*/
public Builder setConfigFiles(
int index, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFile.Builder builderForValue) {
if (configFilesBuilder_ == null) {
ensureConfigFilesIsMutable();
configFiles_.set(index, builderForValue.build());
onChanged();
} else {
configFilesBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .v1.ConfigFile configFiles = 5;
*/
public Builder addConfigFiles(com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFile value) {
if (configFilesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureConfigFilesIsMutable();
configFiles_.add(value);
onChanged();
} else {
configFilesBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .v1.ConfigFile configFiles = 5;
*/
public Builder addConfigFiles(
int index, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFile value) {
if (configFilesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureConfigFilesIsMutable();
configFiles_.add(index, value);
onChanged();
} else {
configFilesBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .v1.ConfigFile configFiles = 5;
*/
public Builder addConfigFiles(
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFile.Builder builderForValue) {
if (configFilesBuilder_ == null) {
ensureConfigFilesIsMutable();
configFiles_.add(builderForValue.build());
onChanged();
} else {
configFilesBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .v1.ConfigFile configFiles = 5;
*/
public Builder addConfigFiles(
int index, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFile.Builder builderForValue) {
if (configFilesBuilder_ == null) {
ensureConfigFilesIsMutable();
configFiles_.add(index, builderForValue.build());
onChanged();
} else {
configFilesBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .v1.ConfigFile configFiles = 5;
*/
public Builder addAllConfigFiles(
java.lang.Iterable extends com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFile> values) {
if (configFilesBuilder_ == null) {
ensureConfigFilesIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, configFiles_);
onChanged();
} else {
configFilesBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .v1.ConfigFile configFiles = 5;
*/
public Builder clearConfigFiles() {
if (configFilesBuilder_ == null) {
configFiles_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
} else {
configFilesBuilder_.clear();
}
return this;
}
/**
* repeated .v1.ConfigFile configFiles = 5;
*/
public Builder removeConfigFiles(int index) {
if (configFilesBuilder_ == null) {
ensureConfigFilesIsMutable();
configFiles_.remove(index);
onChanged();
} else {
configFilesBuilder_.remove(index);
}
return this;
}
/**
* repeated .v1.ConfigFile configFiles = 5;
*/
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFile.Builder getConfigFilesBuilder(
int index) {
return getConfigFilesFieldBuilder().getBuilder(index);
}
/**
* repeated .v1.ConfigFile configFiles = 5;
*/
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileOrBuilder getConfigFilesOrBuilder(
int index) {
if (configFilesBuilder_ == null) {
return configFiles_.get(index); } else {
return configFilesBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .v1.ConfigFile configFiles = 5;
*/
public java.util.List extends com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileOrBuilder>
getConfigFilesOrBuilderList() {
if (configFilesBuilder_ != null) {
return configFilesBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(configFiles_);
}
}
/**
* repeated .v1.ConfigFile configFiles = 5;
*/
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFile.Builder addConfigFilesBuilder() {
return getConfigFilesFieldBuilder().addBuilder(
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFile.getDefaultInstance());
}
/**
* repeated .v1.ConfigFile configFiles = 5;
*/
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFile.Builder addConfigFilesBuilder(
int index) {
return getConfigFilesFieldBuilder().addBuilder(
index, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFile.getDefaultInstance());
}
/**
* repeated .v1.ConfigFile configFiles = 5;
*/
public java.util.List
getConfigFilesBuilderList() {
return getConfigFilesFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFile, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFile.Builder, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileOrBuilder>
getConfigFilesFieldBuilder() {
if (configFilesBuilder_ == null) {
configFilesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFile, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFile.Builder, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileOrBuilder>(
configFiles_,
((bitField0_ & 0x00000002) != 0),
getParentForChildren(),
isClean());
configFiles_ = null;
}
return configFilesBuilder_;
}
private java.util.List configFileReleases_ =
java.util.Collections.emptyList();
private void ensureConfigFileReleasesIsMutable() {
if (!((bitField0_ & 0x00000004) != 0)) {
configFileReleases_ = new java.util.ArrayList(configFileReleases_);
bitField0_ |= 0x00000004;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileRelease, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileRelease.Builder, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileReleaseOrBuilder> configFileReleasesBuilder_;
/**
* repeated .v1.ConfigFileRelease configFileReleases = 6;
*/
public java.util.List getConfigFileReleasesList() {
if (configFileReleasesBuilder_ == null) {
return java.util.Collections.unmodifiableList(configFileReleases_);
} else {
return configFileReleasesBuilder_.getMessageList();
}
}
/**
* repeated .v1.ConfigFileRelease configFileReleases = 6;
*/
public int getConfigFileReleasesCount() {
if (configFileReleasesBuilder_ == null) {
return configFileReleases_.size();
} else {
return configFileReleasesBuilder_.getCount();
}
}
/**
* repeated .v1.ConfigFileRelease configFileReleases = 6;
*/
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileRelease getConfigFileReleases(int index) {
if (configFileReleasesBuilder_ == null) {
return configFileReleases_.get(index);
} else {
return configFileReleasesBuilder_.getMessage(index);
}
}
/**
* repeated .v1.ConfigFileRelease configFileReleases = 6;
*/
public Builder setConfigFileReleases(
int index, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileRelease value) {
if (configFileReleasesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureConfigFileReleasesIsMutable();
configFileReleases_.set(index, value);
onChanged();
} else {
configFileReleasesBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .v1.ConfigFileRelease configFileReleases = 6;
*/
public Builder setConfigFileReleases(
int index, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileRelease.Builder builderForValue) {
if (configFileReleasesBuilder_ == null) {
ensureConfigFileReleasesIsMutable();
configFileReleases_.set(index, builderForValue.build());
onChanged();
} else {
configFileReleasesBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .v1.ConfigFileRelease configFileReleases = 6;
*/
public Builder addConfigFileReleases(com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileRelease value) {
if (configFileReleasesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureConfigFileReleasesIsMutable();
configFileReleases_.add(value);
onChanged();
} else {
configFileReleasesBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .v1.ConfigFileRelease configFileReleases = 6;
*/
public Builder addConfigFileReleases(
int index, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileRelease value) {
if (configFileReleasesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureConfigFileReleasesIsMutable();
configFileReleases_.add(index, value);
onChanged();
} else {
configFileReleasesBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .v1.ConfigFileRelease configFileReleases = 6;
*/
public Builder addConfigFileReleases(
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileRelease.Builder builderForValue) {
if (configFileReleasesBuilder_ == null) {
ensureConfigFileReleasesIsMutable();
configFileReleases_.add(builderForValue.build());
onChanged();
} else {
configFileReleasesBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .v1.ConfigFileRelease configFileReleases = 6;
*/
public Builder addConfigFileReleases(
int index, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileRelease.Builder builderForValue) {
if (configFileReleasesBuilder_ == null) {
ensureConfigFileReleasesIsMutable();
configFileReleases_.add(index, builderForValue.build());
onChanged();
} else {
configFileReleasesBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .v1.ConfigFileRelease configFileReleases = 6;
*/
public Builder addAllConfigFileReleases(
java.lang.Iterable extends com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileRelease> values) {
if (configFileReleasesBuilder_ == null) {
ensureConfigFileReleasesIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, configFileReleases_);
onChanged();
} else {
configFileReleasesBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .v1.ConfigFileRelease configFileReleases = 6;
*/
public Builder clearConfigFileReleases() {
if (configFileReleasesBuilder_ == null) {
configFileReleases_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000004);
onChanged();
} else {
configFileReleasesBuilder_.clear();
}
return this;
}
/**
* repeated .v1.ConfigFileRelease configFileReleases = 6;
*/
public Builder removeConfigFileReleases(int index) {
if (configFileReleasesBuilder_ == null) {
ensureConfigFileReleasesIsMutable();
configFileReleases_.remove(index);
onChanged();
} else {
configFileReleasesBuilder_.remove(index);
}
return this;
}
/**
* repeated .v1.ConfigFileRelease configFileReleases = 6;
*/
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileRelease.Builder getConfigFileReleasesBuilder(
int index) {
return getConfigFileReleasesFieldBuilder().getBuilder(index);
}
/**
* repeated .v1.ConfigFileRelease configFileReleases = 6;
*/
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileReleaseOrBuilder getConfigFileReleasesOrBuilder(
int index) {
if (configFileReleasesBuilder_ == null) {
return configFileReleases_.get(index); } else {
return configFileReleasesBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .v1.ConfigFileRelease configFileReleases = 6;
*/
public java.util.List extends com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileReleaseOrBuilder>
getConfigFileReleasesOrBuilderList() {
if (configFileReleasesBuilder_ != null) {
return configFileReleasesBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(configFileReleases_);
}
}
/**
* repeated .v1.ConfigFileRelease configFileReleases = 6;
*/
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileRelease.Builder addConfigFileReleasesBuilder() {
return getConfigFileReleasesFieldBuilder().addBuilder(
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileRelease.getDefaultInstance());
}
/**
* repeated .v1.ConfigFileRelease configFileReleases = 6;
*/
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileRelease.Builder addConfigFileReleasesBuilder(
int index) {
return getConfigFileReleasesFieldBuilder().addBuilder(
index, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileRelease.getDefaultInstance());
}
/**
* repeated .v1.ConfigFileRelease configFileReleases = 6;
*/
public java.util.List
getConfigFileReleasesBuilderList() {
return getConfigFileReleasesFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileRelease, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileRelease.Builder, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileReleaseOrBuilder>
getConfigFileReleasesFieldBuilder() {
if (configFileReleasesBuilder_ == null) {
configFileReleasesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileRelease, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileRelease.Builder, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileReleaseOrBuilder>(
configFileReleases_,
((bitField0_ & 0x00000004) != 0),
getParentForChildren(),
isClean());
configFileReleases_ = null;
}
return configFileReleasesBuilder_;
}
private java.util.List configFileReleaseHistories_ =
java.util.Collections.emptyList();
private void ensureConfigFileReleaseHistoriesIsMutable() {
if (!((bitField0_ & 0x00000008) != 0)) {
configFileReleaseHistories_ = new java.util.ArrayList(configFileReleaseHistories_);
bitField0_ |= 0x00000008;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileReleaseHistory, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileReleaseHistory.Builder, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileReleaseHistoryOrBuilder> configFileReleaseHistoriesBuilder_;
/**
* repeated .v1.ConfigFileReleaseHistory configFileReleaseHistories = 7;
*/
public java.util.List getConfigFileReleaseHistoriesList() {
if (configFileReleaseHistoriesBuilder_ == null) {
return java.util.Collections.unmodifiableList(configFileReleaseHistories_);
} else {
return configFileReleaseHistoriesBuilder_.getMessageList();
}
}
/**
* repeated .v1.ConfigFileReleaseHistory configFileReleaseHistories = 7;
*/
public int getConfigFileReleaseHistoriesCount() {
if (configFileReleaseHistoriesBuilder_ == null) {
return configFileReleaseHistories_.size();
} else {
return configFileReleaseHistoriesBuilder_.getCount();
}
}
/**
* repeated .v1.ConfigFileReleaseHistory configFileReleaseHistories = 7;
*/
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileReleaseHistory getConfigFileReleaseHistories(int index) {
if (configFileReleaseHistoriesBuilder_ == null) {
return configFileReleaseHistories_.get(index);
} else {
return configFileReleaseHistoriesBuilder_.getMessage(index);
}
}
/**
* repeated .v1.ConfigFileReleaseHistory configFileReleaseHistories = 7;
*/
public Builder setConfigFileReleaseHistories(
int index, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileReleaseHistory value) {
if (configFileReleaseHistoriesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureConfigFileReleaseHistoriesIsMutable();
configFileReleaseHistories_.set(index, value);
onChanged();
} else {
configFileReleaseHistoriesBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .v1.ConfigFileReleaseHistory configFileReleaseHistories = 7;
*/
public Builder setConfigFileReleaseHistories(
int index, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileReleaseHistory.Builder builderForValue) {
if (configFileReleaseHistoriesBuilder_ == null) {
ensureConfigFileReleaseHistoriesIsMutable();
configFileReleaseHistories_.set(index, builderForValue.build());
onChanged();
} else {
configFileReleaseHistoriesBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .v1.ConfigFileReleaseHistory configFileReleaseHistories = 7;
*/
public Builder addConfigFileReleaseHistories(com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileReleaseHistory value) {
if (configFileReleaseHistoriesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureConfigFileReleaseHistoriesIsMutable();
configFileReleaseHistories_.add(value);
onChanged();
} else {
configFileReleaseHistoriesBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .v1.ConfigFileReleaseHistory configFileReleaseHistories = 7;
*/
public Builder addConfigFileReleaseHistories(
int index, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileReleaseHistory value) {
if (configFileReleaseHistoriesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureConfigFileReleaseHistoriesIsMutable();
configFileReleaseHistories_.add(index, value);
onChanged();
} else {
configFileReleaseHistoriesBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .v1.ConfigFileReleaseHistory configFileReleaseHistories = 7;
*/
public Builder addConfigFileReleaseHistories(
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileReleaseHistory.Builder builderForValue) {
if (configFileReleaseHistoriesBuilder_ == null) {
ensureConfigFileReleaseHistoriesIsMutable();
configFileReleaseHistories_.add(builderForValue.build());
onChanged();
} else {
configFileReleaseHistoriesBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .v1.ConfigFileReleaseHistory configFileReleaseHistories = 7;
*/
public Builder addConfigFileReleaseHistories(
int index, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileReleaseHistory.Builder builderForValue) {
if (configFileReleaseHistoriesBuilder_ == null) {
ensureConfigFileReleaseHistoriesIsMutable();
configFileReleaseHistories_.add(index, builderForValue.build());
onChanged();
} else {
configFileReleaseHistoriesBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .v1.ConfigFileReleaseHistory configFileReleaseHistories = 7;
*/
public Builder addAllConfigFileReleaseHistories(
java.lang.Iterable extends com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileReleaseHistory> values) {
if (configFileReleaseHistoriesBuilder_ == null) {
ensureConfigFileReleaseHistoriesIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, configFileReleaseHistories_);
onChanged();
} else {
configFileReleaseHistoriesBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .v1.ConfigFileReleaseHistory configFileReleaseHistories = 7;
*/
public Builder clearConfigFileReleaseHistories() {
if (configFileReleaseHistoriesBuilder_ == null) {
configFileReleaseHistories_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000008);
onChanged();
} else {
configFileReleaseHistoriesBuilder_.clear();
}
return this;
}
/**
* repeated .v1.ConfigFileReleaseHistory configFileReleaseHistories = 7;
*/
public Builder removeConfigFileReleaseHistories(int index) {
if (configFileReleaseHistoriesBuilder_ == null) {
ensureConfigFileReleaseHistoriesIsMutable();
configFileReleaseHistories_.remove(index);
onChanged();
} else {
configFileReleaseHistoriesBuilder_.remove(index);
}
return this;
}
/**
* repeated .v1.ConfigFileReleaseHistory configFileReleaseHistories = 7;
*/
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileReleaseHistory.Builder getConfigFileReleaseHistoriesBuilder(
int index) {
return getConfigFileReleaseHistoriesFieldBuilder().getBuilder(index);
}
/**
* repeated .v1.ConfigFileReleaseHistory configFileReleaseHistories = 7;
*/
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileReleaseHistoryOrBuilder getConfigFileReleaseHistoriesOrBuilder(
int index) {
if (configFileReleaseHistoriesBuilder_ == null) {
return configFileReleaseHistories_.get(index); } else {
return configFileReleaseHistoriesBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .v1.ConfigFileReleaseHistory configFileReleaseHistories = 7;
*/
public java.util.List extends com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileReleaseHistoryOrBuilder>
getConfigFileReleaseHistoriesOrBuilderList() {
if (configFileReleaseHistoriesBuilder_ != null) {
return configFileReleaseHistoriesBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(configFileReleaseHistories_);
}
}
/**
* repeated .v1.ConfigFileReleaseHistory configFileReleaseHistories = 7;
*/
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileReleaseHistory.Builder addConfigFileReleaseHistoriesBuilder() {
return getConfigFileReleaseHistoriesFieldBuilder().addBuilder(
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileReleaseHistory.getDefaultInstance());
}
/**
* repeated .v1.ConfigFileReleaseHistory configFileReleaseHistories = 7;
*/
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileReleaseHistory.Builder addConfigFileReleaseHistoriesBuilder(
int index) {
return getConfigFileReleaseHistoriesFieldBuilder().addBuilder(
index, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileReleaseHistory.getDefaultInstance());
}
/**
* repeated .v1.ConfigFileReleaseHistory configFileReleaseHistories = 7;
*/
public java.util.List
getConfigFileReleaseHistoriesBuilderList() {
return getConfigFileReleaseHistoriesFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileReleaseHistory, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileReleaseHistory.Builder, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileReleaseHistoryOrBuilder>
getConfigFileReleaseHistoriesFieldBuilder() {
if (configFileReleaseHistoriesBuilder_ == null) {
configFileReleaseHistoriesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileReleaseHistory, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileReleaseHistory.Builder, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileReleaseHistoryOrBuilder>(
configFileReleaseHistories_,
((bitField0_ & 0x00000008) != 0),
getParentForChildren(),
isClean());
configFileReleaseHistories_ = null;
}
return configFileReleaseHistoriesBuilder_;
}
private java.util.List configFileTemplates_ =
java.util.Collections.emptyList();
private void ensureConfigFileTemplatesIsMutable() {
if (!((bitField0_ & 0x00000010) != 0)) {
configFileTemplates_ = new java.util.ArrayList(configFileTemplates_);
bitField0_ |= 0x00000010;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTemplate, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTemplate.Builder, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTemplateOrBuilder> configFileTemplatesBuilder_;
/**
* repeated .v1.ConfigFileTemplate configFileTemplates = 8;
*/
public java.util.List getConfigFileTemplatesList() {
if (configFileTemplatesBuilder_ == null) {
return java.util.Collections.unmodifiableList(configFileTemplates_);
} else {
return configFileTemplatesBuilder_.getMessageList();
}
}
/**
* repeated .v1.ConfigFileTemplate configFileTemplates = 8;
*/
public int getConfigFileTemplatesCount() {
if (configFileTemplatesBuilder_ == null) {
return configFileTemplates_.size();
} else {
return configFileTemplatesBuilder_.getCount();
}
}
/**
* repeated .v1.ConfigFileTemplate configFileTemplates = 8;
*/
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTemplate getConfigFileTemplates(int index) {
if (configFileTemplatesBuilder_ == null) {
return configFileTemplates_.get(index);
} else {
return configFileTemplatesBuilder_.getMessage(index);
}
}
/**
* repeated .v1.ConfigFileTemplate configFileTemplates = 8;
*/
public Builder setConfigFileTemplates(
int index, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTemplate value) {
if (configFileTemplatesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureConfigFileTemplatesIsMutable();
configFileTemplates_.set(index, value);
onChanged();
} else {
configFileTemplatesBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .v1.ConfigFileTemplate configFileTemplates = 8;
*/
public Builder setConfigFileTemplates(
int index, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTemplate.Builder builderForValue) {
if (configFileTemplatesBuilder_ == null) {
ensureConfigFileTemplatesIsMutable();
configFileTemplates_.set(index, builderForValue.build());
onChanged();
} else {
configFileTemplatesBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .v1.ConfigFileTemplate configFileTemplates = 8;
*/
public Builder addConfigFileTemplates(com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTemplate value) {
if (configFileTemplatesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureConfigFileTemplatesIsMutable();
configFileTemplates_.add(value);
onChanged();
} else {
configFileTemplatesBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .v1.ConfigFileTemplate configFileTemplates = 8;
*/
public Builder addConfigFileTemplates(
int index, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTemplate value) {
if (configFileTemplatesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureConfigFileTemplatesIsMutable();
configFileTemplates_.add(index, value);
onChanged();
} else {
configFileTemplatesBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .v1.ConfigFileTemplate configFileTemplates = 8;
*/
public Builder addConfigFileTemplates(
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTemplate.Builder builderForValue) {
if (configFileTemplatesBuilder_ == null) {
ensureConfigFileTemplatesIsMutable();
configFileTemplates_.add(builderForValue.build());
onChanged();
} else {
configFileTemplatesBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .v1.ConfigFileTemplate configFileTemplates = 8;
*/
public Builder addConfigFileTemplates(
int index, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTemplate.Builder builderForValue) {
if (configFileTemplatesBuilder_ == null) {
ensureConfigFileTemplatesIsMutable();
configFileTemplates_.add(index, builderForValue.build());
onChanged();
} else {
configFileTemplatesBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .v1.ConfigFileTemplate configFileTemplates = 8;
*/
public Builder addAllConfigFileTemplates(
java.lang.Iterable extends com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTemplate> values) {
if (configFileTemplatesBuilder_ == null) {
ensureConfigFileTemplatesIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, configFileTemplates_);
onChanged();
} else {
configFileTemplatesBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .v1.ConfigFileTemplate configFileTemplates = 8;
*/
public Builder clearConfigFileTemplates() {
if (configFileTemplatesBuilder_ == null) {
configFileTemplates_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000010);
onChanged();
} else {
configFileTemplatesBuilder_.clear();
}
return this;
}
/**
* repeated .v1.ConfigFileTemplate configFileTemplates = 8;
*/
public Builder removeConfigFileTemplates(int index) {
if (configFileTemplatesBuilder_ == null) {
ensureConfigFileTemplatesIsMutable();
configFileTemplates_.remove(index);
onChanged();
} else {
configFileTemplatesBuilder_.remove(index);
}
return this;
}
/**
* repeated .v1.ConfigFileTemplate configFileTemplates = 8;
*/
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTemplate.Builder getConfigFileTemplatesBuilder(
int index) {
return getConfigFileTemplatesFieldBuilder().getBuilder(index);
}
/**
* repeated .v1.ConfigFileTemplate configFileTemplates = 8;
*/
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTemplateOrBuilder getConfigFileTemplatesOrBuilder(
int index) {
if (configFileTemplatesBuilder_ == null) {
return configFileTemplates_.get(index); } else {
return configFileTemplatesBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .v1.ConfigFileTemplate configFileTemplates = 8;
*/
public java.util.List extends com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTemplateOrBuilder>
getConfigFileTemplatesOrBuilderList() {
if (configFileTemplatesBuilder_ != null) {
return configFileTemplatesBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(configFileTemplates_);
}
}
/**
* repeated .v1.ConfigFileTemplate configFileTemplates = 8;
*/
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTemplate.Builder addConfigFileTemplatesBuilder() {
return getConfigFileTemplatesFieldBuilder().addBuilder(
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTemplate.getDefaultInstance());
}
/**
* repeated .v1.ConfigFileTemplate configFileTemplates = 8;
*/
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTemplate.Builder addConfigFileTemplatesBuilder(
int index) {
return getConfigFileTemplatesFieldBuilder().addBuilder(
index, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTemplate.getDefaultInstance());
}
/**
* repeated .v1.ConfigFileTemplate configFileTemplates = 8;
*/
public java.util.List
getConfigFileTemplatesBuilderList() {
return getConfigFileTemplatesFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTemplate, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTemplate.Builder, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTemplateOrBuilder>
getConfigFileTemplatesFieldBuilder() {
if (configFileTemplatesBuilder_ == null) {
configFileTemplatesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTemplate, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTemplate.Builder, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTemplateOrBuilder>(
configFileTemplates_,
((bitField0_ & 0x00000010) != 0),
getParentForChildren(),
isClean());
configFileTemplates_ = null;
}
return configFileTemplatesBuilder_;
}
@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.ConfigBatchQueryResponse)
}
// @@protoc_insertion_point(class_scope:v1.ConfigBatchQueryResponse)
private static final com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigBatchQueryResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigBatchQueryResponse();
}
public static com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigBatchQueryResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public ConfigBatchQueryResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
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.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigBatchQueryResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface ConfigClientResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:v1.ConfigClientResponse)
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.ClientConfigFileInfo configFile = 3;
* @return Whether the configFile field is set.
*/
boolean hasConfigFile();
/**
* .v1.ClientConfigFileInfo configFile = 3;
* @return The configFile.
*/
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientConfigFileInfo getConfigFile();
/**
* .v1.ClientConfigFileInfo configFile = 3;
*/
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientConfigFileInfoOrBuilder getConfigFileOrBuilder();
}
/**
* Protobuf type {@code v1.ConfigClientResponse}
*/
public static final class ConfigClientResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:v1.ConfigClientResponse)
ConfigClientResponseOrBuilder {
private static final long serialVersionUID = 0L;
// Use ConfigClientResponse.newBuilder() to construct.
private ConfigClientResponse(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private ConfigClientResponse() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new ConfigClientResponse();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.internal_static_v1_ConfigClientResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.internal_static_v1_ConfigClientResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigClientResponse.class, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigClientResponse.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.specification.api.v1.config.manage.ConfigFileProto.ClientConfigFileInfo configFile_;
/**
* .v1.ClientConfigFileInfo configFile = 3;
* @return Whether the configFile field is set.
*/
@java.lang.Override
public boolean hasConfigFile() {
return configFile_ != null;
}
/**
* .v1.ClientConfigFileInfo configFile = 3;
* @return The configFile.
*/
@java.lang.Override
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientConfigFileInfo getConfigFile() {
return configFile_ == null ? com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientConfigFileInfo.getDefaultInstance() : configFile_;
}
/**
* .v1.ClientConfigFileInfo configFile = 3;
*/
@java.lang.Override
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientConfigFileInfoOrBuilder 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());
}
getUnknownFields().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 += getUnknownFields().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.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigClientResponse)) {
return super.equals(obj);
}
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigClientResponse other = (com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigClientResponse) 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 (!getUnknownFields().equals(other.getUnknownFields())) 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) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigClientResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigClientResponse 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.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigClientResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigClientResponse 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.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigClientResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigClientResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigClientResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigClientResponse 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.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigClientResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigClientResponse 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.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigClientResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigClientResponse 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.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigClientResponse 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.ConfigClientResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:v1.ConfigClientResponse)
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigClientResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.internal_static_v1_ConfigClientResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.internal_static_v1_ConfigClientResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigClientResponse.class, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigClientResponse.Builder.class);
}
// Construct using com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigClientResponse.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@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.specification.api.v1.config.manage.ConfigFileResponseProto.internal_static_v1_ConfigClientResponse_descriptor;
}
@java.lang.Override
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigClientResponse getDefaultInstanceForType() {
return com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigClientResponse.getDefaultInstance();
}
@java.lang.Override
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigClientResponse build() {
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigClientResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigClientResponse buildPartial() {
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigClientResponse result = new com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigClientResponse(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.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigClientResponse) {
return mergeFrom((com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigClientResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigClientResponse other) {
if (other == com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigClientResponse.getDefaultInstance()) return this;
if (other.hasCode()) {
mergeCode(other.getCode());
}
if (other.hasInfo()) {
mergeInfo(other.getInfo());
}
if (other.hasConfigFile()) {
mergeConfigFile(other.getConfigFile());
}
this.mergeUnknownFields(other.getUnknownFields());
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 {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
input.readMessage(
getCodeFieldBuilder().getBuilder(),
extensionRegistry);
break;
} // case 10
case 18: {
input.readMessage(
getInfoFieldBuilder().getBuilder(),
extensionRegistry);
break;
} // case 18
case 26: {
input.readMessage(
getConfigFileFieldBuilder().getBuilder(),
extensionRegistry);
break;
} // case 26
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
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.specification.api.v1.config.manage.ConfigFileProto.ClientConfigFileInfo configFile_;
private com.google.protobuf.SingleFieldBuilderV3<
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientConfigFileInfo, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientConfigFileInfo.Builder, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientConfigFileInfoOrBuilder> configFileBuilder_;
/**
* .v1.ClientConfigFileInfo configFile = 3;
* @return Whether the configFile field is set.
*/
public boolean hasConfigFile() {
return configFileBuilder_ != null || configFile_ != null;
}
/**
* .v1.ClientConfigFileInfo configFile = 3;
* @return The configFile.
*/
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientConfigFileInfo getConfigFile() {
if (configFileBuilder_ == null) {
return configFile_ == null ? com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientConfigFileInfo.getDefaultInstance() : configFile_;
} else {
return configFileBuilder_.getMessage();
}
}
/**
* .v1.ClientConfigFileInfo configFile = 3;
*/
public Builder setConfigFile(com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientConfigFileInfo value) {
if (configFileBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
configFile_ = value;
onChanged();
} else {
configFileBuilder_.setMessage(value);
}
return this;
}
/**
* .v1.ClientConfigFileInfo configFile = 3;
*/
public Builder setConfigFile(
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientConfigFileInfo.Builder builderForValue) {
if (configFileBuilder_ == null) {
configFile_ = builderForValue.build();
onChanged();
} else {
configFileBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .v1.ClientConfigFileInfo configFile = 3;
*/
public Builder mergeConfigFile(com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientConfigFileInfo value) {
if (configFileBuilder_ == null) {
if (configFile_ != null) {
configFile_ =
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientConfigFileInfo.newBuilder(configFile_).mergeFrom(value).buildPartial();
} else {
configFile_ = value;
}
onChanged();
} else {
configFileBuilder_.mergeFrom(value);
}
return this;
}
/**
* .v1.ClientConfigFileInfo configFile = 3;
*/
public Builder clearConfigFile() {
if (configFileBuilder_ == null) {
configFile_ = null;
onChanged();
} else {
configFile_ = null;
configFileBuilder_ = null;
}
return this;
}
/**
* .v1.ClientConfigFileInfo configFile = 3;
*/
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientConfigFileInfo.Builder getConfigFileBuilder() {
onChanged();
return getConfigFileFieldBuilder().getBuilder();
}
/**
* .v1.ClientConfigFileInfo configFile = 3;
*/
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientConfigFileInfoOrBuilder getConfigFileOrBuilder() {
if (configFileBuilder_ != null) {
return configFileBuilder_.getMessageOrBuilder();
} else {
return configFile_ == null ?
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientConfigFileInfo.getDefaultInstance() : configFile_;
}
}
/**
* .v1.ClientConfigFileInfo configFile = 3;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientConfigFileInfo, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientConfigFileInfo.Builder, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientConfigFileInfoOrBuilder>
getConfigFileFieldBuilder() {
if (configFileBuilder_ == null) {
configFileBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientConfigFileInfo, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientConfigFileInfo.Builder, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientConfigFileInfoOrBuilder>(
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.ConfigClientResponse)
}
// @@protoc_insertion_point(class_scope:v1.ConfigClientResponse)
private static final com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigClientResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigClientResponse();
}
public static com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigClientResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public ConfigClientResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
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.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigClientResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface ConfigImportResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:v1.ConfigImportResponse)
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();
/**
* repeated .v1.ConfigFile createConfigFiles = 3;
*/
java.util.List
getCreateConfigFilesList();
/**
* repeated .v1.ConfigFile createConfigFiles = 3;
*/
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFile getCreateConfigFiles(int index);
/**
* repeated .v1.ConfigFile createConfigFiles = 3;
*/
int getCreateConfigFilesCount();
/**
* repeated .v1.ConfigFile createConfigFiles = 3;
*/
java.util.List extends com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileOrBuilder>
getCreateConfigFilesOrBuilderList();
/**
* repeated .v1.ConfigFile createConfigFiles = 3;
*/
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileOrBuilder getCreateConfigFilesOrBuilder(
int index);
/**
* repeated .v1.ConfigFile skipConfigFiles = 4;
*/
java.util.List
getSkipConfigFilesList();
/**
* repeated .v1.ConfigFile skipConfigFiles = 4;
*/
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFile getSkipConfigFiles(int index);
/**
* repeated .v1.ConfigFile skipConfigFiles = 4;
*/
int getSkipConfigFilesCount();
/**
* repeated .v1.ConfigFile skipConfigFiles = 4;
*/
java.util.List extends com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileOrBuilder>
getSkipConfigFilesOrBuilderList();
/**
* repeated .v1.ConfigFile skipConfigFiles = 4;
*/
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileOrBuilder getSkipConfigFilesOrBuilder(
int index);
/**
* repeated .v1.ConfigFile overwriteConfigFiles = 5;
*/
java.util.List
getOverwriteConfigFilesList();
/**
* repeated .v1.ConfigFile overwriteConfigFiles = 5;
*/
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFile getOverwriteConfigFiles(int index);
/**
* repeated .v1.ConfigFile overwriteConfigFiles = 5;
*/
int getOverwriteConfigFilesCount();
/**
* repeated .v1.ConfigFile overwriteConfigFiles = 5;
*/
java.util.List extends com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileOrBuilder>
getOverwriteConfigFilesOrBuilderList();
/**
* repeated .v1.ConfigFile overwriteConfigFiles = 5;
*/
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileOrBuilder getOverwriteConfigFilesOrBuilder(
int index);
}
/**
* Protobuf type {@code v1.ConfigImportResponse}
*/
public static final class ConfigImportResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:v1.ConfigImportResponse)
ConfigImportResponseOrBuilder {
private static final long serialVersionUID = 0L;
// Use ConfigImportResponse.newBuilder() to construct.
private ConfigImportResponse(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private ConfigImportResponse() {
createConfigFiles_ = java.util.Collections.emptyList();
skipConfigFiles_ = java.util.Collections.emptyList();
overwriteConfigFiles_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new ConfigImportResponse();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.internal_static_v1_ConfigImportResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.internal_static_v1_ConfigImportResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigImportResponse.class, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigImportResponse.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 CREATECONFIGFILES_FIELD_NUMBER = 3;
private java.util.List createConfigFiles_;
/**
* repeated .v1.ConfigFile createConfigFiles = 3;
*/
@java.lang.Override
public java.util.List getCreateConfigFilesList() {
return createConfigFiles_;
}
/**
* repeated .v1.ConfigFile createConfigFiles = 3;
*/
@java.lang.Override
public java.util.List extends com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileOrBuilder>
getCreateConfigFilesOrBuilderList() {
return createConfigFiles_;
}
/**
* repeated .v1.ConfigFile createConfigFiles = 3;
*/
@java.lang.Override
public int getCreateConfigFilesCount() {
return createConfigFiles_.size();
}
/**
* repeated .v1.ConfigFile createConfigFiles = 3;
*/
@java.lang.Override
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFile getCreateConfigFiles(int index) {
return createConfigFiles_.get(index);
}
/**
* repeated .v1.ConfigFile createConfigFiles = 3;
*/
@java.lang.Override
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileOrBuilder getCreateConfigFilesOrBuilder(
int index) {
return createConfigFiles_.get(index);
}
public static final int SKIPCONFIGFILES_FIELD_NUMBER = 4;
private java.util.List skipConfigFiles_;
/**
* repeated .v1.ConfigFile skipConfigFiles = 4;
*/
@java.lang.Override
public java.util.List getSkipConfigFilesList() {
return skipConfigFiles_;
}
/**
* repeated .v1.ConfigFile skipConfigFiles = 4;
*/
@java.lang.Override
public java.util.List extends com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileOrBuilder>
getSkipConfigFilesOrBuilderList() {
return skipConfigFiles_;
}
/**
* repeated .v1.ConfigFile skipConfigFiles = 4;
*/
@java.lang.Override
public int getSkipConfigFilesCount() {
return skipConfigFiles_.size();
}
/**
* repeated .v1.ConfigFile skipConfigFiles = 4;
*/
@java.lang.Override
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFile getSkipConfigFiles(int index) {
return skipConfigFiles_.get(index);
}
/**
* repeated .v1.ConfigFile skipConfigFiles = 4;
*/
@java.lang.Override
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileOrBuilder getSkipConfigFilesOrBuilder(
int index) {
return skipConfigFiles_.get(index);
}
public static final int OVERWRITECONFIGFILES_FIELD_NUMBER = 5;
private java.util.List overwriteConfigFiles_;
/**
* repeated .v1.ConfigFile overwriteConfigFiles = 5;
*/
@java.lang.Override
public java.util.List getOverwriteConfigFilesList() {
return overwriteConfigFiles_;
}
/**
* repeated .v1.ConfigFile overwriteConfigFiles = 5;
*/
@java.lang.Override
public java.util.List extends com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileOrBuilder>
getOverwriteConfigFilesOrBuilderList() {
return overwriteConfigFiles_;
}
/**
* repeated .v1.ConfigFile overwriteConfigFiles = 5;
*/
@java.lang.Override
public int getOverwriteConfigFilesCount() {
return overwriteConfigFiles_.size();
}
/**
* repeated .v1.ConfigFile overwriteConfigFiles = 5;
*/
@java.lang.Override
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFile getOverwriteConfigFiles(int index) {
return overwriteConfigFiles_.get(index);
}
/**
* repeated .v1.ConfigFile overwriteConfigFiles = 5;
*/
@java.lang.Override
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileOrBuilder getOverwriteConfigFilesOrBuilder(
int index) {
return overwriteConfigFiles_.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 (code_ != null) {
output.writeMessage(1, getCode());
}
if (info_ != null) {
output.writeMessage(2, getInfo());
}
for (int i = 0; i < createConfigFiles_.size(); i++) {
output.writeMessage(3, createConfigFiles_.get(i));
}
for (int i = 0; i < skipConfigFiles_.size(); i++) {
output.writeMessage(4, skipConfigFiles_.get(i));
}
for (int i = 0; i < overwriteConfigFiles_.size(); i++) {
output.writeMessage(5, overwriteConfigFiles_.get(i));
}
getUnknownFields().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());
}
for (int i = 0; i < createConfigFiles_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, createConfigFiles_.get(i));
}
for (int i = 0; i < skipConfigFiles_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(4, skipConfigFiles_.get(i));
}
for (int i = 0; i < overwriteConfigFiles_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(5, overwriteConfigFiles_.get(i));
}
size += getUnknownFields().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.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigImportResponse)) {
return super.equals(obj);
}
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigImportResponse other = (com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigImportResponse) 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 (!getCreateConfigFilesList()
.equals(other.getCreateConfigFilesList())) return false;
if (!getSkipConfigFilesList()
.equals(other.getSkipConfigFilesList())) return false;
if (!getOverwriteConfigFilesList()
.equals(other.getOverwriteConfigFilesList())) return false;
if (!getUnknownFields().equals(other.getUnknownFields())) 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 (getCreateConfigFilesCount() > 0) {
hash = (37 * hash) + CREATECONFIGFILES_FIELD_NUMBER;
hash = (53 * hash) + getCreateConfigFilesList().hashCode();
}
if (getSkipConfigFilesCount() > 0) {
hash = (37 * hash) + SKIPCONFIGFILES_FIELD_NUMBER;
hash = (53 * hash) + getSkipConfigFilesList().hashCode();
}
if (getOverwriteConfigFilesCount() > 0) {
hash = (37 * hash) + OVERWRITECONFIGFILES_FIELD_NUMBER;
hash = (53 * hash) + getOverwriteConfigFilesList().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigImportResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigImportResponse 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.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigImportResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigImportResponse 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.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigImportResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigImportResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigImportResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigImportResponse 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.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigImportResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigImportResponse 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.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigImportResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigImportResponse 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.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigImportResponse 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.ConfigImportResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:v1.ConfigImportResponse)
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigImportResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.internal_static_v1_ConfigImportResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.internal_static_v1_ConfigImportResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigImportResponse.class, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigImportResponse.Builder.class);
}
// Construct using com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigImportResponse.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@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 (createConfigFilesBuilder_ == null) {
createConfigFiles_ = java.util.Collections.emptyList();
} else {
createConfigFiles_ = null;
createConfigFilesBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000001);
if (skipConfigFilesBuilder_ == null) {
skipConfigFiles_ = java.util.Collections.emptyList();
} else {
skipConfigFiles_ = null;
skipConfigFilesBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000002);
if (overwriteConfigFilesBuilder_ == null) {
overwriteConfigFiles_ = java.util.Collections.emptyList();
} else {
overwriteConfigFiles_ = null;
overwriteConfigFilesBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000004);
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.internal_static_v1_ConfigImportResponse_descriptor;
}
@java.lang.Override
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigImportResponse getDefaultInstanceForType() {
return com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigImportResponse.getDefaultInstance();
}
@java.lang.Override
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigImportResponse build() {
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigImportResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigImportResponse buildPartial() {
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigImportResponse result = new com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigImportResponse(this);
int from_bitField0_ = bitField0_;
if (codeBuilder_ == null) {
result.code_ = code_;
} else {
result.code_ = codeBuilder_.build();
}
if (infoBuilder_ == null) {
result.info_ = info_;
} else {
result.info_ = infoBuilder_.build();
}
if (createConfigFilesBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
createConfigFiles_ = java.util.Collections.unmodifiableList(createConfigFiles_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.createConfigFiles_ = createConfigFiles_;
} else {
result.createConfigFiles_ = createConfigFilesBuilder_.build();
}
if (skipConfigFilesBuilder_ == null) {
if (((bitField0_ & 0x00000002) != 0)) {
skipConfigFiles_ = java.util.Collections.unmodifiableList(skipConfigFiles_);
bitField0_ = (bitField0_ & ~0x00000002);
}
result.skipConfigFiles_ = skipConfigFiles_;
} else {
result.skipConfigFiles_ = skipConfigFilesBuilder_.build();
}
if (overwriteConfigFilesBuilder_ == null) {
if (((bitField0_ & 0x00000004) != 0)) {
overwriteConfigFiles_ = java.util.Collections.unmodifiableList(overwriteConfigFiles_);
bitField0_ = (bitField0_ & ~0x00000004);
}
result.overwriteConfigFiles_ = overwriteConfigFiles_;
} else {
result.overwriteConfigFiles_ = overwriteConfigFilesBuilder_.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.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigImportResponse) {
return mergeFrom((com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigImportResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigImportResponse other) {
if (other == com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigImportResponse.getDefaultInstance()) return this;
if (other.hasCode()) {
mergeCode(other.getCode());
}
if (other.hasInfo()) {
mergeInfo(other.getInfo());
}
if (createConfigFilesBuilder_ == null) {
if (!other.createConfigFiles_.isEmpty()) {
if (createConfigFiles_.isEmpty()) {
createConfigFiles_ = other.createConfigFiles_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureCreateConfigFilesIsMutable();
createConfigFiles_.addAll(other.createConfigFiles_);
}
onChanged();
}
} else {
if (!other.createConfigFiles_.isEmpty()) {
if (createConfigFilesBuilder_.isEmpty()) {
createConfigFilesBuilder_.dispose();
createConfigFilesBuilder_ = null;
createConfigFiles_ = other.createConfigFiles_;
bitField0_ = (bitField0_ & ~0x00000001);
createConfigFilesBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getCreateConfigFilesFieldBuilder() : null;
} else {
createConfigFilesBuilder_.addAllMessages(other.createConfigFiles_);
}
}
}
if (skipConfigFilesBuilder_ == null) {
if (!other.skipConfigFiles_.isEmpty()) {
if (skipConfigFiles_.isEmpty()) {
skipConfigFiles_ = other.skipConfigFiles_;
bitField0_ = (bitField0_ & ~0x00000002);
} else {
ensureSkipConfigFilesIsMutable();
skipConfigFiles_.addAll(other.skipConfigFiles_);
}
onChanged();
}
} else {
if (!other.skipConfigFiles_.isEmpty()) {
if (skipConfigFilesBuilder_.isEmpty()) {
skipConfigFilesBuilder_.dispose();
skipConfigFilesBuilder_ = null;
skipConfigFiles_ = other.skipConfigFiles_;
bitField0_ = (bitField0_ & ~0x00000002);
skipConfigFilesBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getSkipConfigFilesFieldBuilder() : null;
} else {
skipConfigFilesBuilder_.addAllMessages(other.skipConfigFiles_);
}
}
}
if (overwriteConfigFilesBuilder_ == null) {
if (!other.overwriteConfigFiles_.isEmpty()) {
if (overwriteConfigFiles_.isEmpty()) {
overwriteConfigFiles_ = other.overwriteConfigFiles_;
bitField0_ = (bitField0_ & ~0x00000004);
} else {
ensureOverwriteConfigFilesIsMutable();
overwriteConfigFiles_.addAll(other.overwriteConfigFiles_);
}
onChanged();
}
} else {
if (!other.overwriteConfigFiles_.isEmpty()) {
if (overwriteConfigFilesBuilder_.isEmpty()) {
overwriteConfigFilesBuilder_.dispose();
overwriteConfigFilesBuilder_ = null;
overwriteConfigFiles_ = other.overwriteConfigFiles_;
bitField0_ = (bitField0_ & ~0x00000004);
overwriteConfigFilesBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getOverwriteConfigFilesFieldBuilder() : null;
} else {
overwriteConfigFilesBuilder_.addAllMessages(other.overwriteConfigFiles_);
}
}
}
this.mergeUnknownFields(other.getUnknownFields());
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 {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
input.readMessage(
getCodeFieldBuilder().getBuilder(),
extensionRegistry);
break;
} // case 10
case 18: {
input.readMessage(
getInfoFieldBuilder().getBuilder(),
extensionRegistry);
break;
} // case 18
case 26: {
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFile m =
input.readMessage(
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFile.parser(),
extensionRegistry);
if (createConfigFilesBuilder_ == null) {
ensureCreateConfigFilesIsMutable();
createConfigFiles_.add(m);
} else {
createConfigFilesBuilder_.addMessage(m);
}
break;
} // case 26
case 34: {
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFile m =
input.readMessage(
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFile.parser(),
extensionRegistry);
if (skipConfigFilesBuilder_ == null) {
ensureSkipConfigFilesIsMutable();
skipConfigFiles_.add(m);
} else {
skipConfigFilesBuilder_.addMessage(m);
}
break;
} // case 34
case 42: {
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFile m =
input.readMessage(
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFile.parser(),
extensionRegistry);
if (overwriteConfigFilesBuilder_ == null) {
ensureOverwriteConfigFilesIsMutable();
overwriteConfigFiles_.add(m);
} else {
overwriteConfigFilesBuilder_.addMessage(m);
}
break;
} // case 42
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
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 java.util.List createConfigFiles_ =
java.util.Collections.emptyList();
private void ensureCreateConfigFilesIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
createConfigFiles_ = new java.util.ArrayList(createConfigFiles_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFile, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFile.Builder, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileOrBuilder> createConfigFilesBuilder_;
/**
* repeated .v1.ConfigFile createConfigFiles = 3;
*/
public java.util.List getCreateConfigFilesList() {
if (createConfigFilesBuilder_ == null) {
return java.util.Collections.unmodifiableList(createConfigFiles_);
} else {
return createConfigFilesBuilder_.getMessageList();
}
}
/**
* repeated .v1.ConfigFile createConfigFiles = 3;
*/
public int getCreateConfigFilesCount() {
if (createConfigFilesBuilder_ == null) {
return createConfigFiles_.size();
} else {
return createConfigFilesBuilder_.getCount();
}
}
/**
* repeated .v1.ConfigFile createConfigFiles = 3;
*/
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFile getCreateConfigFiles(int index) {
if (createConfigFilesBuilder_ == null) {
return createConfigFiles_.get(index);
} else {
return createConfigFilesBuilder_.getMessage(index);
}
}
/**
* repeated .v1.ConfigFile createConfigFiles = 3;
*/
public Builder setCreateConfigFiles(
int index, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFile value) {
if (createConfigFilesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureCreateConfigFilesIsMutable();
createConfigFiles_.set(index, value);
onChanged();
} else {
createConfigFilesBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .v1.ConfigFile createConfigFiles = 3;
*/
public Builder setCreateConfigFiles(
int index, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFile.Builder builderForValue) {
if (createConfigFilesBuilder_ == null) {
ensureCreateConfigFilesIsMutable();
createConfigFiles_.set(index, builderForValue.build());
onChanged();
} else {
createConfigFilesBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .v1.ConfigFile createConfigFiles = 3;
*/
public Builder addCreateConfigFiles(com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFile value) {
if (createConfigFilesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureCreateConfigFilesIsMutable();
createConfigFiles_.add(value);
onChanged();
} else {
createConfigFilesBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .v1.ConfigFile createConfigFiles = 3;
*/
public Builder addCreateConfigFiles(
int index, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFile value) {
if (createConfigFilesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureCreateConfigFilesIsMutable();
createConfigFiles_.add(index, value);
onChanged();
} else {
createConfigFilesBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .v1.ConfigFile createConfigFiles = 3;
*/
public Builder addCreateConfigFiles(
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFile.Builder builderForValue) {
if (createConfigFilesBuilder_ == null) {
ensureCreateConfigFilesIsMutable();
createConfigFiles_.add(builderForValue.build());
onChanged();
} else {
createConfigFilesBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .v1.ConfigFile createConfigFiles = 3;
*/
public Builder addCreateConfigFiles(
int index, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFile.Builder builderForValue) {
if (createConfigFilesBuilder_ == null) {
ensureCreateConfigFilesIsMutable();
createConfigFiles_.add(index, builderForValue.build());
onChanged();
} else {
createConfigFilesBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .v1.ConfigFile createConfigFiles = 3;
*/
public Builder addAllCreateConfigFiles(
java.lang.Iterable extends com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFile> values) {
if (createConfigFilesBuilder_ == null) {
ensureCreateConfigFilesIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, createConfigFiles_);
onChanged();
} else {
createConfigFilesBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .v1.ConfigFile createConfigFiles = 3;
*/
public Builder clearCreateConfigFiles() {
if (createConfigFilesBuilder_ == null) {
createConfigFiles_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
createConfigFilesBuilder_.clear();
}
return this;
}
/**
* repeated .v1.ConfigFile createConfigFiles = 3;
*/
public Builder removeCreateConfigFiles(int index) {
if (createConfigFilesBuilder_ == null) {
ensureCreateConfigFilesIsMutable();
createConfigFiles_.remove(index);
onChanged();
} else {
createConfigFilesBuilder_.remove(index);
}
return this;
}
/**
* repeated .v1.ConfigFile createConfigFiles = 3;
*/
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFile.Builder getCreateConfigFilesBuilder(
int index) {
return getCreateConfigFilesFieldBuilder().getBuilder(index);
}
/**
* repeated .v1.ConfigFile createConfigFiles = 3;
*/
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileOrBuilder getCreateConfigFilesOrBuilder(
int index) {
if (createConfigFilesBuilder_ == null) {
return createConfigFiles_.get(index); } else {
return createConfigFilesBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .v1.ConfigFile createConfigFiles = 3;
*/
public java.util.List extends com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileOrBuilder>
getCreateConfigFilesOrBuilderList() {
if (createConfigFilesBuilder_ != null) {
return createConfigFilesBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(createConfigFiles_);
}
}
/**
* repeated .v1.ConfigFile createConfigFiles = 3;
*/
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFile.Builder addCreateConfigFilesBuilder() {
return getCreateConfigFilesFieldBuilder().addBuilder(
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFile.getDefaultInstance());
}
/**
* repeated .v1.ConfigFile createConfigFiles = 3;
*/
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFile.Builder addCreateConfigFilesBuilder(
int index) {
return getCreateConfigFilesFieldBuilder().addBuilder(
index, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFile.getDefaultInstance());
}
/**
* repeated .v1.ConfigFile createConfigFiles = 3;
*/
public java.util.List
getCreateConfigFilesBuilderList() {
return getCreateConfigFilesFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFile, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFile.Builder, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileOrBuilder>
getCreateConfigFilesFieldBuilder() {
if (createConfigFilesBuilder_ == null) {
createConfigFilesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFile, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFile.Builder, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileOrBuilder>(
createConfigFiles_,
((bitField0_ & 0x00000001) != 0),
getParentForChildren(),
isClean());
createConfigFiles_ = null;
}
return createConfigFilesBuilder_;
}
private java.util.List skipConfigFiles_ =
java.util.Collections.emptyList();
private void ensureSkipConfigFilesIsMutable() {
if (!((bitField0_ & 0x00000002) != 0)) {
skipConfigFiles_ = new java.util.ArrayList(skipConfigFiles_);
bitField0_ |= 0x00000002;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFile, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFile.Builder, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileOrBuilder> skipConfigFilesBuilder_;
/**
* repeated .v1.ConfigFile skipConfigFiles = 4;
*/
public java.util.List getSkipConfigFilesList() {
if (skipConfigFilesBuilder_ == null) {
return java.util.Collections.unmodifiableList(skipConfigFiles_);
} else {
return skipConfigFilesBuilder_.getMessageList();
}
}
/**
* repeated .v1.ConfigFile skipConfigFiles = 4;
*/
public int getSkipConfigFilesCount() {
if (skipConfigFilesBuilder_ == null) {
return skipConfigFiles_.size();
} else {
return skipConfigFilesBuilder_.getCount();
}
}
/**
* repeated .v1.ConfigFile skipConfigFiles = 4;
*/
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFile getSkipConfigFiles(int index) {
if (skipConfigFilesBuilder_ == null) {
return skipConfigFiles_.get(index);
} else {
return skipConfigFilesBuilder_.getMessage(index);
}
}
/**
* repeated .v1.ConfigFile skipConfigFiles = 4;
*/
public Builder setSkipConfigFiles(
int index, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFile value) {
if (skipConfigFilesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureSkipConfigFilesIsMutable();
skipConfigFiles_.set(index, value);
onChanged();
} else {
skipConfigFilesBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .v1.ConfigFile skipConfigFiles = 4;
*/
public Builder setSkipConfigFiles(
int index, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFile.Builder builderForValue) {
if (skipConfigFilesBuilder_ == null) {
ensureSkipConfigFilesIsMutable();
skipConfigFiles_.set(index, builderForValue.build());
onChanged();
} else {
skipConfigFilesBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .v1.ConfigFile skipConfigFiles = 4;
*/
public Builder addSkipConfigFiles(com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFile value) {
if (skipConfigFilesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureSkipConfigFilesIsMutable();
skipConfigFiles_.add(value);
onChanged();
} else {
skipConfigFilesBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .v1.ConfigFile skipConfigFiles = 4;
*/
public Builder addSkipConfigFiles(
int index, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFile value) {
if (skipConfigFilesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureSkipConfigFilesIsMutable();
skipConfigFiles_.add(index, value);
onChanged();
} else {
skipConfigFilesBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .v1.ConfigFile skipConfigFiles = 4;
*/
public Builder addSkipConfigFiles(
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFile.Builder builderForValue) {
if (skipConfigFilesBuilder_ == null) {
ensureSkipConfigFilesIsMutable();
skipConfigFiles_.add(builderForValue.build());
onChanged();
} else {
skipConfigFilesBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .v1.ConfigFile skipConfigFiles = 4;
*/
public Builder addSkipConfigFiles(
int index, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFile.Builder builderForValue) {
if (skipConfigFilesBuilder_ == null) {
ensureSkipConfigFilesIsMutable();
skipConfigFiles_.add(index, builderForValue.build());
onChanged();
} else {
skipConfigFilesBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .v1.ConfigFile skipConfigFiles = 4;
*/
public Builder addAllSkipConfigFiles(
java.lang.Iterable extends com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFile> values) {
if (skipConfigFilesBuilder_ == null) {
ensureSkipConfigFilesIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, skipConfigFiles_);
onChanged();
} else {
skipConfigFilesBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .v1.ConfigFile skipConfigFiles = 4;
*/
public Builder clearSkipConfigFiles() {
if (skipConfigFilesBuilder_ == null) {
skipConfigFiles_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
} else {
skipConfigFilesBuilder_.clear();
}
return this;
}
/**
* repeated .v1.ConfigFile skipConfigFiles = 4;
*/
public Builder removeSkipConfigFiles(int index) {
if (skipConfigFilesBuilder_ == null) {
ensureSkipConfigFilesIsMutable();
skipConfigFiles_.remove(index);
onChanged();
} else {
skipConfigFilesBuilder_.remove(index);
}
return this;
}
/**
* repeated .v1.ConfigFile skipConfigFiles = 4;
*/
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFile.Builder getSkipConfigFilesBuilder(
int index) {
return getSkipConfigFilesFieldBuilder().getBuilder(index);
}
/**
* repeated .v1.ConfigFile skipConfigFiles = 4;
*/
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileOrBuilder getSkipConfigFilesOrBuilder(
int index) {
if (skipConfigFilesBuilder_ == null) {
return skipConfigFiles_.get(index); } else {
return skipConfigFilesBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .v1.ConfigFile skipConfigFiles = 4;
*/
public java.util.List extends com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileOrBuilder>
getSkipConfigFilesOrBuilderList() {
if (skipConfigFilesBuilder_ != null) {
return skipConfigFilesBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(skipConfigFiles_);
}
}
/**
* repeated .v1.ConfigFile skipConfigFiles = 4;
*/
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFile.Builder addSkipConfigFilesBuilder() {
return getSkipConfigFilesFieldBuilder().addBuilder(
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFile.getDefaultInstance());
}
/**
* repeated .v1.ConfigFile skipConfigFiles = 4;
*/
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFile.Builder addSkipConfigFilesBuilder(
int index) {
return getSkipConfigFilesFieldBuilder().addBuilder(
index, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFile.getDefaultInstance());
}
/**
* repeated .v1.ConfigFile skipConfigFiles = 4;
*/
public java.util.List
getSkipConfigFilesBuilderList() {
return getSkipConfigFilesFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFile, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFile.Builder, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileOrBuilder>
getSkipConfigFilesFieldBuilder() {
if (skipConfigFilesBuilder_ == null) {
skipConfigFilesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFile, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFile.Builder, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileOrBuilder>(
skipConfigFiles_,
((bitField0_ & 0x00000002) != 0),
getParentForChildren(),
isClean());
skipConfigFiles_ = null;
}
return skipConfigFilesBuilder_;
}
private java.util.List overwriteConfigFiles_ =
java.util.Collections.emptyList();
private void ensureOverwriteConfigFilesIsMutable() {
if (!((bitField0_ & 0x00000004) != 0)) {
overwriteConfigFiles_ = new java.util.ArrayList(overwriteConfigFiles_);
bitField0_ |= 0x00000004;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFile, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFile.Builder, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileOrBuilder> overwriteConfigFilesBuilder_;
/**
* repeated .v1.ConfigFile overwriteConfigFiles = 5;
*/
public java.util.List getOverwriteConfigFilesList() {
if (overwriteConfigFilesBuilder_ == null) {
return java.util.Collections.unmodifiableList(overwriteConfigFiles_);
} else {
return overwriteConfigFilesBuilder_.getMessageList();
}
}
/**
* repeated .v1.ConfigFile overwriteConfigFiles = 5;
*/
public int getOverwriteConfigFilesCount() {
if (overwriteConfigFilesBuilder_ == null) {
return overwriteConfigFiles_.size();
} else {
return overwriteConfigFilesBuilder_.getCount();
}
}
/**
* repeated .v1.ConfigFile overwriteConfigFiles = 5;
*/
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFile getOverwriteConfigFiles(int index) {
if (overwriteConfigFilesBuilder_ == null) {
return overwriteConfigFiles_.get(index);
} else {
return overwriteConfigFilesBuilder_.getMessage(index);
}
}
/**
* repeated .v1.ConfigFile overwriteConfigFiles = 5;
*/
public Builder setOverwriteConfigFiles(
int index, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFile value) {
if (overwriteConfigFilesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureOverwriteConfigFilesIsMutable();
overwriteConfigFiles_.set(index, value);
onChanged();
} else {
overwriteConfigFilesBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .v1.ConfigFile overwriteConfigFiles = 5;
*/
public Builder setOverwriteConfigFiles(
int index, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFile.Builder builderForValue) {
if (overwriteConfigFilesBuilder_ == null) {
ensureOverwriteConfigFilesIsMutable();
overwriteConfigFiles_.set(index, builderForValue.build());
onChanged();
} else {
overwriteConfigFilesBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .v1.ConfigFile overwriteConfigFiles = 5;
*/
public Builder addOverwriteConfigFiles(com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFile value) {
if (overwriteConfigFilesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureOverwriteConfigFilesIsMutable();
overwriteConfigFiles_.add(value);
onChanged();
} else {
overwriteConfigFilesBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .v1.ConfigFile overwriteConfigFiles = 5;
*/
public Builder addOverwriteConfigFiles(
int index, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFile value) {
if (overwriteConfigFilesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureOverwriteConfigFilesIsMutable();
overwriteConfigFiles_.add(index, value);
onChanged();
} else {
overwriteConfigFilesBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .v1.ConfigFile overwriteConfigFiles = 5;
*/
public Builder addOverwriteConfigFiles(
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFile.Builder builderForValue) {
if (overwriteConfigFilesBuilder_ == null) {
ensureOverwriteConfigFilesIsMutable();
overwriteConfigFiles_.add(builderForValue.build());
onChanged();
} else {
overwriteConfigFilesBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .v1.ConfigFile overwriteConfigFiles = 5;
*/
public Builder addOverwriteConfigFiles(
int index, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFile.Builder builderForValue) {
if (overwriteConfigFilesBuilder_ == null) {
ensureOverwriteConfigFilesIsMutable();
overwriteConfigFiles_.add(index, builderForValue.build());
onChanged();
} else {
overwriteConfigFilesBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .v1.ConfigFile overwriteConfigFiles = 5;
*/
public Builder addAllOverwriteConfigFiles(
java.lang.Iterable extends com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFile> values) {
if (overwriteConfigFilesBuilder_ == null) {
ensureOverwriteConfigFilesIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, overwriteConfigFiles_);
onChanged();
} else {
overwriteConfigFilesBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .v1.ConfigFile overwriteConfigFiles = 5;
*/
public Builder clearOverwriteConfigFiles() {
if (overwriteConfigFilesBuilder_ == null) {
overwriteConfigFiles_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000004);
onChanged();
} else {
overwriteConfigFilesBuilder_.clear();
}
return this;
}
/**
* repeated .v1.ConfigFile overwriteConfigFiles = 5;
*/
public Builder removeOverwriteConfigFiles(int index) {
if (overwriteConfigFilesBuilder_ == null) {
ensureOverwriteConfigFilesIsMutable();
overwriteConfigFiles_.remove(index);
onChanged();
} else {
overwriteConfigFilesBuilder_.remove(index);
}
return this;
}
/**
* repeated .v1.ConfigFile overwriteConfigFiles = 5;
*/
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFile.Builder getOverwriteConfigFilesBuilder(
int index) {
return getOverwriteConfigFilesFieldBuilder().getBuilder(index);
}
/**
* repeated .v1.ConfigFile overwriteConfigFiles = 5;
*/
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileOrBuilder getOverwriteConfigFilesOrBuilder(
int index) {
if (overwriteConfigFilesBuilder_ == null) {
return overwriteConfigFiles_.get(index); } else {
return overwriteConfigFilesBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .v1.ConfigFile overwriteConfigFiles = 5;
*/
public java.util.List extends com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileOrBuilder>
getOverwriteConfigFilesOrBuilderList() {
if (overwriteConfigFilesBuilder_ != null) {
return overwriteConfigFilesBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(overwriteConfigFiles_);
}
}
/**
* repeated .v1.ConfigFile overwriteConfigFiles = 5;
*/
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFile.Builder addOverwriteConfigFilesBuilder() {
return getOverwriteConfigFilesFieldBuilder().addBuilder(
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFile.getDefaultInstance());
}
/**
* repeated .v1.ConfigFile overwriteConfigFiles = 5;
*/
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFile.Builder addOverwriteConfigFilesBuilder(
int index) {
return getOverwriteConfigFilesFieldBuilder().addBuilder(
index, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFile.getDefaultInstance());
}
/**
* repeated .v1.ConfigFile overwriteConfigFiles = 5;
*/
public java.util.List
getOverwriteConfigFilesBuilderList() {
return getOverwriteConfigFilesFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFile, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFile.Builder, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileOrBuilder>
getOverwriteConfigFilesFieldBuilder() {
if (overwriteConfigFilesBuilder_ == null) {
overwriteConfigFilesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFile, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFile.Builder, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileOrBuilder>(
overwriteConfigFiles_,
((bitField0_ & 0x00000004) != 0),
getParentForChildren(),
isClean());
overwriteConfigFiles_ = null;
}
return overwriteConfigFilesBuilder_;
}
@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.ConfigImportResponse)
}
// @@protoc_insertion_point(class_scope:v1.ConfigImportResponse)
private static final com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigImportResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigImportResponse();
}
public static com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigImportResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public ConfigImportResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
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.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigImportResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface ConfigExportResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:v1.ConfigExportResponse)
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();
/**
* .google.protobuf.BytesValue data = 3;
* @return Whether the data field is set.
*/
boolean hasData();
/**
* .google.protobuf.BytesValue data = 3;
* @return The data.
*/
com.google.protobuf.BytesValue getData();
/**
* .google.protobuf.BytesValue data = 3;
*/
com.google.protobuf.BytesValueOrBuilder getDataOrBuilder();
}
/**
* Protobuf type {@code v1.ConfigExportResponse}
*/
public static final class ConfigExportResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:v1.ConfigExportResponse)
ConfigExportResponseOrBuilder {
private static final long serialVersionUID = 0L;
// Use ConfigExportResponse.newBuilder() to construct.
private ConfigExportResponse(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private ConfigExportResponse() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new ConfigExportResponse();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.internal_static_v1_ConfigExportResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.internal_static_v1_ConfigExportResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigExportResponse.class, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigExportResponse.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 DATA_FIELD_NUMBER = 3;
private com.google.protobuf.BytesValue data_;
/**
* .google.protobuf.BytesValue data = 3;
* @return Whether the data field is set.
*/
@java.lang.Override
public boolean hasData() {
return data_ != null;
}
/**
* .google.protobuf.BytesValue data = 3;
* @return The data.
*/
@java.lang.Override
public com.google.protobuf.BytesValue getData() {
return data_ == null ? com.google.protobuf.BytesValue.getDefaultInstance() : data_;
}
/**
* .google.protobuf.BytesValue data = 3;
*/
@java.lang.Override
public com.google.protobuf.BytesValueOrBuilder getDataOrBuilder() {
return getData();
}
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 (data_ != null) {
output.writeMessage(3, getData());
}
getUnknownFields().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 (data_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, getData());
}
size += getUnknownFields().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.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigExportResponse)) {
return super.equals(obj);
}
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigExportResponse other = (com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigExportResponse) 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 (hasData() != other.hasData()) return false;
if (hasData()) {
if (!getData()
.equals(other.getData())) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) 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 (hasData()) {
hash = (37 * hash) + DATA_FIELD_NUMBER;
hash = (53 * hash) + getData().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigExportResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigExportResponse 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.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigExportResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigExportResponse 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.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigExportResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigExportResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigExportResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigExportResponse 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.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigExportResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigExportResponse 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.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigExportResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigExportResponse 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.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigExportResponse 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.ConfigExportResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:v1.ConfigExportResponse)
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigExportResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.internal_static_v1_ConfigExportResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.internal_static_v1_ConfigExportResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigExportResponse.class, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigExportResponse.Builder.class);
}
// Construct using com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigExportResponse.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@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 (dataBuilder_ == null) {
data_ = null;
} else {
data_ = null;
dataBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.internal_static_v1_ConfigExportResponse_descriptor;
}
@java.lang.Override
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigExportResponse getDefaultInstanceForType() {
return com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigExportResponse.getDefaultInstance();
}
@java.lang.Override
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigExportResponse build() {
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigExportResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigExportResponse buildPartial() {
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigExportResponse result = new com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigExportResponse(this);
if (codeBuilder_ == null) {
result.code_ = code_;
} else {
result.code_ = codeBuilder_.build();
}
if (infoBuilder_ == null) {
result.info_ = info_;
} else {
result.info_ = infoBuilder_.build();
}
if (dataBuilder_ == null) {
result.data_ = data_;
} else {
result.data_ = dataBuilder_.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.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigExportResponse) {
return mergeFrom((com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigExportResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigExportResponse other) {
if (other == com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigExportResponse.getDefaultInstance()) return this;
if (other.hasCode()) {
mergeCode(other.getCode());
}
if (other.hasInfo()) {
mergeInfo(other.getInfo());
}
if (other.hasData()) {
mergeData(other.getData());
}
this.mergeUnknownFields(other.getUnknownFields());
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 {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
input.readMessage(
getCodeFieldBuilder().getBuilder(),
extensionRegistry);
break;
} // case 10
case 18: {
input.readMessage(
getInfoFieldBuilder().getBuilder(),
extensionRegistry);
break;
} // case 18
case 26: {
input.readMessage(
getDataFieldBuilder().getBuilder(),
extensionRegistry);
break;
} // case 26
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
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.google.protobuf.BytesValue data_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.BytesValue, com.google.protobuf.BytesValue.Builder, com.google.protobuf.BytesValueOrBuilder> dataBuilder_;
/**
* .google.protobuf.BytesValue data = 3;
* @return Whether the data field is set.
*/
public boolean hasData() {
return dataBuilder_ != null || data_ != null;
}
/**
* .google.protobuf.BytesValue data = 3;
* @return The data.
*/
public com.google.protobuf.BytesValue getData() {
if (dataBuilder_ == null) {
return data_ == null ? com.google.protobuf.BytesValue.getDefaultInstance() : data_;
} else {
return dataBuilder_.getMessage();
}
}
/**
* .google.protobuf.BytesValue data = 3;
*/
public Builder setData(com.google.protobuf.BytesValue value) {
if (dataBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
data_ = value;
onChanged();
} else {
dataBuilder_.setMessage(value);
}
return this;
}
/**
* .google.protobuf.BytesValue data = 3;
*/
public Builder setData(
com.google.protobuf.BytesValue.Builder builderForValue) {
if (dataBuilder_ == null) {
data_ = builderForValue.build();
onChanged();
} else {
dataBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .google.protobuf.BytesValue data = 3;
*/
public Builder mergeData(com.google.protobuf.BytesValue value) {
if (dataBuilder_ == null) {
if (data_ != null) {
data_ =
com.google.protobuf.BytesValue.newBuilder(data_).mergeFrom(value).buildPartial();
} else {
data_ = value;
}
onChanged();
} else {
dataBuilder_.mergeFrom(value);
}
return this;
}
/**
* .google.protobuf.BytesValue data = 3;
*/
public Builder clearData() {
if (dataBuilder_ == null) {
data_ = null;
onChanged();
} else {
data_ = null;
dataBuilder_ = null;
}
return this;
}
/**
* .google.protobuf.BytesValue data = 3;
*/
public com.google.protobuf.BytesValue.Builder getDataBuilder() {
onChanged();
return getDataFieldBuilder().getBuilder();
}
/**
* .google.protobuf.BytesValue data = 3;
*/
public com.google.protobuf.BytesValueOrBuilder getDataOrBuilder() {
if (dataBuilder_ != null) {
return dataBuilder_.getMessageOrBuilder();
} else {
return data_ == null ?
com.google.protobuf.BytesValue.getDefaultInstance() : data_;
}
}
/**
* .google.protobuf.BytesValue data = 3;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.BytesValue, com.google.protobuf.BytesValue.Builder, com.google.protobuf.BytesValueOrBuilder>
getDataFieldBuilder() {
if (dataBuilder_ == null) {
dataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.BytesValue, com.google.protobuf.BytesValue.Builder, com.google.protobuf.BytesValueOrBuilder>(
getData(),
getParentForChildren(),
isClean());
data_ = null;
}
return dataBuilder_;
}
@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.ConfigExportResponse)
}
// @@protoc_insertion_point(class_scope:v1.ConfigExportResponse)
private static final com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigExportResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigExportResponse();
}
public static com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigExportResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public ConfigExportResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
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.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigExportResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface ConfigEncryptAlgorithmResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:v1.ConfigEncryptAlgorithmResponse)
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();
/**
* repeated .google.protobuf.StringValue algorithms = 3;
*/
java.util.List
getAlgorithmsList();
/**
* repeated .google.protobuf.StringValue algorithms = 3;
*/
com.google.protobuf.StringValue getAlgorithms(int index);
/**
* repeated .google.protobuf.StringValue algorithms = 3;
*/
int getAlgorithmsCount();
/**
* repeated .google.protobuf.StringValue algorithms = 3;
*/
java.util.List extends com.google.protobuf.StringValueOrBuilder>
getAlgorithmsOrBuilderList();
/**
* repeated .google.protobuf.StringValue algorithms = 3;
*/
com.google.protobuf.StringValueOrBuilder getAlgorithmsOrBuilder(
int index);
}
/**
* Protobuf type {@code v1.ConfigEncryptAlgorithmResponse}
*/
public static final class ConfigEncryptAlgorithmResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:v1.ConfigEncryptAlgorithmResponse)
ConfigEncryptAlgorithmResponseOrBuilder {
private static final long serialVersionUID = 0L;
// Use ConfigEncryptAlgorithmResponse.newBuilder() to construct.
private ConfigEncryptAlgorithmResponse(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private ConfigEncryptAlgorithmResponse() {
algorithms_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new ConfigEncryptAlgorithmResponse();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.internal_static_v1_ConfigEncryptAlgorithmResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.internal_static_v1_ConfigEncryptAlgorithmResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigEncryptAlgorithmResponse.class, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigEncryptAlgorithmResponse.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 ALGORITHMS_FIELD_NUMBER = 3;
private java.util.List algorithms_;
/**
* repeated .google.protobuf.StringValue algorithms = 3;
*/
@java.lang.Override
public java.util.List getAlgorithmsList() {
return algorithms_;
}
/**
* repeated .google.protobuf.StringValue algorithms = 3;
*/
@java.lang.Override
public java.util.List extends com.google.protobuf.StringValueOrBuilder>
getAlgorithmsOrBuilderList() {
return algorithms_;
}
/**
* repeated .google.protobuf.StringValue algorithms = 3;
*/
@java.lang.Override
public int getAlgorithmsCount() {
return algorithms_.size();
}
/**
* repeated .google.protobuf.StringValue algorithms = 3;
*/
@java.lang.Override
public com.google.protobuf.StringValue getAlgorithms(int index) {
return algorithms_.get(index);
}
/**
* repeated .google.protobuf.StringValue algorithms = 3;
*/
@java.lang.Override
public com.google.protobuf.StringValueOrBuilder getAlgorithmsOrBuilder(
int index) {
return algorithms_.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 (code_ != null) {
output.writeMessage(1, getCode());
}
if (info_ != null) {
output.writeMessage(2, getInfo());
}
for (int i = 0; i < algorithms_.size(); i++) {
output.writeMessage(3, algorithms_.get(i));
}
getUnknownFields().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());
}
for (int i = 0; i < algorithms_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, algorithms_.get(i));
}
size += getUnknownFields().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.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigEncryptAlgorithmResponse)) {
return super.equals(obj);
}
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigEncryptAlgorithmResponse other = (com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigEncryptAlgorithmResponse) 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 (!getAlgorithmsList()
.equals(other.getAlgorithmsList())) return false;
if (!getUnknownFields().equals(other.getUnknownFields())) 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 (getAlgorithmsCount() > 0) {
hash = (37 * hash) + ALGORITHMS_FIELD_NUMBER;
hash = (53 * hash) + getAlgorithmsList().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigEncryptAlgorithmResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigEncryptAlgorithmResponse 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.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigEncryptAlgorithmResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigEncryptAlgorithmResponse 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.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigEncryptAlgorithmResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigEncryptAlgorithmResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigEncryptAlgorithmResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigEncryptAlgorithmResponse 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.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigEncryptAlgorithmResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigEncryptAlgorithmResponse 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.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigEncryptAlgorithmResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigEncryptAlgorithmResponse 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.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigEncryptAlgorithmResponse 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.ConfigEncryptAlgorithmResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:v1.ConfigEncryptAlgorithmResponse)
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigEncryptAlgorithmResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.internal_static_v1_ConfigEncryptAlgorithmResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.internal_static_v1_ConfigEncryptAlgorithmResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigEncryptAlgorithmResponse.class, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigEncryptAlgorithmResponse.Builder.class);
}
// Construct using com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigEncryptAlgorithmResponse.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@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 (algorithmsBuilder_ == null) {
algorithms_ = java.util.Collections.emptyList();
} else {
algorithms_ = null;
algorithmsBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000001);
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.internal_static_v1_ConfigEncryptAlgorithmResponse_descriptor;
}
@java.lang.Override
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigEncryptAlgorithmResponse getDefaultInstanceForType() {
return com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigEncryptAlgorithmResponse.getDefaultInstance();
}
@java.lang.Override
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigEncryptAlgorithmResponse build() {
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigEncryptAlgorithmResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigEncryptAlgorithmResponse buildPartial() {
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigEncryptAlgorithmResponse result = new com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigEncryptAlgorithmResponse(this);
int from_bitField0_ = bitField0_;
if (codeBuilder_ == null) {
result.code_ = code_;
} else {
result.code_ = codeBuilder_.build();
}
if (infoBuilder_ == null) {
result.info_ = info_;
} else {
result.info_ = infoBuilder_.build();
}
if (algorithmsBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
algorithms_ = java.util.Collections.unmodifiableList(algorithms_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.algorithms_ = algorithms_;
} else {
result.algorithms_ = algorithmsBuilder_.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.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigEncryptAlgorithmResponse) {
return mergeFrom((com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigEncryptAlgorithmResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigEncryptAlgorithmResponse other) {
if (other == com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigEncryptAlgorithmResponse.getDefaultInstance()) return this;
if (other.hasCode()) {
mergeCode(other.getCode());
}
if (other.hasInfo()) {
mergeInfo(other.getInfo());
}
if (algorithmsBuilder_ == null) {
if (!other.algorithms_.isEmpty()) {
if (algorithms_.isEmpty()) {
algorithms_ = other.algorithms_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureAlgorithmsIsMutable();
algorithms_.addAll(other.algorithms_);
}
onChanged();
}
} else {
if (!other.algorithms_.isEmpty()) {
if (algorithmsBuilder_.isEmpty()) {
algorithmsBuilder_.dispose();
algorithmsBuilder_ = null;
algorithms_ = other.algorithms_;
bitField0_ = (bitField0_ & ~0x00000001);
algorithmsBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getAlgorithmsFieldBuilder() : null;
} else {
algorithmsBuilder_.addAllMessages(other.algorithms_);
}
}
}
this.mergeUnknownFields(other.getUnknownFields());
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 {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
input.readMessage(
getCodeFieldBuilder().getBuilder(),
extensionRegistry);
break;
} // case 10
case 18: {
input.readMessage(
getInfoFieldBuilder().getBuilder(),
extensionRegistry);
break;
} // case 18
case 26: {
com.google.protobuf.StringValue m =
input.readMessage(
com.google.protobuf.StringValue.parser(),
extensionRegistry);
if (algorithmsBuilder_ == null) {
ensureAlgorithmsIsMutable();
algorithms_.add(m);
} else {
algorithmsBuilder_.addMessage(m);
}
break;
} // case 26
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
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 java.util.List algorithms_ =
java.util.Collections.emptyList();
private void ensureAlgorithmsIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
algorithms_ = new java.util.ArrayList(algorithms_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder> algorithmsBuilder_;
/**
* repeated .google.protobuf.StringValue algorithms = 3;
*/
public java.util.List getAlgorithmsList() {
if (algorithmsBuilder_ == null) {
return java.util.Collections.unmodifiableList(algorithms_);
} else {
return algorithmsBuilder_.getMessageList();
}
}
/**
* repeated .google.protobuf.StringValue algorithms = 3;
*/
public int getAlgorithmsCount() {
if (algorithmsBuilder_ == null) {
return algorithms_.size();
} else {
return algorithmsBuilder_.getCount();
}
}
/**
* repeated .google.protobuf.StringValue algorithms = 3;
*/
public com.google.protobuf.StringValue getAlgorithms(int index) {
if (algorithmsBuilder_ == null) {
return algorithms_.get(index);
} else {
return algorithmsBuilder_.getMessage(index);
}
}
/**
* repeated .google.protobuf.StringValue algorithms = 3;
*/
public Builder setAlgorithms(
int index, com.google.protobuf.StringValue value) {
if (algorithmsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureAlgorithmsIsMutable();
algorithms_.set(index, value);
onChanged();
} else {
algorithmsBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .google.protobuf.StringValue algorithms = 3;
*/
public Builder setAlgorithms(
int index, com.google.protobuf.StringValue.Builder builderForValue) {
if (algorithmsBuilder_ == null) {
ensureAlgorithmsIsMutable();
algorithms_.set(index, builderForValue.build());
onChanged();
} else {
algorithmsBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .google.protobuf.StringValue algorithms = 3;
*/
public Builder addAlgorithms(com.google.protobuf.StringValue value) {
if (algorithmsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureAlgorithmsIsMutable();
algorithms_.add(value);
onChanged();
} else {
algorithmsBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .google.protobuf.StringValue algorithms = 3;
*/
public Builder addAlgorithms(
int index, com.google.protobuf.StringValue value) {
if (algorithmsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureAlgorithmsIsMutable();
algorithms_.add(index, value);
onChanged();
} else {
algorithmsBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .google.protobuf.StringValue algorithms = 3;
*/
public Builder addAlgorithms(
com.google.protobuf.StringValue.Builder builderForValue) {
if (algorithmsBuilder_ == null) {
ensureAlgorithmsIsMutable();
algorithms_.add(builderForValue.build());
onChanged();
} else {
algorithmsBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .google.protobuf.StringValue algorithms = 3;
*/
public Builder addAlgorithms(
int index, com.google.protobuf.StringValue.Builder builderForValue) {
if (algorithmsBuilder_ == null) {
ensureAlgorithmsIsMutable();
algorithms_.add(index, builderForValue.build());
onChanged();
} else {
algorithmsBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .google.protobuf.StringValue algorithms = 3;
*/
public Builder addAllAlgorithms(
java.lang.Iterable extends com.google.protobuf.StringValue> values) {
if (algorithmsBuilder_ == null) {
ensureAlgorithmsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, algorithms_);
onChanged();
} else {
algorithmsBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .google.protobuf.StringValue algorithms = 3;
*/
public Builder clearAlgorithms() {
if (algorithmsBuilder_ == null) {
algorithms_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
algorithmsBuilder_.clear();
}
return this;
}
/**
* repeated .google.protobuf.StringValue algorithms = 3;
*/
public Builder removeAlgorithms(int index) {
if (algorithmsBuilder_ == null) {
ensureAlgorithmsIsMutable();
algorithms_.remove(index);
onChanged();
} else {
algorithmsBuilder_.remove(index);
}
return this;
}
/**
* repeated .google.protobuf.StringValue algorithms = 3;
*/
public com.google.protobuf.StringValue.Builder getAlgorithmsBuilder(
int index) {
return getAlgorithmsFieldBuilder().getBuilder(index);
}
/**
* repeated .google.protobuf.StringValue algorithms = 3;
*/
public com.google.protobuf.StringValueOrBuilder getAlgorithmsOrBuilder(
int index) {
if (algorithmsBuilder_ == null) {
return algorithms_.get(index); } else {
return algorithmsBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .google.protobuf.StringValue algorithms = 3;
*/
public java.util.List extends com.google.protobuf.StringValueOrBuilder>
getAlgorithmsOrBuilderList() {
if (algorithmsBuilder_ != null) {
return algorithmsBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(algorithms_);
}
}
/**
* repeated .google.protobuf.StringValue algorithms = 3;
*/
public com.google.protobuf.StringValue.Builder addAlgorithmsBuilder() {
return getAlgorithmsFieldBuilder().addBuilder(
com.google.protobuf.StringValue.getDefaultInstance());
}
/**
* repeated .google.protobuf.StringValue algorithms = 3;
*/
public com.google.protobuf.StringValue.Builder addAlgorithmsBuilder(
int index) {
return getAlgorithmsFieldBuilder().addBuilder(
index, com.google.protobuf.StringValue.getDefaultInstance());
}
/**
* repeated .google.protobuf.StringValue algorithms = 3;
*/
public java.util.List
getAlgorithmsBuilderList() {
return getAlgorithmsFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>
getAlgorithmsFieldBuilder() {
if (algorithmsBuilder_ == null) {
algorithmsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>(
algorithms_,
((bitField0_ & 0x00000001) != 0),
getParentForChildren(),
isClean());
algorithms_ = null;
}
return algorithmsBuilder_;
}
@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.ConfigEncryptAlgorithmResponse)
}
// @@protoc_insertion_point(class_scope:v1.ConfigEncryptAlgorithmResponse)
private static final com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigEncryptAlgorithmResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigEncryptAlgorithmResponse();
}
public static com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigEncryptAlgorithmResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public ConfigEncryptAlgorithmResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
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.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigEncryptAlgorithmResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface ConfigClientListResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:v1.ConfigClientListResponse)
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();
/**
* .google.protobuf.StringValue revision = 3;
* @return Whether the revision field is set.
*/
boolean hasRevision();
/**
* .google.protobuf.StringValue revision = 3;
* @return The revision.
*/
com.google.protobuf.StringValue getRevision();
/**
* .google.protobuf.StringValue revision = 3;
*/
com.google.protobuf.StringValueOrBuilder getRevisionOrBuilder();
/**
* string namespace = 4;
* @return The namespace.
*/
java.lang.String getNamespace();
/**
* string namespace = 4;
* @return The bytes for namespace.
*/
com.google.protobuf.ByteString
getNamespaceBytes();
/**
* string group = 5;
* @return The group.
*/
java.lang.String getGroup();
/**
* string group = 5;
* @return The bytes for group.
*/
com.google.protobuf.ByteString
getGroupBytes();
/**
* repeated .v1.ClientConfigFileInfo config_file_infos = 6 [json_name = "config_file_infos"];
*/
java.util.List
getConfigFileInfosList();
/**
* repeated .v1.ClientConfigFileInfo config_file_infos = 6 [json_name = "config_file_infos"];
*/
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientConfigFileInfo getConfigFileInfos(int index);
/**
* repeated .v1.ClientConfigFileInfo config_file_infos = 6 [json_name = "config_file_infos"];
*/
int getConfigFileInfosCount();
/**
* repeated .v1.ClientConfigFileInfo config_file_infos = 6 [json_name = "config_file_infos"];
*/
java.util.List extends com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientConfigFileInfoOrBuilder>
getConfigFileInfosOrBuilderList();
/**
* repeated .v1.ClientConfigFileInfo config_file_infos = 6 [json_name = "config_file_infos"];
*/
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientConfigFileInfoOrBuilder getConfigFileInfosOrBuilder(
int index);
}
/**
* Protobuf type {@code v1.ConfigClientListResponse}
*/
public static final class ConfigClientListResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:v1.ConfigClientListResponse)
ConfigClientListResponseOrBuilder {
private static final long serialVersionUID = 0L;
// Use ConfigClientListResponse.newBuilder() to construct.
private ConfigClientListResponse(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private ConfigClientListResponse() {
namespace_ = "";
group_ = "";
configFileInfos_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new ConfigClientListResponse();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.internal_static_v1_ConfigClientListResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.internal_static_v1_ConfigClientListResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigClientListResponse.class, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigClientListResponse.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 REVISION_FIELD_NUMBER = 3;
private com.google.protobuf.StringValue revision_;
/**
* .google.protobuf.StringValue revision = 3;
* @return Whether the revision field is set.
*/
@java.lang.Override
public boolean hasRevision() {
return revision_ != null;
}
/**
* .google.protobuf.StringValue revision = 3;
* @return The revision.
*/
@java.lang.Override
public com.google.protobuf.StringValue getRevision() {
return revision_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : revision_;
}
/**
* .google.protobuf.StringValue revision = 3;
*/
@java.lang.Override
public com.google.protobuf.StringValueOrBuilder getRevisionOrBuilder() {
return getRevision();
}
public static final int NAMESPACE_FIELD_NUMBER = 4;
private volatile java.lang.Object namespace_;
/**
* string namespace = 4;
* @return The namespace.
*/
@java.lang.Override
public java.lang.String getNamespace() {
java.lang.Object ref = namespace_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
namespace_ = s;
return s;
}
}
/**
* string namespace = 4;
* @return The bytes for namespace.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getNamespaceBytes() {
java.lang.Object ref = namespace_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
namespace_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int GROUP_FIELD_NUMBER = 5;
private volatile java.lang.Object group_;
/**
* string group = 5;
* @return The group.
*/
@java.lang.Override
public java.lang.String getGroup() {
java.lang.Object ref = group_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
group_ = s;
return s;
}
}
/**
* string group = 5;
* @return The bytes for group.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getGroupBytes() {
java.lang.Object ref = group_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
group_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int CONFIG_FILE_INFOS_FIELD_NUMBER = 6;
private java.util.List configFileInfos_;
/**
* repeated .v1.ClientConfigFileInfo config_file_infos = 6 [json_name = "config_file_infos"];
*/
@java.lang.Override
public java.util.List getConfigFileInfosList() {
return configFileInfos_;
}
/**
* repeated .v1.ClientConfigFileInfo config_file_infos = 6 [json_name = "config_file_infos"];
*/
@java.lang.Override
public java.util.List extends com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientConfigFileInfoOrBuilder>
getConfigFileInfosOrBuilderList() {
return configFileInfos_;
}
/**
* repeated .v1.ClientConfigFileInfo config_file_infos = 6 [json_name = "config_file_infos"];
*/
@java.lang.Override
public int getConfigFileInfosCount() {
return configFileInfos_.size();
}
/**
* repeated .v1.ClientConfigFileInfo config_file_infos = 6 [json_name = "config_file_infos"];
*/
@java.lang.Override
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientConfigFileInfo getConfigFileInfos(int index) {
return configFileInfos_.get(index);
}
/**
* repeated .v1.ClientConfigFileInfo config_file_infos = 6 [json_name = "config_file_infos"];
*/
@java.lang.Override
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientConfigFileInfoOrBuilder getConfigFileInfosOrBuilder(
int index) {
return configFileInfos_.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 (code_ != null) {
output.writeMessage(1, getCode());
}
if (info_ != null) {
output.writeMessage(2, getInfo());
}
if (revision_ != null) {
output.writeMessage(3, getRevision());
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(namespace_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, namespace_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(group_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 5, group_);
}
for (int i = 0; i < configFileInfos_.size(); i++) {
output.writeMessage(6, configFileInfos_.get(i));
}
getUnknownFields().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 (revision_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, getRevision());
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(namespace_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, namespace_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(group_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, group_);
}
for (int i = 0; i < configFileInfos_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(6, configFileInfos_.get(i));
}
size += getUnknownFields().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.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigClientListResponse)) {
return super.equals(obj);
}
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigClientListResponse other = (com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigClientListResponse) 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 (hasRevision() != other.hasRevision()) return false;
if (hasRevision()) {
if (!getRevision()
.equals(other.getRevision())) return false;
}
if (!getNamespace()
.equals(other.getNamespace())) return false;
if (!getGroup()
.equals(other.getGroup())) return false;
if (!getConfigFileInfosList()
.equals(other.getConfigFileInfosList())) return false;
if (!getUnknownFields().equals(other.getUnknownFields())) 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 (hasRevision()) {
hash = (37 * hash) + REVISION_FIELD_NUMBER;
hash = (53 * hash) + getRevision().hashCode();
}
hash = (37 * hash) + NAMESPACE_FIELD_NUMBER;
hash = (53 * hash) + getNamespace().hashCode();
hash = (37 * hash) + GROUP_FIELD_NUMBER;
hash = (53 * hash) + getGroup().hashCode();
if (getConfigFileInfosCount() > 0) {
hash = (37 * hash) + CONFIG_FILE_INFOS_FIELD_NUMBER;
hash = (53 * hash) + getConfigFileInfosList().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigClientListResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigClientListResponse 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.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigClientListResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigClientListResponse 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.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigClientListResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigClientListResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigClientListResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigClientListResponse 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.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigClientListResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigClientListResponse 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.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigClientListResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigClientListResponse 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.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigClientListResponse 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.ConfigClientListResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:v1.ConfigClientListResponse)
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigClientListResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.internal_static_v1_ConfigClientListResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.internal_static_v1_ConfigClientListResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigClientListResponse.class, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigClientListResponse.Builder.class);
}
// Construct using com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigClientListResponse.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@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 (revisionBuilder_ == null) {
revision_ = null;
} else {
revision_ = null;
revisionBuilder_ = null;
}
namespace_ = "";
group_ = "";
if (configFileInfosBuilder_ == null) {
configFileInfos_ = java.util.Collections.emptyList();
} else {
configFileInfos_ = null;
configFileInfosBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000001);
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.internal_static_v1_ConfigClientListResponse_descriptor;
}
@java.lang.Override
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigClientListResponse getDefaultInstanceForType() {
return com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigClientListResponse.getDefaultInstance();
}
@java.lang.Override
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigClientListResponse build() {
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigClientListResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigClientListResponse buildPartial() {
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigClientListResponse result = new com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigClientListResponse(this);
int from_bitField0_ = bitField0_;
if (codeBuilder_ == null) {
result.code_ = code_;
} else {
result.code_ = codeBuilder_.build();
}
if (infoBuilder_ == null) {
result.info_ = info_;
} else {
result.info_ = infoBuilder_.build();
}
if (revisionBuilder_ == null) {
result.revision_ = revision_;
} else {
result.revision_ = revisionBuilder_.build();
}
result.namespace_ = namespace_;
result.group_ = group_;
if (configFileInfosBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
configFileInfos_ = java.util.Collections.unmodifiableList(configFileInfos_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.configFileInfos_ = configFileInfos_;
} else {
result.configFileInfos_ = configFileInfosBuilder_.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.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigClientListResponse) {
return mergeFrom((com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigClientListResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigClientListResponse other) {
if (other == com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigClientListResponse.getDefaultInstance()) return this;
if (other.hasCode()) {
mergeCode(other.getCode());
}
if (other.hasInfo()) {
mergeInfo(other.getInfo());
}
if (other.hasRevision()) {
mergeRevision(other.getRevision());
}
if (!other.getNamespace().isEmpty()) {
namespace_ = other.namespace_;
onChanged();
}
if (!other.getGroup().isEmpty()) {
group_ = other.group_;
onChanged();
}
if (configFileInfosBuilder_ == null) {
if (!other.configFileInfos_.isEmpty()) {
if (configFileInfos_.isEmpty()) {
configFileInfos_ = other.configFileInfos_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureConfigFileInfosIsMutable();
configFileInfos_.addAll(other.configFileInfos_);
}
onChanged();
}
} else {
if (!other.configFileInfos_.isEmpty()) {
if (configFileInfosBuilder_.isEmpty()) {
configFileInfosBuilder_.dispose();
configFileInfosBuilder_ = null;
configFileInfos_ = other.configFileInfos_;
bitField0_ = (bitField0_ & ~0x00000001);
configFileInfosBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getConfigFileInfosFieldBuilder() : null;
} else {
configFileInfosBuilder_.addAllMessages(other.configFileInfos_);
}
}
}
this.mergeUnknownFields(other.getUnknownFields());
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 {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
input.readMessage(
getCodeFieldBuilder().getBuilder(),
extensionRegistry);
break;
} // case 10
case 18: {
input.readMessage(
getInfoFieldBuilder().getBuilder(),
extensionRegistry);
break;
} // case 18
case 26: {
input.readMessage(
getRevisionFieldBuilder().getBuilder(),
extensionRegistry);
break;
} // case 26
case 34: {
namespace_ = input.readStringRequireUtf8();
break;
} // case 34
case 42: {
group_ = input.readStringRequireUtf8();
break;
} // case 42
case 50: {
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientConfigFileInfo m =
input.readMessage(
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientConfigFileInfo.parser(),
extensionRegistry);
if (configFileInfosBuilder_ == null) {
ensureConfigFileInfosIsMutable();
configFileInfos_.add(m);
} else {
configFileInfosBuilder_.addMessage(m);
}
break;
} // case 50
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
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.google.protobuf.StringValue revision_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder> revisionBuilder_;
/**
* .google.protobuf.StringValue revision = 3;
* @return Whether the revision field is set.
*/
public boolean hasRevision() {
return revisionBuilder_ != null || revision_ != null;
}
/**
* .google.protobuf.StringValue revision = 3;
* @return The revision.
*/
public com.google.protobuf.StringValue getRevision() {
if (revisionBuilder_ == null) {
return revision_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : revision_;
} else {
return revisionBuilder_.getMessage();
}
}
/**
* .google.protobuf.StringValue revision = 3;
*/
public Builder setRevision(com.google.protobuf.StringValue value) {
if (revisionBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
revision_ = value;
onChanged();
} else {
revisionBuilder_.setMessage(value);
}
return this;
}
/**
* .google.protobuf.StringValue revision = 3;
*/
public Builder setRevision(
com.google.protobuf.StringValue.Builder builderForValue) {
if (revisionBuilder_ == null) {
revision_ = builderForValue.build();
onChanged();
} else {
revisionBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .google.protobuf.StringValue revision = 3;
*/
public Builder mergeRevision(com.google.protobuf.StringValue value) {
if (revisionBuilder_ == null) {
if (revision_ != null) {
revision_ =
com.google.protobuf.StringValue.newBuilder(revision_).mergeFrom(value).buildPartial();
} else {
revision_ = value;
}
onChanged();
} else {
revisionBuilder_.mergeFrom(value);
}
return this;
}
/**
* .google.protobuf.StringValue revision = 3;
*/
public Builder clearRevision() {
if (revisionBuilder_ == null) {
revision_ = null;
onChanged();
} else {
revision_ = null;
revisionBuilder_ = null;
}
return this;
}
/**
* .google.protobuf.StringValue revision = 3;
*/
public com.google.protobuf.StringValue.Builder getRevisionBuilder() {
onChanged();
return getRevisionFieldBuilder().getBuilder();
}
/**
* .google.protobuf.StringValue revision = 3;
*/
public com.google.protobuf.StringValueOrBuilder getRevisionOrBuilder() {
if (revisionBuilder_ != null) {
return revisionBuilder_.getMessageOrBuilder();
} else {
return revision_ == null ?
com.google.protobuf.StringValue.getDefaultInstance() : revision_;
}
}
/**
* .google.protobuf.StringValue revision = 3;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>
getRevisionFieldBuilder() {
if (revisionBuilder_ == null) {
revisionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>(
getRevision(),
getParentForChildren(),
isClean());
revision_ = null;
}
return revisionBuilder_;
}
private java.lang.Object namespace_ = "";
/**
* string namespace = 4;
* @return The namespace.
*/
public java.lang.String getNamespace() {
java.lang.Object ref = namespace_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
namespace_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string namespace = 4;
* @return The bytes for namespace.
*/
public com.google.protobuf.ByteString
getNamespaceBytes() {
java.lang.Object ref = namespace_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
namespace_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string namespace = 4;
* @param value The namespace to set.
* @return This builder for chaining.
*/
public Builder setNamespace(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
namespace_ = value;
onChanged();
return this;
}
/**
* string namespace = 4;
* @return This builder for chaining.
*/
public Builder clearNamespace() {
namespace_ = getDefaultInstance().getNamespace();
onChanged();
return this;
}
/**
* string namespace = 4;
* @param value The bytes for namespace to set.
* @return This builder for chaining.
*/
public Builder setNamespaceBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
namespace_ = value;
onChanged();
return this;
}
private java.lang.Object group_ = "";
/**
* string group = 5;
* @return The group.
*/
public java.lang.String getGroup() {
java.lang.Object ref = group_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
group_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string group = 5;
* @return The bytes for group.
*/
public com.google.protobuf.ByteString
getGroupBytes() {
java.lang.Object ref = group_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
group_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string group = 5;
* @param value The group to set.
* @return This builder for chaining.
*/
public Builder setGroup(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
group_ = value;
onChanged();
return this;
}
/**
* string group = 5;
* @return This builder for chaining.
*/
public Builder clearGroup() {
group_ = getDefaultInstance().getGroup();
onChanged();
return this;
}
/**
* string group = 5;
* @param value The bytes for group to set.
* @return This builder for chaining.
*/
public Builder setGroupBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
group_ = value;
onChanged();
return this;
}
private java.util.List configFileInfos_ =
java.util.Collections.emptyList();
private void ensureConfigFileInfosIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
configFileInfos_ = new java.util.ArrayList(configFileInfos_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientConfigFileInfo, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientConfigFileInfo.Builder, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientConfigFileInfoOrBuilder> configFileInfosBuilder_;
/**
* repeated .v1.ClientConfigFileInfo config_file_infos = 6 [json_name = "config_file_infos"];
*/
public java.util.List getConfigFileInfosList() {
if (configFileInfosBuilder_ == null) {
return java.util.Collections.unmodifiableList(configFileInfos_);
} else {
return configFileInfosBuilder_.getMessageList();
}
}
/**
* repeated .v1.ClientConfigFileInfo config_file_infos = 6 [json_name = "config_file_infos"];
*/
public int getConfigFileInfosCount() {
if (configFileInfosBuilder_ == null) {
return configFileInfos_.size();
} else {
return configFileInfosBuilder_.getCount();
}
}
/**
* repeated .v1.ClientConfigFileInfo config_file_infos = 6 [json_name = "config_file_infos"];
*/
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientConfigFileInfo getConfigFileInfos(int index) {
if (configFileInfosBuilder_ == null) {
return configFileInfos_.get(index);
} else {
return configFileInfosBuilder_.getMessage(index);
}
}
/**
* repeated .v1.ClientConfigFileInfo config_file_infos = 6 [json_name = "config_file_infos"];
*/
public Builder setConfigFileInfos(
int index, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientConfigFileInfo value) {
if (configFileInfosBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureConfigFileInfosIsMutable();
configFileInfos_.set(index, value);
onChanged();
} else {
configFileInfosBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .v1.ClientConfigFileInfo config_file_infos = 6 [json_name = "config_file_infos"];
*/
public Builder setConfigFileInfos(
int index, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientConfigFileInfo.Builder builderForValue) {
if (configFileInfosBuilder_ == null) {
ensureConfigFileInfosIsMutable();
configFileInfos_.set(index, builderForValue.build());
onChanged();
} else {
configFileInfosBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .v1.ClientConfigFileInfo config_file_infos = 6 [json_name = "config_file_infos"];
*/
public Builder addConfigFileInfos(com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientConfigFileInfo value) {
if (configFileInfosBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureConfigFileInfosIsMutable();
configFileInfos_.add(value);
onChanged();
} else {
configFileInfosBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .v1.ClientConfigFileInfo config_file_infos = 6 [json_name = "config_file_infos"];
*/
public Builder addConfigFileInfos(
int index, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientConfigFileInfo value) {
if (configFileInfosBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureConfigFileInfosIsMutable();
configFileInfos_.add(index, value);
onChanged();
} else {
configFileInfosBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .v1.ClientConfigFileInfo config_file_infos = 6 [json_name = "config_file_infos"];
*/
public Builder addConfigFileInfos(
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientConfigFileInfo.Builder builderForValue) {
if (configFileInfosBuilder_ == null) {
ensureConfigFileInfosIsMutable();
configFileInfos_.add(builderForValue.build());
onChanged();
} else {
configFileInfosBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .v1.ClientConfigFileInfo config_file_infos = 6 [json_name = "config_file_infos"];
*/
public Builder addConfigFileInfos(
int index, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientConfigFileInfo.Builder builderForValue) {
if (configFileInfosBuilder_ == null) {
ensureConfigFileInfosIsMutable();
configFileInfos_.add(index, builderForValue.build());
onChanged();
} else {
configFileInfosBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .v1.ClientConfigFileInfo config_file_infos = 6 [json_name = "config_file_infos"];
*/
public Builder addAllConfigFileInfos(
java.lang.Iterable extends com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientConfigFileInfo> values) {
if (configFileInfosBuilder_ == null) {
ensureConfigFileInfosIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, configFileInfos_);
onChanged();
} else {
configFileInfosBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .v1.ClientConfigFileInfo config_file_infos = 6 [json_name = "config_file_infos"];
*/
public Builder clearConfigFileInfos() {
if (configFileInfosBuilder_ == null) {
configFileInfos_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
configFileInfosBuilder_.clear();
}
return this;
}
/**
* repeated .v1.ClientConfigFileInfo config_file_infos = 6 [json_name = "config_file_infos"];
*/
public Builder removeConfigFileInfos(int index) {
if (configFileInfosBuilder_ == null) {
ensureConfigFileInfosIsMutable();
configFileInfos_.remove(index);
onChanged();
} else {
configFileInfosBuilder_.remove(index);
}
return this;
}
/**
* repeated .v1.ClientConfigFileInfo config_file_infos = 6 [json_name = "config_file_infos"];
*/
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientConfigFileInfo.Builder getConfigFileInfosBuilder(
int index) {
return getConfigFileInfosFieldBuilder().getBuilder(index);
}
/**
* repeated .v1.ClientConfigFileInfo config_file_infos = 6 [json_name = "config_file_infos"];
*/
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientConfigFileInfoOrBuilder getConfigFileInfosOrBuilder(
int index) {
if (configFileInfosBuilder_ == null) {
return configFileInfos_.get(index); } else {
return configFileInfosBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .v1.ClientConfigFileInfo config_file_infos = 6 [json_name = "config_file_infos"];
*/
public java.util.List extends com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientConfigFileInfoOrBuilder>
getConfigFileInfosOrBuilderList() {
if (configFileInfosBuilder_ != null) {
return configFileInfosBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(configFileInfos_);
}
}
/**
* repeated .v1.ClientConfigFileInfo config_file_infos = 6 [json_name = "config_file_infos"];
*/
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientConfigFileInfo.Builder addConfigFileInfosBuilder() {
return getConfigFileInfosFieldBuilder().addBuilder(
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientConfigFileInfo.getDefaultInstance());
}
/**
* repeated .v1.ClientConfigFileInfo config_file_infos = 6 [json_name = "config_file_infos"];
*/
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientConfigFileInfo.Builder addConfigFileInfosBuilder(
int index) {
return getConfigFileInfosFieldBuilder().addBuilder(
index, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientConfigFileInfo.getDefaultInstance());
}
/**
* repeated .v1.ClientConfigFileInfo config_file_infos = 6 [json_name = "config_file_infos"];
*/
public java.util.List
getConfigFileInfosBuilderList() {
return getConfigFileInfosFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientConfigFileInfo, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientConfigFileInfo.Builder, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientConfigFileInfoOrBuilder>
getConfigFileInfosFieldBuilder() {
if (configFileInfosBuilder_ == null) {
configFileInfosBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientConfigFileInfo, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientConfigFileInfo.Builder, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientConfigFileInfoOrBuilder>(
configFileInfos_,
((bitField0_ & 0x00000001) != 0),
getParentForChildren(),
isClean());
configFileInfos_ = null;
}
return configFileInfosBuilder_;
}
@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.ConfigClientListResponse)
}
// @@protoc_insertion_point(class_scope:v1.ConfigClientListResponse)
private static final com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigClientListResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigClientListResponse();
}
public static com.tencent.polaris.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigClientListResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public ConfigClientListResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
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.specification.api.v1.config.manage.ConfigFileResponseProto.ConfigClientListResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_v1_ConfigSimpleResponse_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_v1_ConfigSimpleResponse_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_v1_ConfigResponse_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_v1_ConfigResponse_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_v1_ConfigBatchWriteResponse_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_v1_ConfigBatchWriteResponse_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_v1_ConfigBatchQueryResponse_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_v1_ConfigBatchQueryResponse_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_v1_ConfigClientResponse_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_v1_ConfigClientResponse_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_v1_ConfigImportResponse_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_v1_ConfigImportResponse_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_v1_ConfigExportResponse_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_v1_ConfigExportResponse_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_v1_ConfigEncryptAlgorithmResponse_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_v1_ConfigEncryptAlgorithmResponse_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_v1_ConfigClientListResponse_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_v1_ConfigClientListResponse_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\032config_file_response.proto\022\002v1\032\036google" +
"/protobuf/wrappers.proto\032\021config_file.pr" +
"oto\"n\n\024ConfigSimpleResponse\022*\n\004code\030\001 \001(" +
"\0132\034.google.protobuf.UInt32Value\022*\n\004info\030" +
"\002 \001(\0132\034.google.protobuf.StringValue\"\340\002\n\016" +
"ConfigResponse\022*\n\004code\030\001 \001(\0132\034.google.pr" +
"otobuf.UInt32Value\022*\n\004info\030\002 \001(\0132\034.googl" +
"e.protobuf.StringValue\022,\n\017configFileGrou" +
"p\030\003 \001(\0132\023.v1.ConfigFileGroup\022\"\n\nconfigFi" +
"le\030\004 \001(\0132\016.v1.ConfigFile\0220\n\021configFileRe" +
"lease\030\005 \001(\0132\025.v1.ConfigFileRelease\022>\n\030co" +
"nfigFileReleaseHistory\030\006 \001(\0132\034.v1.Config" +
"FileReleaseHistory\0222\n\022configFileTemplate" +
"\030\007 \001(\0132\026.v1.ConfigFileTemplate\"\306\001\n\030Confi" +
"gBatchWriteResponse\022*\n\004code\030\001 \001(\0132\034.goog" +
"le.protobuf.UInt32Value\022*\n\004info\030\002 \001(\0132\034." +
"google.protobuf.StringValue\022+\n\005total\030\003 \001" +
"(\0132\034.google.protobuf.UInt32Value\022%\n\tresp" +
"onses\030\004 \003(\0132\022.v1.ConfigResponse\"\235\003\n\030Conf" +
"igBatchQueryResponse\022*\n\004code\030\001 \001(\0132\034.goo" +
"gle.protobuf.UInt32Value\022*\n\004info\030\002 \001(\0132\034" +
".google.protobuf.StringValue\022+\n\005total\030\003 " +
"\001(\0132\034.google.protobuf.UInt32Value\022-\n\020con" +
"figFileGroups\030\004 \003(\0132\023.v1.ConfigFileGroup" +
"\022#\n\013configFiles\030\005 \003(\0132\016.v1.ConfigFile\0221\n" +
"\022configFileReleases\030\006 \003(\0132\025.v1.ConfigFil" +
"eRelease\022@\n\032configFileReleaseHistories\030\007" +
" \003(\0132\034.v1.ConfigFileReleaseHistory\0223\n\023co" +
"nfigFileTemplates\030\010 \003(\0132\026.v1.ConfigFileT" +
"emplate\"\234\001\n\024ConfigClientResponse\022*\n\004code" +
"\030\001 \001(\0132\034.google.protobuf.UInt32Value\022*\n\004" +
"info\030\002 \001(\0132\034.google.protobuf.StringValue" +
"\022,\n\nconfigFile\030\003 \001(\0132\030.v1.ClientConfigFi" +
"leInfo\"\360\001\n\024ConfigImportResponse\022*\n\004code\030" +
"\001 \001(\0132\034.google.protobuf.UInt32Value\022*\n\004i" +
"nfo\030\002 \001(\0132\034.google.protobuf.StringValue\022" +
")\n\021createConfigFiles\030\003 \003(\0132\016.v1.ConfigFi" +
"le\022\'\n\017skipConfigFiles\030\004 \003(\0132\016.v1.ConfigF" +
"ile\022,\n\024overwriteConfigFiles\030\005 \003(\0132\016.v1.C" +
"onfigFile\"\231\001\n\024ConfigExportResponse\022*\n\004co" +
"de\030\001 \001(\0132\034.google.protobuf.UInt32Value\022*" +
"\n\004info\030\002 \001(\0132\034.google.protobuf.StringVal" +
"ue\022)\n\004data\030\003 \001(\0132\033.google.protobuf.Bytes" +
"Value\"\252\001\n\036ConfigEncryptAlgorithmResponse" +
"\022*\n\004code\030\001 \001(\0132\034.google.protobuf.UInt32V" +
"alue\022*\n\004info\030\002 \001(\0132\034.google.protobuf.Str" +
"ingValue\0220\n\nalgorithms\030\003 \003(\0132\034.google.pr" +
"otobuf.StringValue\"\214\002\n\030ConfigClientListR" +
"esponse\022*\n\004code\030\001 \001(\0132\034.google.protobuf." +
"UInt32Value\022*\n\004info\030\002 \001(\0132\034.google.proto" +
"buf.StringValue\022.\n\010revision\030\003 \001(\0132\034.goog" +
"le.protobuf.StringValue\022\021\n\tnamespace\030\004 \001" +
"(\t\022\r\n\005group\030\005 \001(\t\022F\n\021config_file_infos\030\006" +
" \003(\0132\030.v1.ClientConfigFileInfoR\021config_f" +
"ile_infosB\226\001\n6com.tencent.polaris.specif" +
"ication.api.v1.config.manageB\027ConfigFile" +
"ResponseProtoZCgithub.com/polarismesh/sp" +
"ecification/source/go/api/v1/config_mana" +
"geb\006proto3"
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
com.google.protobuf.WrappersProto.getDescriptor(),
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.getDescriptor(),
});
internal_static_v1_ConfigSimpleResponse_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_v1_ConfigSimpleResponse_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_v1_ConfigSimpleResponse_descriptor,
new java.lang.String[] { "Code", "Info", });
internal_static_v1_ConfigResponse_descriptor =
getDescriptor().getMessageTypes().get(1);
internal_static_v1_ConfigResponse_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_v1_ConfigResponse_descriptor,
new java.lang.String[] { "Code", "Info", "ConfigFileGroup", "ConfigFile", "ConfigFileRelease", "ConfigFileReleaseHistory", "ConfigFileTemplate", });
internal_static_v1_ConfigBatchWriteResponse_descriptor =
getDescriptor().getMessageTypes().get(2);
internal_static_v1_ConfigBatchWriteResponse_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_v1_ConfigBatchWriteResponse_descriptor,
new java.lang.String[] { "Code", "Info", "Total", "Responses", });
internal_static_v1_ConfigBatchQueryResponse_descriptor =
getDescriptor().getMessageTypes().get(3);
internal_static_v1_ConfigBatchQueryResponse_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_v1_ConfigBatchQueryResponse_descriptor,
new java.lang.String[] { "Code", "Info", "Total", "ConfigFileGroups", "ConfigFiles", "ConfigFileReleases", "ConfigFileReleaseHistories", "ConfigFileTemplates", });
internal_static_v1_ConfigClientResponse_descriptor =
getDescriptor().getMessageTypes().get(4);
internal_static_v1_ConfigClientResponse_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_v1_ConfigClientResponse_descriptor,
new java.lang.String[] { "Code", "Info", "ConfigFile", });
internal_static_v1_ConfigImportResponse_descriptor =
getDescriptor().getMessageTypes().get(5);
internal_static_v1_ConfigImportResponse_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_v1_ConfigImportResponse_descriptor,
new java.lang.String[] { "Code", "Info", "CreateConfigFiles", "SkipConfigFiles", "OverwriteConfigFiles", });
internal_static_v1_ConfigExportResponse_descriptor =
getDescriptor().getMessageTypes().get(6);
internal_static_v1_ConfigExportResponse_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_v1_ConfigExportResponse_descriptor,
new java.lang.String[] { "Code", "Info", "Data", });
internal_static_v1_ConfigEncryptAlgorithmResponse_descriptor =
getDescriptor().getMessageTypes().get(7);
internal_static_v1_ConfigEncryptAlgorithmResponse_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_v1_ConfigEncryptAlgorithmResponse_descriptor,
new java.lang.String[] { "Code", "Info", "Algorithms", });
internal_static_v1_ConfigClientListResponse_descriptor =
getDescriptor().getMessageTypes().get(8);
internal_static_v1_ConfigClientListResponse_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_v1_ConfigClientListResponse_descriptor,
new java.lang.String[] { "Code", "Info", "Revision", "Namespace", "Group", "ConfigFileInfos", });
com.google.protobuf.WrappersProto.getDescriptor();
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.getDescriptor();
}
// @@protoc_insertion_point(outer_class_scope)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy