com.tencent.polaris.specification.api.v1.service.manage.ConfigReleaseProto 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: configrelease.proto
package com.tencent.polaris.specification.api.v1.service.manage;
public final class ConfigReleaseProto {
private ConfigReleaseProto() {}
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 ConfigReleaseOrBuilder extends
// @@protoc_insertion_point(interface_extends:v1.ConfigRelease)
com.google.protobuf.MessageOrBuilder {
/**
* .v1.Service service = 1;
* @return Whether the service field is set.
*/
boolean hasService();
/**
* .v1.Service service = 1;
* @return The service.
*/
com.tencent.polaris.specification.api.v1.service.manage.ServiceProto.Service getService();
/**
* .v1.Service service = 1;
*/
com.tencent.polaris.specification.api.v1.service.manage.ServiceProto.ServiceOrBuilder getServiceOrBuilder();
/**
* .google.protobuf.StringValue ctime = 2;
* @return Whether the ctime field is set.
*/
boolean hasCtime();
/**
* .google.protobuf.StringValue ctime = 2;
* @return The ctime.
*/
com.google.protobuf.StringValue getCtime();
/**
* .google.protobuf.StringValue ctime = 2;
*/
com.google.protobuf.StringValueOrBuilder getCtimeOrBuilder();
/**
* .google.protobuf.StringValue mtime = 3;
* @return Whether the mtime field is set.
*/
boolean hasMtime();
/**
* .google.protobuf.StringValue mtime = 3;
* @return The mtime.
*/
com.google.protobuf.StringValue getMtime();
/**
* .google.protobuf.StringValue mtime = 3;
*/
com.google.protobuf.StringValueOrBuilder getMtimeOrBuilder();
/**
* .v1.CircuitBreaker circuitBreaker = 4;
* @return Whether the circuitBreaker field is set.
*/
boolean hasCircuitBreaker();
/**
* .v1.CircuitBreaker circuitBreaker = 4;
* @return The circuitBreaker.
*/
com.tencent.polaris.specification.api.v1.fault.tolerance.CircuitBreakerProto.CircuitBreaker getCircuitBreaker();
/**
* .v1.CircuitBreaker circuitBreaker = 4;
*/
com.tencent.polaris.specification.api.v1.fault.tolerance.CircuitBreakerProto.CircuitBreakerOrBuilder getCircuitBreakerOrBuilder();
}
/**
* Protobuf type {@code v1.ConfigRelease}
*/
public static final class ConfigRelease extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:v1.ConfigRelease)
ConfigReleaseOrBuilder {
private static final long serialVersionUID = 0L;
// Use ConfigRelease.newBuilder() to construct.
private ConfigRelease(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private ConfigRelease() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new ConfigRelease();
}
@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.service.manage.ConfigReleaseProto.internal_static_v1_ConfigRelease_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.tencent.polaris.specification.api.v1.service.manage.ConfigReleaseProto.internal_static_v1_ConfigRelease_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.tencent.polaris.specification.api.v1.service.manage.ConfigReleaseProto.ConfigRelease.class, com.tencent.polaris.specification.api.v1.service.manage.ConfigReleaseProto.ConfigRelease.Builder.class);
}
public static final int SERVICE_FIELD_NUMBER = 1;
private com.tencent.polaris.specification.api.v1.service.manage.ServiceProto.Service service_;
/**
* .v1.Service service = 1;
* @return Whether the service field is set.
*/
@java.lang.Override
public boolean hasService() {
return service_ != null;
}
/**
* .v1.Service service = 1;
* @return The service.
*/
@java.lang.Override
public com.tencent.polaris.specification.api.v1.service.manage.ServiceProto.Service getService() {
return service_ == null ? com.tencent.polaris.specification.api.v1.service.manage.ServiceProto.Service.getDefaultInstance() : service_;
}
/**
* .v1.Service service = 1;
*/
@java.lang.Override
public com.tencent.polaris.specification.api.v1.service.manage.ServiceProto.ServiceOrBuilder getServiceOrBuilder() {
return getService();
}
public static final int CTIME_FIELD_NUMBER = 2;
private com.google.protobuf.StringValue ctime_;
/**
* .google.protobuf.StringValue ctime = 2;
* @return Whether the ctime field is set.
*/
@java.lang.Override
public boolean hasCtime() {
return ctime_ != null;
}
/**
* .google.protobuf.StringValue ctime = 2;
* @return The ctime.
*/
@java.lang.Override
public com.google.protobuf.StringValue getCtime() {
return ctime_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : ctime_;
}
/**
* .google.protobuf.StringValue ctime = 2;
*/
@java.lang.Override
public com.google.protobuf.StringValueOrBuilder getCtimeOrBuilder() {
return getCtime();
}
public static final int MTIME_FIELD_NUMBER = 3;
private com.google.protobuf.StringValue mtime_;
/**
* .google.protobuf.StringValue mtime = 3;
* @return Whether the mtime field is set.
*/
@java.lang.Override
public boolean hasMtime() {
return mtime_ != null;
}
/**
* .google.protobuf.StringValue mtime = 3;
* @return The mtime.
*/
@java.lang.Override
public com.google.protobuf.StringValue getMtime() {
return mtime_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : mtime_;
}
/**
* .google.protobuf.StringValue mtime = 3;
*/
@java.lang.Override
public com.google.protobuf.StringValueOrBuilder getMtimeOrBuilder() {
return getMtime();
}
public static final int CIRCUITBREAKER_FIELD_NUMBER = 4;
private com.tencent.polaris.specification.api.v1.fault.tolerance.CircuitBreakerProto.CircuitBreaker circuitBreaker_;
/**
* .v1.CircuitBreaker circuitBreaker = 4;
* @return Whether the circuitBreaker field is set.
*/
@java.lang.Override
public boolean hasCircuitBreaker() {
return circuitBreaker_ != null;
}
/**
* .v1.CircuitBreaker circuitBreaker = 4;
* @return The circuitBreaker.
*/
@java.lang.Override
public com.tencent.polaris.specification.api.v1.fault.tolerance.CircuitBreakerProto.CircuitBreaker getCircuitBreaker() {
return circuitBreaker_ == null ? com.tencent.polaris.specification.api.v1.fault.tolerance.CircuitBreakerProto.CircuitBreaker.getDefaultInstance() : circuitBreaker_;
}
/**
* .v1.CircuitBreaker circuitBreaker = 4;
*/
@java.lang.Override
public com.tencent.polaris.specification.api.v1.fault.tolerance.CircuitBreakerProto.CircuitBreakerOrBuilder getCircuitBreakerOrBuilder() {
return getCircuitBreaker();
}
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 (service_ != null) {
output.writeMessage(1, getService());
}
if (ctime_ != null) {
output.writeMessage(2, getCtime());
}
if (mtime_ != null) {
output.writeMessage(3, getMtime());
}
if (circuitBreaker_ != null) {
output.writeMessage(4, getCircuitBreaker());
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (service_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getService());
}
if (ctime_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, getCtime());
}
if (mtime_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, getMtime());
}
if (circuitBreaker_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(4, getCircuitBreaker());
}
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.service.manage.ConfigReleaseProto.ConfigRelease)) {
return super.equals(obj);
}
com.tencent.polaris.specification.api.v1.service.manage.ConfigReleaseProto.ConfigRelease other = (com.tencent.polaris.specification.api.v1.service.manage.ConfigReleaseProto.ConfigRelease) obj;
if (hasService() != other.hasService()) return false;
if (hasService()) {
if (!getService()
.equals(other.getService())) return false;
}
if (hasCtime() != other.hasCtime()) return false;
if (hasCtime()) {
if (!getCtime()
.equals(other.getCtime())) return false;
}
if (hasMtime() != other.hasMtime()) return false;
if (hasMtime()) {
if (!getMtime()
.equals(other.getMtime())) return false;
}
if (hasCircuitBreaker() != other.hasCircuitBreaker()) return false;
if (hasCircuitBreaker()) {
if (!getCircuitBreaker()
.equals(other.getCircuitBreaker())) 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 (hasService()) {
hash = (37 * hash) + SERVICE_FIELD_NUMBER;
hash = (53 * hash) + getService().hashCode();
}
if (hasCtime()) {
hash = (37 * hash) + CTIME_FIELD_NUMBER;
hash = (53 * hash) + getCtime().hashCode();
}
if (hasMtime()) {
hash = (37 * hash) + MTIME_FIELD_NUMBER;
hash = (53 * hash) + getMtime().hashCode();
}
if (hasCircuitBreaker()) {
hash = (37 * hash) + CIRCUITBREAKER_FIELD_NUMBER;
hash = (53 * hash) + getCircuitBreaker().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.tencent.polaris.specification.api.v1.service.manage.ConfigReleaseProto.ConfigRelease parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.tencent.polaris.specification.api.v1.service.manage.ConfigReleaseProto.ConfigRelease 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.service.manage.ConfigReleaseProto.ConfigRelease parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.tencent.polaris.specification.api.v1.service.manage.ConfigReleaseProto.ConfigRelease 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.service.manage.ConfigReleaseProto.ConfigRelease parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.tencent.polaris.specification.api.v1.service.manage.ConfigReleaseProto.ConfigRelease 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.service.manage.ConfigReleaseProto.ConfigRelease 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.service.manage.ConfigReleaseProto.ConfigRelease 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.service.manage.ConfigReleaseProto.ConfigRelease 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.service.manage.ConfigReleaseProto.ConfigRelease 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.service.manage.ConfigReleaseProto.ConfigRelease 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.service.manage.ConfigReleaseProto.ConfigRelease 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.service.manage.ConfigReleaseProto.ConfigRelease 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.ConfigRelease}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:v1.ConfigRelease)
com.tencent.polaris.specification.api.v1.service.manage.ConfigReleaseProto.ConfigReleaseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.tencent.polaris.specification.api.v1.service.manage.ConfigReleaseProto.internal_static_v1_ConfigRelease_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.tencent.polaris.specification.api.v1.service.manage.ConfigReleaseProto.internal_static_v1_ConfigRelease_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.tencent.polaris.specification.api.v1.service.manage.ConfigReleaseProto.ConfigRelease.class, com.tencent.polaris.specification.api.v1.service.manage.ConfigReleaseProto.ConfigRelease.Builder.class);
}
// Construct using com.tencent.polaris.specification.api.v1.service.manage.ConfigReleaseProto.ConfigRelease.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
if (serviceBuilder_ == null) {
service_ = null;
} else {
service_ = null;
serviceBuilder_ = null;
}
if (ctimeBuilder_ == null) {
ctime_ = null;
} else {
ctime_ = null;
ctimeBuilder_ = null;
}
if (mtimeBuilder_ == null) {
mtime_ = null;
} else {
mtime_ = null;
mtimeBuilder_ = null;
}
if (circuitBreakerBuilder_ == null) {
circuitBreaker_ = null;
} else {
circuitBreaker_ = null;
circuitBreakerBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.tencent.polaris.specification.api.v1.service.manage.ConfigReleaseProto.internal_static_v1_ConfigRelease_descriptor;
}
@java.lang.Override
public com.tencent.polaris.specification.api.v1.service.manage.ConfigReleaseProto.ConfigRelease getDefaultInstanceForType() {
return com.tencent.polaris.specification.api.v1.service.manage.ConfigReleaseProto.ConfigRelease.getDefaultInstance();
}
@java.lang.Override
public com.tencent.polaris.specification.api.v1.service.manage.ConfigReleaseProto.ConfigRelease build() {
com.tencent.polaris.specification.api.v1.service.manage.ConfigReleaseProto.ConfigRelease result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.tencent.polaris.specification.api.v1.service.manage.ConfigReleaseProto.ConfigRelease buildPartial() {
com.tencent.polaris.specification.api.v1.service.manage.ConfigReleaseProto.ConfigRelease result = new com.tencent.polaris.specification.api.v1.service.manage.ConfigReleaseProto.ConfigRelease(this);
if (serviceBuilder_ == null) {
result.service_ = service_;
} else {
result.service_ = serviceBuilder_.build();
}
if (ctimeBuilder_ == null) {
result.ctime_ = ctime_;
} else {
result.ctime_ = ctimeBuilder_.build();
}
if (mtimeBuilder_ == null) {
result.mtime_ = mtime_;
} else {
result.mtime_ = mtimeBuilder_.build();
}
if (circuitBreakerBuilder_ == null) {
result.circuitBreaker_ = circuitBreaker_;
} else {
result.circuitBreaker_ = circuitBreakerBuilder_.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.service.manage.ConfigReleaseProto.ConfigRelease) {
return mergeFrom((com.tencent.polaris.specification.api.v1.service.manage.ConfigReleaseProto.ConfigRelease)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.tencent.polaris.specification.api.v1.service.manage.ConfigReleaseProto.ConfigRelease other) {
if (other == com.tencent.polaris.specification.api.v1.service.manage.ConfigReleaseProto.ConfigRelease.getDefaultInstance()) return this;
if (other.hasService()) {
mergeService(other.getService());
}
if (other.hasCtime()) {
mergeCtime(other.getCtime());
}
if (other.hasMtime()) {
mergeMtime(other.getMtime());
}
if (other.hasCircuitBreaker()) {
mergeCircuitBreaker(other.getCircuitBreaker());
}
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(
getServiceFieldBuilder().getBuilder(),
extensionRegistry);
break;
} // case 10
case 18: {
input.readMessage(
getCtimeFieldBuilder().getBuilder(),
extensionRegistry);
break;
} // case 18
case 26: {
input.readMessage(
getMtimeFieldBuilder().getBuilder(),
extensionRegistry);
break;
} // case 26
case 34: {
input.readMessage(
getCircuitBreakerFieldBuilder().getBuilder(),
extensionRegistry);
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 com.tencent.polaris.specification.api.v1.service.manage.ServiceProto.Service service_;
private com.google.protobuf.SingleFieldBuilderV3<
com.tencent.polaris.specification.api.v1.service.manage.ServiceProto.Service, com.tencent.polaris.specification.api.v1.service.manage.ServiceProto.Service.Builder, com.tencent.polaris.specification.api.v1.service.manage.ServiceProto.ServiceOrBuilder> serviceBuilder_;
/**
* .v1.Service service = 1;
* @return Whether the service field is set.
*/
public boolean hasService() {
return serviceBuilder_ != null || service_ != null;
}
/**
* .v1.Service service = 1;
* @return The service.
*/
public com.tencent.polaris.specification.api.v1.service.manage.ServiceProto.Service getService() {
if (serviceBuilder_ == null) {
return service_ == null ? com.tencent.polaris.specification.api.v1.service.manage.ServiceProto.Service.getDefaultInstance() : service_;
} else {
return serviceBuilder_.getMessage();
}
}
/**
* .v1.Service service = 1;
*/
public Builder setService(com.tencent.polaris.specification.api.v1.service.manage.ServiceProto.Service value) {
if (serviceBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
service_ = value;
onChanged();
} else {
serviceBuilder_.setMessage(value);
}
return this;
}
/**
* .v1.Service service = 1;
*/
public Builder setService(
com.tencent.polaris.specification.api.v1.service.manage.ServiceProto.Service.Builder builderForValue) {
if (serviceBuilder_ == null) {
service_ = builderForValue.build();
onChanged();
} else {
serviceBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .v1.Service service = 1;
*/
public Builder mergeService(com.tencent.polaris.specification.api.v1.service.manage.ServiceProto.Service value) {
if (serviceBuilder_ == null) {
if (service_ != null) {
service_ =
com.tencent.polaris.specification.api.v1.service.manage.ServiceProto.Service.newBuilder(service_).mergeFrom(value).buildPartial();
} else {
service_ = value;
}
onChanged();
} else {
serviceBuilder_.mergeFrom(value);
}
return this;
}
/**
* .v1.Service service = 1;
*/
public Builder clearService() {
if (serviceBuilder_ == null) {
service_ = null;
onChanged();
} else {
service_ = null;
serviceBuilder_ = null;
}
return this;
}
/**
* .v1.Service service = 1;
*/
public com.tencent.polaris.specification.api.v1.service.manage.ServiceProto.Service.Builder getServiceBuilder() {
onChanged();
return getServiceFieldBuilder().getBuilder();
}
/**
* .v1.Service service = 1;
*/
public com.tencent.polaris.specification.api.v1.service.manage.ServiceProto.ServiceOrBuilder getServiceOrBuilder() {
if (serviceBuilder_ != null) {
return serviceBuilder_.getMessageOrBuilder();
} else {
return service_ == null ?
com.tencent.polaris.specification.api.v1.service.manage.ServiceProto.Service.getDefaultInstance() : service_;
}
}
/**
* .v1.Service service = 1;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.tencent.polaris.specification.api.v1.service.manage.ServiceProto.Service, com.tencent.polaris.specification.api.v1.service.manage.ServiceProto.Service.Builder, com.tencent.polaris.specification.api.v1.service.manage.ServiceProto.ServiceOrBuilder>
getServiceFieldBuilder() {
if (serviceBuilder_ == null) {
serviceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.tencent.polaris.specification.api.v1.service.manage.ServiceProto.Service, com.tencent.polaris.specification.api.v1.service.manage.ServiceProto.Service.Builder, com.tencent.polaris.specification.api.v1.service.manage.ServiceProto.ServiceOrBuilder>(
getService(),
getParentForChildren(),
isClean());
service_ = null;
}
return serviceBuilder_;
}
private com.google.protobuf.StringValue ctime_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder> ctimeBuilder_;
/**
* .google.protobuf.StringValue ctime = 2;
* @return Whether the ctime field is set.
*/
public boolean hasCtime() {
return ctimeBuilder_ != null || ctime_ != null;
}
/**
* .google.protobuf.StringValue ctime = 2;
* @return The ctime.
*/
public com.google.protobuf.StringValue getCtime() {
if (ctimeBuilder_ == null) {
return ctime_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : ctime_;
} else {
return ctimeBuilder_.getMessage();
}
}
/**
* .google.protobuf.StringValue ctime = 2;
*/
public Builder setCtime(com.google.protobuf.StringValue value) {
if (ctimeBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ctime_ = value;
onChanged();
} else {
ctimeBuilder_.setMessage(value);
}
return this;
}
/**
* .google.protobuf.StringValue ctime = 2;
*/
public Builder setCtime(
com.google.protobuf.StringValue.Builder builderForValue) {
if (ctimeBuilder_ == null) {
ctime_ = builderForValue.build();
onChanged();
} else {
ctimeBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .google.protobuf.StringValue ctime = 2;
*/
public Builder mergeCtime(com.google.protobuf.StringValue value) {
if (ctimeBuilder_ == null) {
if (ctime_ != null) {
ctime_ =
com.google.protobuf.StringValue.newBuilder(ctime_).mergeFrom(value).buildPartial();
} else {
ctime_ = value;
}
onChanged();
} else {
ctimeBuilder_.mergeFrom(value);
}
return this;
}
/**
* .google.protobuf.StringValue ctime = 2;
*/
public Builder clearCtime() {
if (ctimeBuilder_ == null) {
ctime_ = null;
onChanged();
} else {
ctime_ = null;
ctimeBuilder_ = null;
}
return this;
}
/**
* .google.protobuf.StringValue ctime = 2;
*/
public com.google.protobuf.StringValue.Builder getCtimeBuilder() {
onChanged();
return getCtimeFieldBuilder().getBuilder();
}
/**
* .google.protobuf.StringValue ctime = 2;
*/
public com.google.protobuf.StringValueOrBuilder getCtimeOrBuilder() {
if (ctimeBuilder_ != null) {
return ctimeBuilder_.getMessageOrBuilder();
} else {
return ctime_ == null ?
com.google.protobuf.StringValue.getDefaultInstance() : ctime_;
}
}
/**
* .google.protobuf.StringValue ctime = 2;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>
getCtimeFieldBuilder() {
if (ctimeBuilder_ == null) {
ctimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>(
getCtime(),
getParentForChildren(),
isClean());
ctime_ = null;
}
return ctimeBuilder_;
}
private com.google.protobuf.StringValue mtime_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder> mtimeBuilder_;
/**
* .google.protobuf.StringValue mtime = 3;
* @return Whether the mtime field is set.
*/
public boolean hasMtime() {
return mtimeBuilder_ != null || mtime_ != null;
}
/**
* .google.protobuf.StringValue mtime = 3;
* @return The mtime.
*/
public com.google.protobuf.StringValue getMtime() {
if (mtimeBuilder_ == null) {
return mtime_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : mtime_;
} else {
return mtimeBuilder_.getMessage();
}
}
/**
* .google.protobuf.StringValue mtime = 3;
*/
public Builder setMtime(com.google.protobuf.StringValue value) {
if (mtimeBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
mtime_ = value;
onChanged();
} else {
mtimeBuilder_.setMessage(value);
}
return this;
}
/**
* .google.protobuf.StringValue mtime = 3;
*/
public Builder setMtime(
com.google.protobuf.StringValue.Builder builderForValue) {
if (mtimeBuilder_ == null) {
mtime_ = builderForValue.build();
onChanged();
} else {
mtimeBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .google.protobuf.StringValue mtime = 3;
*/
public Builder mergeMtime(com.google.protobuf.StringValue value) {
if (mtimeBuilder_ == null) {
if (mtime_ != null) {
mtime_ =
com.google.protobuf.StringValue.newBuilder(mtime_).mergeFrom(value).buildPartial();
} else {
mtime_ = value;
}
onChanged();
} else {
mtimeBuilder_.mergeFrom(value);
}
return this;
}
/**
* .google.protobuf.StringValue mtime = 3;
*/
public Builder clearMtime() {
if (mtimeBuilder_ == null) {
mtime_ = null;
onChanged();
} else {
mtime_ = null;
mtimeBuilder_ = null;
}
return this;
}
/**
* .google.protobuf.StringValue mtime = 3;
*/
public com.google.protobuf.StringValue.Builder getMtimeBuilder() {
onChanged();
return getMtimeFieldBuilder().getBuilder();
}
/**
* .google.protobuf.StringValue mtime = 3;
*/
public com.google.protobuf.StringValueOrBuilder getMtimeOrBuilder() {
if (mtimeBuilder_ != null) {
return mtimeBuilder_.getMessageOrBuilder();
} else {
return mtime_ == null ?
com.google.protobuf.StringValue.getDefaultInstance() : mtime_;
}
}
/**
* .google.protobuf.StringValue mtime = 3;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>
getMtimeFieldBuilder() {
if (mtimeBuilder_ == null) {
mtimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>(
getMtime(),
getParentForChildren(),
isClean());
mtime_ = null;
}
return mtimeBuilder_;
}
private com.tencent.polaris.specification.api.v1.fault.tolerance.CircuitBreakerProto.CircuitBreaker circuitBreaker_;
private com.google.protobuf.SingleFieldBuilderV3<
com.tencent.polaris.specification.api.v1.fault.tolerance.CircuitBreakerProto.CircuitBreaker, com.tencent.polaris.specification.api.v1.fault.tolerance.CircuitBreakerProto.CircuitBreaker.Builder, com.tencent.polaris.specification.api.v1.fault.tolerance.CircuitBreakerProto.CircuitBreakerOrBuilder> circuitBreakerBuilder_;
/**
* .v1.CircuitBreaker circuitBreaker = 4;
* @return Whether the circuitBreaker field is set.
*/
public boolean hasCircuitBreaker() {
return circuitBreakerBuilder_ != null || circuitBreaker_ != null;
}
/**
* .v1.CircuitBreaker circuitBreaker = 4;
* @return The circuitBreaker.
*/
public com.tencent.polaris.specification.api.v1.fault.tolerance.CircuitBreakerProto.CircuitBreaker getCircuitBreaker() {
if (circuitBreakerBuilder_ == null) {
return circuitBreaker_ == null ? com.tencent.polaris.specification.api.v1.fault.tolerance.CircuitBreakerProto.CircuitBreaker.getDefaultInstance() : circuitBreaker_;
} else {
return circuitBreakerBuilder_.getMessage();
}
}
/**
* .v1.CircuitBreaker circuitBreaker = 4;
*/
public Builder setCircuitBreaker(com.tencent.polaris.specification.api.v1.fault.tolerance.CircuitBreakerProto.CircuitBreaker value) {
if (circuitBreakerBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
circuitBreaker_ = value;
onChanged();
} else {
circuitBreakerBuilder_.setMessage(value);
}
return this;
}
/**
* .v1.CircuitBreaker circuitBreaker = 4;
*/
public Builder setCircuitBreaker(
com.tencent.polaris.specification.api.v1.fault.tolerance.CircuitBreakerProto.CircuitBreaker.Builder builderForValue) {
if (circuitBreakerBuilder_ == null) {
circuitBreaker_ = builderForValue.build();
onChanged();
} else {
circuitBreakerBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .v1.CircuitBreaker circuitBreaker = 4;
*/
public Builder mergeCircuitBreaker(com.tencent.polaris.specification.api.v1.fault.tolerance.CircuitBreakerProto.CircuitBreaker value) {
if (circuitBreakerBuilder_ == null) {
if (circuitBreaker_ != null) {
circuitBreaker_ =
com.tencent.polaris.specification.api.v1.fault.tolerance.CircuitBreakerProto.CircuitBreaker.newBuilder(circuitBreaker_).mergeFrom(value).buildPartial();
} else {
circuitBreaker_ = value;
}
onChanged();
} else {
circuitBreakerBuilder_.mergeFrom(value);
}
return this;
}
/**
* .v1.CircuitBreaker circuitBreaker = 4;
*/
public Builder clearCircuitBreaker() {
if (circuitBreakerBuilder_ == null) {
circuitBreaker_ = null;
onChanged();
} else {
circuitBreaker_ = null;
circuitBreakerBuilder_ = null;
}
return this;
}
/**
* .v1.CircuitBreaker circuitBreaker = 4;
*/
public com.tencent.polaris.specification.api.v1.fault.tolerance.CircuitBreakerProto.CircuitBreaker.Builder getCircuitBreakerBuilder() {
onChanged();
return getCircuitBreakerFieldBuilder().getBuilder();
}
/**
* .v1.CircuitBreaker circuitBreaker = 4;
*/
public com.tencent.polaris.specification.api.v1.fault.tolerance.CircuitBreakerProto.CircuitBreakerOrBuilder getCircuitBreakerOrBuilder() {
if (circuitBreakerBuilder_ != null) {
return circuitBreakerBuilder_.getMessageOrBuilder();
} else {
return circuitBreaker_ == null ?
com.tencent.polaris.specification.api.v1.fault.tolerance.CircuitBreakerProto.CircuitBreaker.getDefaultInstance() : circuitBreaker_;
}
}
/**
* .v1.CircuitBreaker circuitBreaker = 4;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.tencent.polaris.specification.api.v1.fault.tolerance.CircuitBreakerProto.CircuitBreaker, com.tencent.polaris.specification.api.v1.fault.tolerance.CircuitBreakerProto.CircuitBreaker.Builder, com.tencent.polaris.specification.api.v1.fault.tolerance.CircuitBreakerProto.CircuitBreakerOrBuilder>
getCircuitBreakerFieldBuilder() {
if (circuitBreakerBuilder_ == null) {
circuitBreakerBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.tencent.polaris.specification.api.v1.fault.tolerance.CircuitBreakerProto.CircuitBreaker, com.tencent.polaris.specification.api.v1.fault.tolerance.CircuitBreakerProto.CircuitBreaker.Builder, com.tencent.polaris.specification.api.v1.fault.tolerance.CircuitBreakerProto.CircuitBreakerOrBuilder>(
getCircuitBreaker(),
getParentForChildren(),
isClean());
circuitBreaker_ = null;
}
return circuitBreakerBuilder_;
}
@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.ConfigRelease)
}
// @@protoc_insertion_point(class_scope:v1.ConfigRelease)
private static final com.tencent.polaris.specification.api.v1.service.manage.ConfigReleaseProto.ConfigRelease DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.tencent.polaris.specification.api.v1.service.manage.ConfigReleaseProto.ConfigRelease();
}
public static com.tencent.polaris.specification.api.v1.service.manage.ConfigReleaseProto.ConfigRelease getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public ConfigRelease 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.service.manage.ConfigReleaseProto.ConfigRelease getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface ConfigWithServiceOrBuilder extends
// @@protoc_insertion_point(interface_extends:v1.ConfigWithService)
com.google.protobuf.MessageOrBuilder {
/**
* repeated .v1.Service services = 1;
*/
java.util.List
getServicesList();
/**
* repeated .v1.Service services = 1;
*/
com.tencent.polaris.specification.api.v1.service.manage.ServiceProto.Service getServices(int index);
/**
* repeated .v1.Service services = 1;
*/
int getServicesCount();
/**
* repeated .v1.Service services = 1;
*/
java.util.List extends com.tencent.polaris.specification.api.v1.service.manage.ServiceProto.ServiceOrBuilder>
getServicesOrBuilderList();
/**
* repeated .v1.Service services = 1;
*/
com.tencent.polaris.specification.api.v1.service.manage.ServiceProto.ServiceOrBuilder getServicesOrBuilder(
int index);
/**
* .v1.CircuitBreaker circuitBreaker = 2;
* @return Whether the circuitBreaker field is set.
*/
boolean hasCircuitBreaker();
/**
* .v1.CircuitBreaker circuitBreaker = 2;
* @return The circuitBreaker.
*/
com.tencent.polaris.specification.api.v1.fault.tolerance.CircuitBreakerProto.CircuitBreaker getCircuitBreaker();
/**
* .v1.CircuitBreaker circuitBreaker = 2;
*/
com.tencent.polaris.specification.api.v1.fault.tolerance.CircuitBreakerProto.CircuitBreakerOrBuilder getCircuitBreakerOrBuilder();
}
/**
* Protobuf type {@code v1.ConfigWithService}
*/
public static final class ConfigWithService extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:v1.ConfigWithService)
ConfigWithServiceOrBuilder {
private static final long serialVersionUID = 0L;
// Use ConfigWithService.newBuilder() to construct.
private ConfigWithService(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private ConfigWithService() {
services_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new ConfigWithService();
}
@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.service.manage.ConfigReleaseProto.internal_static_v1_ConfigWithService_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.tencent.polaris.specification.api.v1.service.manage.ConfigReleaseProto.internal_static_v1_ConfigWithService_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.tencent.polaris.specification.api.v1.service.manage.ConfigReleaseProto.ConfigWithService.class, com.tencent.polaris.specification.api.v1.service.manage.ConfigReleaseProto.ConfigWithService.Builder.class);
}
public static final int SERVICES_FIELD_NUMBER = 1;
private java.util.List services_;
/**
* repeated .v1.Service services = 1;
*/
@java.lang.Override
public java.util.List getServicesList() {
return services_;
}
/**
* repeated .v1.Service services = 1;
*/
@java.lang.Override
public java.util.List extends com.tencent.polaris.specification.api.v1.service.manage.ServiceProto.ServiceOrBuilder>
getServicesOrBuilderList() {
return services_;
}
/**
* repeated .v1.Service services = 1;
*/
@java.lang.Override
public int getServicesCount() {
return services_.size();
}
/**
* repeated .v1.Service services = 1;
*/
@java.lang.Override
public com.tencent.polaris.specification.api.v1.service.manage.ServiceProto.Service getServices(int index) {
return services_.get(index);
}
/**
* repeated .v1.Service services = 1;
*/
@java.lang.Override
public com.tencent.polaris.specification.api.v1.service.manage.ServiceProto.ServiceOrBuilder getServicesOrBuilder(
int index) {
return services_.get(index);
}
public static final int CIRCUITBREAKER_FIELD_NUMBER = 2;
private com.tencent.polaris.specification.api.v1.fault.tolerance.CircuitBreakerProto.CircuitBreaker circuitBreaker_;
/**
* .v1.CircuitBreaker circuitBreaker = 2;
* @return Whether the circuitBreaker field is set.
*/
@java.lang.Override
public boolean hasCircuitBreaker() {
return circuitBreaker_ != null;
}
/**
* .v1.CircuitBreaker circuitBreaker = 2;
* @return The circuitBreaker.
*/
@java.lang.Override
public com.tencent.polaris.specification.api.v1.fault.tolerance.CircuitBreakerProto.CircuitBreaker getCircuitBreaker() {
return circuitBreaker_ == null ? com.tencent.polaris.specification.api.v1.fault.tolerance.CircuitBreakerProto.CircuitBreaker.getDefaultInstance() : circuitBreaker_;
}
/**
* .v1.CircuitBreaker circuitBreaker = 2;
*/
@java.lang.Override
public com.tencent.polaris.specification.api.v1.fault.tolerance.CircuitBreakerProto.CircuitBreakerOrBuilder getCircuitBreakerOrBuilder() {
return getCircuitBreaker();
}
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 {
for (int i = 0; i < services_.size(); i++) {
output.writeMessage(1, services_.get(i));
}
if (circuitBreaker_ != null) {
output.writeMessage(2, getCircuitBreaker());
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
for (int i = 0; i < services_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, services_.get(i));
}
if (circuitBreaker_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, getCircuitBreaker());
}
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.service.manage.ConfigReleaseProto.ConfigWithService)) {
return super.equals(obj);
}
com.tencent.polaris.specification.api.v1.service.manage.ConfigReleaseProto.ConfigWithService other = (com.tencent.polaris.specification.api.v1.service.manage.ConfigReleaseProto.ConfigWithService) obj;
if (!getServicesList()
.equals(other.getServicesList())) return false;
if (hasCircuitBreaker() != other.hasCircuitBreaker()) return false;
if (hasCircuitBreaker()) {
if (!getCircuitBreaker()
.equals(other.getCircuitBreaker())) 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 (getServicesCount() > 0) {
hash = (37 * hash) + SERVICES_FIELD_NUMBER;
hash = (53 * hash) + getServicesList().hashCode();
}
if (hasCircuitBreaker()) {
hash = (37 * hash) + CIRCUITBREAKER_FIELD_NUMBER;
hash = (53 * hash) + getCircuitBreaker().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.tencent.polaris.specification.api.v1.service.manage.ConfigReleaseProto.ConfigWithService parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.tencent.polaris.specification.api.v1.service.manage.ConfigReleaseProto.ConfigWithService 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.service.manage.ConfigReleaseProto.ConfigWithService parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.tencent.polaris.specification.api.v1.service.manage.ConfigReleaseProto.ConfigWithService 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.service.manage.ConfigReleaseProto.ConfigWithService parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.tencent.polaris.specification.api.v1.service.manage.ConfigReleaseProto.ConfigWithService 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.service.manage.ConfigReleaseProto.ConfigWithService 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.service.manage.ConfigReleaseProto.ConfigWithService 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.service.manage.ConfigReleaseProto.ConfigWithService 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.service.manage.ConfigReleaseProto.ConfigWithService 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.service.manage.ConfigReleaseProto.ConfigWithService 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.service.manage.ConfigReleaseProto.ConfigWithService 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.service.manage.ConfigReleaseProto.ConfigWithService 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.ConfigWithService}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:v1.ConfigWithService)
com.tencent.polaris.specification.api.v1.service.manage.ConfigReleaseProto.ConfigWithServiceOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.tencent.polaris.specification.api.v1.service.manage.ConfigReleaseProto.internal_static_v1_ConfigWithService_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.tencent.polaris.specification.api.v1.service.manage.ConfigReleaseProto.internal_static_v1_ConfigWithService_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.tencent.polaris.specification.api.v1.service.manage.ConfigReleaseProto.ConfigWithService.class, com.tencent.polaris.specification.api.v1.service.manage.ConfigReleaseProto.ConfigWithService.Builder.class);
}
// Construct using com.tencent.polaris.specification.api.v1.service.manage.ConfigReleaseProto.ConfigWithService.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
if (servicesBuilder_ == null) {
services_ = java.util.Collections.emptyList();
} else {
services_ = null;
servicesBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000001);
if (circuitBreakerBuilder_ == null) {
circuitBreaker_ = null;
} else {
circuitBreaker_ = null;
circuitBreakerBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.tencent.polaris.specification.api.v1.service.manage.ConfigReleaseProto.internal_static_v1_ConfigWithService_descriptor;
}
@java.lang.Override
public com.tencent.polaris.specification.api.v1.service.manage.ConfigReleaseProto.ConfigWithService getDefaultInstanceForType() {
return com.tencent.polaris.specification.api.v1.service.manage.ConfigReleaseProto.ConfigWithService.getDefaultInstance();
}
@java.lang.Override
public com.tencent.polaris.specification.api.v1.service.manage.ConfigReleaseProto.ConfigWithService build() {
com.tencent.polaris.specification.api.v1.service.manage.ConfigReleaseProto.ConfigWithService result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.tencent.polaris.specification.api.v1.service.manage.ConfigReleaseProto.ConfigWithService buildPartial() {
com.tencent.polaris.specification.api.v1.service.manage.ConfigReleaseProto.ConfigWithService result = new com.tencent.polaris.specification.api.v1.service.manage.ConfigReleaseProto.ConfigWithService(this);
int from_bitField0_ = bitField0_;
if (servicesBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
services_ = java.util.Collections.unmodifiableList(services_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.services_ = services_;
} else {
result.services_ = servicesBuilder_.build();
}
if (circuitBreakerBuilder_ == null) {
result.circuitBreaker_ = circuitBreaker_;
} else {
result.circuitBreaker_ = circuitBreakerBuilder_.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.service.manage.ConfigReleaseProto.ConfigWithService) {
return mergeFrom((com.tencent.polaris.specification.api.v1.service.manage.ConfigReleaseProto.ConfigWithService)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.tencent.polaris.specification.api.v1.service.manage.ConfigReleaseProto.ConfigWithService other) {
if (other == com.tencent.polaris.specification.api.v1.service.manage.ConfigReleaseProto.ConfigWithService.getDefaultInstance()) return this;
if (servicesBuilder_ == null) {
if (!other.services_.isEmpty()) {
if (services_.isEmpty()) {
services_ = other.services_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureServicesIsMutable();
services_.addAll(other.services_);
}
onChanged();
}
} else {
if (!other.services_.isEmpty()) {
if (servicesBuilder_.isEmpty()) {
servicesBuilder_.dispose();
servicesBuilder_ = null;
services_ = other.services_;
bitField0_ = (bitField0_ & ~0x00000001);
servicesBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getServicesFieldBuilder() : null;
} else {
servicesBuilder_.addAllMessages(other.services_);
}
}
}
if (other.hasCircuitBreaker()) {
mergeCircuitBreaker(other.getCircuitBreaker());
}
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: {
com.tencent.polaris.specification.api.v1.service.manage.ServiceProto.Service m =
input.readMessage(
com.tencent.polaris.specification.api.v1.service.manage.ServiceProto.Service.parser(),
extensionRegistry);
if (servicesBuilder_ == null) {
ensureServicesIsMutable();
services_.add(m);
} else {
servicesBuilder_.addMessage(m);
}
break;
} // case 10
case 18: {
input.readMessage(
getCircuitBreakerFieldBuilder().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 int bitField0_;
private java.util.List services_ =
java.util.Collections.emptyList();
private void ensureServicesIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
services_ = new java.util.ArrayList(services_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.tencent.polaris.specification.api.v1.service.manage.ServiceProto.Service, com.tencent.polaris.specification.api.v1.service.manage.ServiceProto.Service.Builder, com.tencent.polaris.specification.api.v1.service.manage.ServiceProto.ServiceOrBuilder> servicesBuilder_;
/**
* repeated .v1.Service services = 1;
*/
public java.util.List getServicesList() {
if (servicesBuilder_ == null) {
return java.util.Collections.unmodifiableList(services_);
} else {
return servicesBuilder_.getMessageList();
}
}
/**
* repeated .v1.Service services = 1;
*/
public int getServicesCount() {
if (servicesBuilder_ == null) {
return services_.size();
} else {
return servicesBuilder_.getCount();
}
}
/**
* repeated .v1.Service services = 1;
*/
public com.tencent.polaris.specification.api.v1.service.manage.ServiceProto.Service getServices(int index) {
if (servicesBuilder_ == null) {
return services_.get(index);
} else {
return servicesBuilder_.getMessage(index);
}
}
/**
* repeated .v1.Service services = 1;
*/
public Builder setServices(
int index, com.tencent.polaris.specification.api.v1.service.manage.ServiceProto.Service value) {
if (servicesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureServicesIsMutable();
services_.set(index, value);
onChanged();
} else {
servicesBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .v1.Service services = 1;
*/
public Builder setServices(
int index, com.tencent.polaris.specification.api.v1.service.manage.ServiceProto.Service.Builder builderForValue) {
if (servicesBuilder_ == null) {
ensureServicesIsMutable();
services_.set(index, builderForValue.build());
onChanged();
} else {
servicesBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .v1.Service services = 1;
*/
public Builder addServices(com.tencent.polaris.specification.api.v1.service.manage.ServiceProto.Service value) {
if (servicesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureServicesIsMutable();
services_.add(value);
onChanged();
} else {
servicesBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .v1.Service services = 1;
*/
public Builder addServices(
int index, com.tencent.polaris.specification.api.v1.service.manage.ServiceProto.Service value) {
if (servicesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureServicesIsMutable();
services_.add(index, value);
onChanged();
} else {
servicesBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .v1.Service services = 1;
*/
public Builder addServices(
com.tencent.polaris.specification.api.v1.service.manage.ServiceProto.Service.Builder builderForValue) {
if (servicesBuilder_ == null) {
ensureServicesIsMutable();
services_.add(builderForValue.build());
onChanged();
} else {
servicesBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .v1.Service services = 1;
*/
public Builder addServices(
int index, com.tencent.polaris.specification.api.v1.service.manage.ServiceProto.Service.Builder builderForValue) {
if (servicesBuilder_ == null) {
ensureServicesIsMutable();
services_.add(index, builderForValue.build());
onChanged();
} else {
servicesBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .v1.Service services = 1;
*/
public Builder addAllServices(
java.lang.Iterable extends com.tencent.polaris.specification.api.v1.service.manage.ServiceProto.Service> values) {
if (servicesBuilder_ == null) {
ensureServicesIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, services_);
onChanged();
} else {
servicesBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .v1.Service services = 1;
*/
public Builder clearServices() {
if (servicesBuilder_ == null) {
services_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
servicesBuilder_.clear();
}
return this;
}
/**
* repeated .v1.Service services = 1;
*/
public Builder removeServices(int index) {
if (servicesBuilder_ == null) {
ensureServicesIsMutable();
services_.remove(index);
onChanged();
} else {
servicesBuilder_.remove(index);
}
return this;
}
/**
* repeated .v1.Service services = 1;
*/
public com.tencent.polaris.specification.api.v1.service.manage.ServiceProto.Service.Builder getServicesBuilder(
int index) {
return getServicesFieldBuilder().getBuilder(index);
}
/**
* repeated .v1.Service services = 1;
*/
public com.tencent.polaris.specification.api.v1.service.manage.ServiceProto.ServiceOrBuilder getServicesOrBuilder(
int index) {
if (servicesBuilder_ == null) {
return services_.get(index); } else {
return servicesBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .v1.Service services = 1;
*/
public java.util.List extends com.tencent.polaris.specification.api.v1.service.manage.ServiceProto.ServiceOrBuilder>
getServicesOrBuilderList() {
if (servicesBuilder_ != null) {
return servicesBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(services_);
}
}
/**
* repeated .v1.Service services = 1;
*/
public com.tencent.polaris.specification.api.v1.service.manage.ServiceProto.Service.Builder addServicesBuilder() {
return getServicesFieldBuilder().addBuilder(
com.tencent.polaris.specification.api.v1.service.manage.ServiceProto.Service.getDefaultInstance());
}
/**
* repeated .v1.Service services = 1;
*/
public com.tencent.polaris.specification.api.v1.service.manage.ServiceProto.Service.Builder addServicesBuilder(
int index) {
return getServicesFieldBuilder().addBuilder(
index, com.tencent.polaris.specification.api.v1.service.manage.ServiceProto.Service.getDefaultInstance());
}
/**
* repeated .v1.Service services = 1;
*/
public java.util.List
getServicesBuilderList() {
return getServicesFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.tencent.polaris.specification.api.v1.service.manage.ServiceProto.Service, com.tencent.polaris.specification.api.v1.service.manage.ServiceProto.Service.Builder, com.tencent.polaris.specification.api.v1.service.manage.ServiceProto.ServiceOrBuilder>
getServicesFieldBuilder() {
if (servicesBuilder_ == null) {
servicesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
com.tencent.polaris.specification.api.v1.service.manage.ServiceProto.Service, com.tencent.polaris.specification.api.v1.service.manage.ServiceProto.Service.Builder, com.tencent.polaris.specification.api.v1.service.manage.ServiceProto.ServiceOrBuilder>(
services_,
((bitField0_ & 0x00000001) != 0),
getParentForChildren(),
isClean());
services_ = null;
}
return servicesBuilder_;
}
private com.tencent.polaris.specification.api.v1.fault.tolerance.CircuitBreakerProto.CircuitBreaker circuitBreaker_;
private com.google.protobuf.SingleFieldBuilderV3<
com.tencent.polaris.specification.api.v1.fault.tolerance.CircuitBreakerProto.CircuitBreaker, com.tencent.polaris.specification.api.v1.fault.tolerance.CircuitBreakerProto.CircuitBreaker.Builder, com.tencent.polaris.specification.api.v1.fault.tolerance.CircuitBreakerProto.CircuitBreakerOrBuilder> circuitBreakerBuilder_;
/**
* .v1.CircuitBreaker circuitBreaker = 2;
* @return Whether the circuitBreaker field is set.
*/
public boolean hasCircuitBreaker() {
return circuitBreakerBuilder_ != null || circuitBreaker_ != null;
}
/**
* .v1.CircuitBreaker circuitBreaker = 2;
* @return The circuitBreaker.
*/
public com.tencent.polaris.specification.api.v1.fault.tolerance.CircuitBreakerProto.CircuitBreaker getCircuitBreaker() {
if (circuitBreakerBuilder_ == null) {
return circuitBreaker_ == null ? com.tencent.polaris.specification.api.v1.fault.tolerance.CircuitBreakerProto.CircuitBreaker.getDefaultInstance() : circuitBreaker_;
} else {
return circuitBreakerBuilder_.getMessage();
}
}
/**
* .v1.CircuitBreaker circuitBreaker = 2;
*/
public Builder setCircuitBreaker(com.tencent.polaris.specification.api.v1.fault.tolerance.CircuitBreakerProto.CircuitBreaker value) {
if (circuitBreakerBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
circuitBreaker_ = value;
onChanged();
} else {
circuitBreakerBuilder_.setMessage(value);
}
return this;
}
/**
* .v1.CircuitBreaker circuitBreaker = 2;
*/
public Builder setCircuitBreaker(
com.tencent.polaris.specification.api.v1.fault.tolerance.CircuitBreakerProto.CircuitBreaker.Builder builderForValue) {
if (circuitBreakerBuilder_ == null) {
circuitBreaker_ = builderForValue.build();
onChanged();
} else {
circuitBreakerBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .v1.CircuitBreaker circuitBreaker = 2;
*/
public Builder mergeCircuitBreaker(com.tencent.polaris.specification.api.v1.fault.tolerance.CircuitBreakerProto.CircuitBreaker value) {
if (circuitBreakerBuilder_ == null) {
if (circuitBreaker_ != null) {
circuitBreaker_ =
com.tencent.polaris.specification.api.v1.fault.tolerance.CircuitBreakerProto.CircuitBreaker.newBuilder(circuitBreaker_).mergeFrom(value).buildPartial();
} else {
circuitBreaker_ = value;
}
onChanged();
} else {
circuitBreakerBuilder_.mergeFrom(value);
}
return this;
}
/**
* .v1.CircuitBreaker circuitBreaker = 2;
*/
public Builder clearCircuitBreaker() {
if (circuitBreakerBuilder_ == null) {
circuitBreaker_ = null;
onChanged();
} else {
circuitBreaker_ = null;
circuitBreakerBuilder_ = null;
}
return this;
}
/**
* .v1.CircuitBreaker circuitBreaker = 2;
*/
public com.tencent.polaris.specification.api.v1.fault.tolerance.CircuitBreakerProto.CircuitBreaker.Builder getCircuitBreakerBuilder() {
onChanged();
return getCircuitBreakerFieldBuilder().getBuilder();
}
/**
* .v1.CircuitBreaker circuitBreaker = 2;
*/
public com.tencent.polaris.specification.api.v1.fault.tolerance.CircuitBreakerProto.CircuitBreakerOrBuilder getCircuitBreakerOrBuilder() {
if (circuitBreakerBuilder_ != null) {
return circuitBreakerBuilder_.getMessageOrBuilder();
} else {
return circuitBreaker_ == null ?
com.tencent.polaris.specification.api.v1.fault.tolerance.CircuitBreakerProto.CircuitBreaker.getDefaultInstance() : circuitBreaker_;
}
}
/**
* .v1.CircuitBreaker circuitBreaker = 2;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.tencent.polaris.specification.api.v1.fault.tolerance.CircuitBreakerProto.CircuitBreaker, com.tencent.polaris.specification.api.v1.fault.tolerance.CircuitBreakerProto.CircuitBreaker.Builder, com.tencent.polaris.specification.api.v1.fault.tolerance.CircuitBreakerProto.CircuitBreakerOrBuilder>
getCircuitBreakerFieldBuilder() {
if (circuitBreakerBuilder_ == null) {
circuitBreakerBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.tencent.polaris.specification.api.v1.fault.tolerance.CircuitBreakerProto.CircuitBreaker, com.tencent.polaris.specification.api.v1.fault.tolerance.CircuitBreakerProto.CircuitBreaker.Builder, com.tencent.polaris.specification.api.v1.fault.tolerance.CircuitBreakerProto.CircuitBreakerOrBuilder>(
getCircuitBreaker(),
getParentForChildren(),
isClean());
circuitBreaker_ = null;
}
return circuitBreakerBuilder_;
}
@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.ConfigWithService)
}
// @@protoc_insertion_point(class_scope:v1.ConfigWithService)
private static final com.tencent.polaris.specification.api.v1.service.manage.ConfigReleaseProto.ConfigWithService DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.tencent.polaris.specification.api.v1.service.manage.ConfigReleaseProto.ConfigWithService();
}
public static com.tencent.polaris.specification.api.v1.service.manage.ConfigReleaseProto.ConfigWithService getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public ConfigWithService 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.service.manage.ConfigReleaseProto.ConfigWithService getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_v1_ConfigRelease_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_v1_ConfigRelease_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_v1_ConfigWithService_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_v1_ConfigWithService_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\023configrelease.proto\022\002v1\032\036google/protob" +
"uf/wrappers.proto\032\rservice.proto\032\024circui" +
"tbreaker.proto\"\263\001\n\rConfigRelease\022\034\n\007serv" +
"ice\030\001 \001(\0132\013.v1.Service\022+\n\005ctime\030\002 \001(\0132\034." +
"google.protobuf.StringValue\022+\n\005mtime\030\003 \001" +
"(\0132\034.google.protobuf.StringValue\022*\n\016circ" +
"uitBreaker\030\004 \001(\0132\022.v1.CircuitBreaker\"^\n\021" +
"ConfigWithService\022\035\n\010services\030\001 \003(\0132\013.v1" +
".Service\022*\n\016circuitBreaker\030\002 \001(\0132\022.v1.Ci" +
"rcuitBreakerB\223\001\n7com.tencent.polaris.spe" +
"cification.api.v1.service.manageB\022Config" +
"ReleaseProtoZDgithub.com/polarismesh/spe" +
"cification/source/go/api/v1/service_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.service.manage.ServiceProto.getDescriptor(),
com.tencent.polaris.specification.api.v1.fault.tolerance.CircuitBreakerProto.getDescriptor(),
});
internal_static_v1_ConfigRelease_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_v1_ConfigRelease_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_v1_ConfigRelease_descriptor,
new java.lang.String[] { "Service", "Ctime", "Mtime", "CircuitBreaker", });
internal_static_v1_ConfigWithService_descriptor =
getDescriptor().getMessageTypes().get(1);
internal_static_v1_ConfigWithService_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_v1_ConfigWithService_descriptor,
new java.lang.String[] { "Services", "CircuitBreaker", });
com.google.protobuf.WrappersProto.getDescriptor();
com.tencent.polaris.specification.api.v1.service.manage.ServiceProto.getDescriptor();
com.tencent.polaris.specification.api.v1.fault.tolerance.CircuitBreakerProto.getDescriptor();
}
// @@protoc_insertion_point(outer_class_scope)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy