com.tencent.polaris.specification.api.v1.service.manage.ClientProto Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: client.proto
package com.tencent.polaris.specification.api.v1.service.manage;
public final class ClientProto {
private ClientProto() {}
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 ClientOrBuilder extends
// @@protoc_insertion_point(interface_extends:v1.Client)
com.google.protobuf.MessageOrBuilder {
/**
* .google.protobuf.StringValue host = 1;
* @return Whether the host field is set.
*/
boolean hasHost();
/**
* .google.protobuf.StringValue host = 1;
* @return The host.
*/
com.google.protobuf.StringValue getHost();
/**
* .google.protobuf.StringValue host = 1;
*/
com.google.protobuf.StringValueOrBuilder getHostOrBuilder();
/**
* .v1.Client.ClientType type = 2;
* @return The enum numeric value on the wire for type.
*/
int getTypeValue();
/**
* .v1.Client.ClientType type = 2;
* @return The type.
*/
com.tencent.polaris.specification.api.v1.service.manage.ClientProto.Client.ClientType getType();
/**
* .google.protobuf.StringValue version = 3;
* @return Whether the version field is set.
*/
boolean hasVersion();
/**
* .google.protobuf.StringValue version = 3;
* @return The version.
*/
com.google.protobuf.StringValue getVersion();
/**
* .google.protobuf.StringValue version = 3;
*/
com.google.protobuf.StringValueOrBuilder getVersionOrBuilder();
/**
* .v1.Location location = 4;
* @return Whether the location field is set.
*/
boolean hasLocation();
/**
* .v1.Location location = 4;
* @return The location.
*/
com.tencent.polaris.specification.api.v1.model.ModelProto.Location getLocation();
/**
* .v1.Location location = 4;
*/
com.tencent.polaris.specification.api.v1.model.ModelProto.LocationOrBuilder getLocationOrBuilder();
/**
* .google.protobuf.StringValue id = 5;
* @return Whether the id field is set.
*/
boolean hasId();
/**
* .google.protobuf.StringValue id = 5;
* @return The id.
*/
com.google.protobuf.StringValue getId();
/**
* .google.protobuf.StringValue id = 5;
*/
com.google.protobuf.StringValueOrBuilder getIdOrBuilder();
/**
* repeated .v1.StatInfo stat = 6;
*/
java.util.List
getStatList();
/**
* repeated .v1.StatInfo stat = 6;
*/
com.tencent.polaris.specification.api.v1.service.manage.ClientProto.StatInfo getStat(int index);
/**
* repeated .v1.StatInfo stat = 6;
*/
int getStatCount();
/**
* repeated .v1.StatInfo stat = 6;
*/
java.util.List extends com.tencent.polaris.specification.api.v1.service.manage.ClientProto.StatInfoOrBuilder>
getStatOrBuilderList();
/**
* repeated .v1.StatInfo stat = 6;
*/
com.tencent.polaris.specification.api.v1.service.manage.ClientProto.StatInfoOrBuilder getStatOrBuilder(
int index);
/**
* .google.protobuf.StringValue ctime = 7;
* @return Whether the ctime field is set.
*/
boolean hasCtime();
/**
* .google.protobuf.StringValue ctime = 7;
* @return The ctime.
*/
com.google.protobuf.StringValue getCtime();
/**
* .google.protobuf.StringValue ctime = 7;
*/
com.google.protobuf.StringValueOrBuilder getCtimeOrBuilder();
/**
* .google.protobuf.StringValue mtime = 8;
* @return Whether the mtime field is set.
*/
boolean hasMtime();
/**
* .google.protobuf.StringValue mtime = 8;
* @return The mtime.
*/
com.google.protobuf.StringValue getMtime();
/**
* .google.protobuf.StringValue mtime = 8;
*/
com.google.protobuf.StringValueOrBuilder getMtimeOrBuilder();
}
/**
* Protobuf type {@code v1.Client}
*/
public static final class Client extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:v1.Client)
ClientOrBuilder {
private static final long serialVersionUID = 0L;
// Use Client.newBuilder() to construct.
private Client(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private Client() {
type_ = 0;
stat_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new Client();
}
@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.ClientProto.internal_static_v1_Client_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.tencent.polaris.specification.api.v1.service.manage.ClientProto.internal_static_v1_Client_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.tencent.polaris.specification.api.v1.service.manage.ClientProto.Client.class, com.tencent.polaris.specification.api.v1.service.manage.ClientProto.Client.Builder.class);
}
/**
* Protobuf enum {@code v1.Client.ClientType}
*/
public enum ClientType
implements com.google.protobuf.ProtocolMessageEnum {
/**
* UNKNOWN = 0;
*/
UNKNOWN(0),
/**
* SDK = 1;
*/
SDK(1),
/**
* AGENT = 2;
*/
AGENT(2),
UNRECOGNIZED(-1),
;
/**
* UNKNOWN = 0;
*/
public static final int UNKNOWN_VALUE = 0;
/**
* SDK = 1;
*/
public static final int SDK_VALUE = 1;
/**
* AGENT = 2;
*/
public static final int AGENT_VALUE = 2;
public final int getNumber() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalArgumentException(
"Can't get the number of an unknown enum value.");
}
return value;
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static ClientType valueOf(int value) {
return forNumber(value);
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
*/
public static ClientType forNumber(int value) {
switch (value) {
case 0: return UNKNOWN;
case 1: return SDK;
case 2: return AGENT;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
ClientType> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap() {
public ClientType findValueByNumber(int number) {
return ClientType.forNumber(number);
}
};
public final com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalStateException(
"Can't get the descriptor of an unrecognized enum value.");
}
return getDescriptor().getValues().get(ordinal());
}
public final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType() {
return getDescriptor();
}
public static final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor() {
return com.tencent.polaris.specification.api.v1.service.manage.ClientProto.Client.getDescriptor().getEnumTypes().get(0);
}
private static final ClientType[] VALUES = values();
public static ClientType valueOf(
com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
if (desc.getType() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"EnumValueDescriptor is not for this type.");
}
if (desc.getIndex() == -1) {
return UNRECOGNIZED;
}
return VALUES[desc.getIndex()];
}
private final int value;
private ClientType(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:v1.Client.ClientType)
}
public static final int HOST_FIELD_NUMBER = 1;
private com.google.protobuf.StringValue host_;
/**
* .google.protobuf.StringValue host = 1;
* @return Whether the host field is set.
*/
@java.lang.Override
public boolean hasHost() {
return host_ != null;
}
/**
* .google.protobuf.StringValue host = 1;
* @return The host.
*/
@java.lang.Override
public com.google.protobuf.StringValue getHost() {
return host_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : host_;
}
/**
* .google.protobuf.StringValue host = 1;
*/
@java.lang.Override
public com.google.protobuf.StringValueOrBuilder getHostOrBuilder() {
return getHost();
}
public static final int TYPE_FIELD_NUMBER = 2;
private int type_;
/**
* .v1.Client.ClientType type = 2;
* @return The enum numeric value on the wire for type.
*/
@java.lang.Override public int getTypeValue() {
return type_;
}
/**
* .v1.Client.ClientType type = 2;
* @return The type.
*/
@java.lang.Override public com.tencent.polaris.specification.api.v1.service.manage.ClientProto.Client.ClientType getType() {
@SuppressWarnings("deprecation")
com.tencent.polaris.specification.api.v1.service.manage.ClientProto.Client.ClientType result = com.tencent.polaris.specification.api.v1.service.manage.ClientProto.Client.ClientType.valueOf(type_);
return result == null ? com.tencent.polaris.specification.api.v1.service.manage.ClientProto.Client.ClientType.UNRECOGNIZED : result;
}
public static final int VERSION_FIELD_NUMBER = 3;
private com.google.protobuf.StringValue version_;
/**
* .google.protobuf.StringValue version = 3;
* @return Whether the version field is set.
*/
@java.lang.Override
public boolean hasVersion() {
return version_ != null;
}
/**
* .google.protobuf.StringValue version = 3;
* @return The version.
*/
@java.lang.Override
public com.google.protobuf.StringValue getVersion() {
return version_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : version_;
}
/**
* .google.protobuf.StringValue version = 3;
*/
@java.lang.Override
public com.google.protobuf.StringValueOrBuilder getVersionOrBuilder() {
return getVersion();
}
public static final int LOCATION_FIELD_NUMBER = 4;
private com.tencent.polaris.specification.api.v1.model.ModelProto.Location location_;
/**
* .v1.Location location = 4;
* @return Whether the location field is set.
*/
@java.lang.Override
public boolean hasLocation() {
return location_ != null;
}
/**
* .v1.Location location = 4;
* @return The location.
*/
@java.lang.Override
public com.tencent.polaris.specification.api.v1.model.ModelProto.Location getLocation() {
return location_ == null ? com.tencent.polaris.specification.api.v1.model.ModelProto.Location.getDefaultInstance() : location_;
}
/**
* .v1.Location location = 4;
*/
@java.lang.Override
public com.tencent.polaris.specification.api.v1.model.ModelProto.LocationOrBuilder getLocationOrBuilder() {
return getLocation();
}
public static final int ID_FIELD_NUMBER = 5;
private com.google.protobuf.StringValue id_;
/**
* .google.protobuf.StringValue id = 5;
* @return Whether the id field is set.
*/
@java.lang.Override
public boolean hasId() {
return id_ != null;
}
/**
* .google.protobuf.StringValue id = 5;
* @return The id.
*/
@java.lang.Override
public com.google.protobuf.StringValue getId() {
return id_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : id_;
}
/**
* .google.protobuf.StringValue id = 5;
*/
@java.lang.Override
public com.google.protobuf.StringValueOrBuilder getIdOrBuilder() {
return getId();
}
public static final int STAT_FIELD_NUMBER = 6;
private java.util.List stat_;
/**
* repeated .v1.StatInfo stat = 6;
*/
@java.lang.Override
public java.util.List getStatList() {
return stat_;
}
/**
* repeated .v1.StatInfo stat = 6;
*/
@java.lang.Override
public java.util.List extends com.tencent.polaris.specification.api.v1.service.manage.ClientProto.StatInfoOrBuilder>
getStatOrBuilderList() {
return stat_;
}
/**
* repeated .v1.StatInfo stat = 6;
*/
@java.lang.Override
public int getStatCount() {
return stat_.size();
}
/**
* repeated .v1.StatInfo stat = 6;
*/
@java.lang.Override
public com.tencent.polaris.specification.api.v1.service.manage.ClientProto.StatInfo getStat(int index) {
return stat_.get(index);
}
/**
* repeated .v1.StatInfo stat = 6;
*/
@java.lang.Override
public com.tencent.polaris.specification.api.v1.service.manage.ClientProto.StatInfoOrBuilder getStatOrBuilder(
int index) {
return stat_.get(index);
}
public static final int CTIME_FIELD_NUMBER = 7;
private com.google.protobuf.StringValue ctime_;
/**
* .google.protobuf.StringValue ctime = 7;
* @return Whether the ctime field is set.
*/
@java.lang.Override
public boolean hasCtime() {
return ctime_ != null;
}
/**
* .google.protobuf.StringValue ctime = 7;
* @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 = 7;
*/
@java.lang.Override
public com.google.protobuf.StringValueOrBuilder getCtimeOrBuilder() {
return getCtime();
}
public static final int MTIME_FIELD_NUMBER = 8;
private com.google.protobuf.StringValue mtime_;
/**
* .google.protobuf.StringValue mtime = 8;
* @return Whether the mtime field is set.
*/
@java.lang.Override
public boolean hasMtime() {
return mtime_ != null;
}
/**
* .google.protobuf.StringValue mtime = 8;
* @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 = 8;
*/
@java.lang.Override
public com.google.protobuf.StringValueOrBuilder getMtimeOrBuilder() {
return getMtime();
}
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 (host_ != null) {
output.writeMessage(1, getHost());
}
if (type_ != com.tencent.polaris.specification.api.v1.service.manage.ClientProto.Client.ClientType.UNKNOWN.getNumber()) {
output.writeEnum(2, type_);
}
if (version_ != null) {
output.writeMessage(3, getVersion());
}
if (location_ != null) {
output.writeMessage(4, getLocation());
}
if (id_ != null) {
output.writeMessage(5, getId());
}
for (int i = 0; i < stat_.size(); i++) {
output.writeMessage(6, stat_.get(i));
}
if (ctime_ != null) {
output.writeMessage(7, getCtime());
}
if (mtime_ != null) {
output.writeMessage(8, getMtime());
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (host_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getHost());
}
if (type_ != com.tencent.polaris.specification.api.v1.service.manage.ClientProto.Client.ClientType.UNKNOWN.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(2, type_);
}
if (version_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, getVersion());
}
if (location_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(4, getLocation());
}
if (id_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(5, getId());
}
for (int i = 0; i < stat_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(6, stat_.get(i));
}
if (ctime_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(7, getCtime());
}
if (mtime_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(8, getMtime());
}
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.ClientProto.Client)) {
return super.equals(obj);
}
com.tencent.polaris.specification.api.v1.service.manage.ClientProto.Client other = (com.tencent.polaris.specification.api.v1.service.manage.ClientProto.Client) obj;
if (hasHost() != other.hasHost()) return false;
if (hasHost()) {
if (!getHost()
.equals(other.getHost())) return false;
}
if (type_ != other.type_) return false;
if (hasVersion() != other.hasVersion()) return false;
if (hasVersion()) {
if (!getVersion()
.equals(other.getVersion())) return false;
}
if (hasLocation() != other.hasLocation()) return false;
if (hasLocation()) {
if (!getLocation()
.equals(other.getLocation())) return false;
}
if (hasId() != other.hasId()) return false;
if (hasId()) {
if (!getId()
.equals(other.getId())) return false;
}
if (!getStatList()
.equals(other.getStatList())) 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 (!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 (hasHost()) {
hash = (37 * hash) + HOST_FIELD_NUMBER;
hash = (53 * hash) + getHost().hashCode();
}
hash = (37 * hash) + TYPE_FIELD_NUMBER;
hash = (53 * hash) + type_;
if (hasVersion()) {
hash = (37 * hash) + VERSION_FIELD_NUMBER;
hash = (53 * hash) + getVersion().hashCode();
}
if (hasLocation()) {
hash = (37 * hash) + LOCATION_FIELD_NUMBER;
hash = (53 * hash) + getLocation().hashCode();
}
if (hasId()) {
hash = (37 * hash) + ID_FIELD_NUMBER;
hash = (53 * hash) + getId().hashCode();
}
if (getStatCount() > 0) {
hash = (37 * hash) + STAT_FIELD_NUMBER;
hash = (53 * hash) + getStatList().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();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.tencent.polaris.specification.api.v1.service.manage.ClientProto.Client parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.tencent.polaris.specification.api.v1.service.manage.ClientProto.Client 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.ClientProto.Client 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.ClientProto.Client 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.ClientProto.Client parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.tencent.polaris.specification.api.v1.service.manage.ClientProto.Client 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.ClientProto.Client 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.ClientProto.Client 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.ClientProto.Client 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.ClientProto.Client 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.ClientProto.Client 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.ClientProto.Client 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.ClientProto.Client 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.Client}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:v1.Client)
com.tencent.polaris.specification.api.v1.service.manage.ClientProto.ClientOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.tencent.polaris.specification.api.v1.service.manage.ClientProto.internal_static_v1_Client_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.tencent.polaris.specification.api.v1.service.manage.ClientProto.internal_static_v1_Client_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.tencent.polaris.specification.api.v1.service.manage.ClientProto.Client.class, com.tencent.polaris.specification.api.v1.service.manage.ClientProto.Client.Builder.class);
}
// Construct using com.tencent.polaris.specification.api.v1.service.manage.ClientProto.Client.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
if (hostBuilder_ == null) {
host_ = null;
} else {
host_ = null;
hostBuilder_ = null;
}
type_ = 0;
if (versionBuilder_ == null) {
version_ = null;
} else {
version_ = null;
versionBuilder_ = null;
}
if (locationBuilder_ == null) {
location_ = null;
} else {
location_ = null;
locationBuilder_ = null;
}
if (idBuilder_ == null) {
id_ = null;
} else {
id_ = null;
idBuilder_ = null;
}
if (statBuilder_ == null) {
stat_ = java.util.Collections.emptyList();
} else {
stat_ = null;
statBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000001);
if (ctimeBuilder_ == null) {
ctime_ = null;
} else {
ctime_ = null;
ctimeBuilder_ = null;
}
if (mtimeBuilder_ == null) {
mtime_ = null;
} else {
mtime_ = null;
mtimeBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.tencent.polaris.specification.api.v1.service.manage.ClientProto.internal_static_v1_Client_descriptor;
}
@java.lang.Override
public com.tencent.polaris.specification.api.v1.service.manage.ClientProto.Client getDefaultInstanceForType() {
return com.tencent.polaris.specification.api.v1.service.manage.ClientProto.Client.getDefaultInstance();
}
@java.lang.Override
public com.tencent.polaris.specification.api.v1.service.manage.ClientProto.Client build() {
com.tencent.polaris.specification.api.v1.service.manage.ClientProto.Client result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.tencent.polaris.specification.api.v1.service.manage.ClientProto.Client buildPartial() {
com.tencent.polaris.specification.api.v1.service.manage.ClientProto.Client result = new com.tencent.polaris.specification.api.v1.service.manage.ClientProto.Client(this);
int from_bitField0_ = bitField0_;
if (hostBuilder_ == null) {
result.host_ = host_;
} else {
result.host_ = hostBuilder_.build();
}
result.type_ = type_;
if (versionBuilder_ == null) {
result.version_ = version_;
} else {
result.version_ = versionBuilder_.build();
}
if (locationBuilder_ == null) {
result.location_ = location_;
} else {
result.location_ = locationBuilder_.build();
}
if (idBuilder_ == null) {
result.id_ = id_;
} else {
result.id_ = idBuilder_.build();
}
if (statBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
stat_ = java.util.Collections.unmodifiableList(stat_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.stat_ = stat_;
} else {
result.stat_ = statBuilder_.build();
}
if (ctimeBuilder_ == null) {
result.ctime_ = ctime_;
} else {
result.ctime_ = ctimeBuilder_.build();
}
if (mtimeBuilder_ == null) {
result.mtime_ = mtime_;
} else {
result.mtime_ = mtimeBuilder_.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.ClientProto.Client) {
return mergeFrom((com.tencent.polaris.specification.api.v1.service.manage.ClientProto.Client)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.tencent.polaris.specification.api.v1.service.manage.ClientProto.Client other) {
if (other == com.tencent.polaris.specification.api.v1.service.manage.ClientProto.Client.getDefaultInstance()) return this;
if (other.hasHost()) {
mergeHost(other.getHost());
}
if (other.type_ != 0) {
setTypeValue(other.getTypeValue());
}
if (other.hasVersion()) {
mergeVersion(other.getVersion());
}
if (other.hasLocation()) {
mergeLocation(other.getLocation());
}
if (other.hasId()) {
mergeId(other.getId());
}
if (statBuilder_ == null) {
if (!other.stat_.isEmpty()) {
if (stat_.isEmpty()) {
stat_ = other.stat_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureStatIsMutable();
stat_.addAll(other.stat_);
}
onChanged();
}
} else {
if (!other.stat_.isEmpty()) {
if (statBuilder_.isEmpty()) {
statBuilder_.dispose();
statBuilder_ = null;
stat_ = other.stat_;
bitField0_ = (bitField0_ & ~0x00000001);
statBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getStatFieldBuilder() : null;
} else {
statBuilder_.addAllMessages(other.stat_);
}
}
}
if (other.hasCtime()) {
mergeCtime(other.getCtime());
}
if (other.hasMtime()) {
mergeMtime(other.getMtime());
}
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(
getHostFieldBuilder().getBuilder(),
extensionRegistry);
break;
} // case 10
case 16: {
type_ = input.readEnum();
break;
} // case 16
case 26: {
input.readMessage(
getVersionFieldBuilder().getBuilder(),
extensionRegistry);
break;
} // case 26
case 34: {
input.readMessage(
getLocationFieldBuilder().getBuilder(),
extensionRegistry);
break;
} // case 34
case 42: {
input.readMessage(
getIdFieldBuilder().getBuilder(),
extensionRegistry);
break;
} // case 42
case 50: {
com.tencent.polaris.specification.api.v1.service.manage.ClientProto.StatInfo m =
input.readMessage(
com.tencent.polaris.specification.api.v1.service.manage.ClientProto.StatInfo.parser(),
extensionRegistry);
if (statBuilder_ == null) {
ensureStatIsMutable();
stat_.add(m);
} else {
statBuilder_.addMessage(m);
}
break;
} // case 50
case 58: {
input.readMessage(
getCtimeFieldBuilder().getBuilder(),
extensionRegistry);
break;
} // case 58
case 66: {
input.readMessage(
getMtimeFieldBuilder().getBuilder(),
extensionRegistry);
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.StringValue host_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder> hostBuilder_;
/**
* .google.protobuf.StringValue host = 1;
* @return Whether the host field is set.
*/
public boolean hasHost() {
return hostBuilder_ != null || host_ != null;
}
/**
* .google.protobuf.StringValue host = 1;
* @return The host.
*/
public com.google.protobuf.StringValue getHost() {
if (hostBuilder_ == null) {
return host_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : host_;
} else {
return hostBuilder_.getMessage();
}
}
/**
* .google.protobuf.StringValue host = 1;
*/
public Builder setHost(com.google.protobuf.StringValue value) {
if (hostBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
host_ = value;
onChanged();
} else {
hostBuilder_.setMessage(value);
}
return this;
}
/**
* .google.protobuf.StringValue host = 1;
*/
public Builder setHost(
com.google.protobuf.StringValue.Builder builderForValue) {
if (hostBuilder_ == null) {
host_ = builderForValue.build();
onChanged();
} else {
hostBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .google.protobuf.StringValue host = 1;
*/
public Builder mergeHost(com.google.protobuf.StringValue value) {
if (hostBuilder_ == null) {
if (host_ != null) {
host_ =
com.google.protobuf.StringValue.newBuilder(host_).mergeFrom(value).buildPartial();
} else {
host_ = value;
}
onChanged();
} else {
hostBuilder_.mergeFrom(value);
}
return this;
}
/**
* .google.protobuf.StringValue host = 1;
*/
public Builder clearHost() {
if (hostBuilder_ == null) {
host_ = null;
onChanged();
} else {
host_ = null;
hostBuilder_ = null;
}
return this;
}
/**
* .google.protobuf.StringValue host = 1;
*/
public com.google.protobuf.StringValue.Builder getHostBuilder() {
onChanged();
return getHostFieldBuilder().getBuilder();
}
/**
* .google.protobuf.StringValue host = 1;
*/
public com.google.protobuf.StringValueOrBuilder getHostOrBuilder() {
if (hostBuilder_ != null) {
return hostBuilder_.getMessageOrBuilder();
} else {
return host_ == null ?
com.google.protobuf.StringValue.getDefaultInstance() : host_;
}
}
/**
* .google.protobuf.StringValue host = 1;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>
getHostFieldBuilder() {
if (hostBuilder_ == null) {
hostBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>(
getHost(),
getParentForChildren(),
isClean());
host_ = null;
}
return hostBuilder_;
}
private int type_ = 0;
/**
* .v1.Client.ClientType type = 2;
* @return The enum numeric value on the wire for type.
*/
@java.lang.Override public int getTypeValue() {
return type_;
}
/**
* .v1.Client.ClientType type = 2;
* @param value The enum numeric value on the wire for type to set.
* @return This builder for chaining.
*/
public Builder setTypeValue(int value) {
type_ = value;
onChanged();
return this;
}
/**
* .v1.Client.ClientType type = 2;
* @return The type.
*/
@java.lang.Override
public com.tencent.polaris.specification.api.v1.service.manage.ClientProto.Client.ClientType getType() {
@SuppressWarnings("deprecation")
com.tencent.polaris.specification.api.v1.service.manage.ClientProto.Client.ClientType result = com.tencent.polaris.specification.api.v1.service.manage.ClientProto.Client.ClientType.valueOf(type_);
return result == null ? com.tencent.polaris.specification.api.v1.service.manage.ClientProto.Client.ClientType.UNRECOGNIZED : result;
}
/**
* .v1.Client.ClientType type = 2;
* @param value The type to set.
* @return This builder for chaining.
*/
public Builder setType(com.tencent.polaris.specification.api.v1.service.manage.ClientProto.Client.ClientType value) {
if (value == null) {
throw new NullPointerException();
}
type_ = value.getNumber();
onChanged();
return this;
}
/**
* .v1.Client.ClientType type = 2;
* @return This builder for chaining.
*/
public Builder clearType() {
type_ = 0;
onChanged();
return this;
}
private com.google.protobuf.StringValue version_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder> versionBuilder_;
/**
* .google.protobuf.StringValue version = 3;
* @return Whether the version field is set.
*/
public boolean hasVersion() {
return versionBuilder_ != null || version_ != null;
}
/**
* .google.protobuf.StringValue version = 3;
* @return The version.
*/
public com.google.protobuf.StringValue getVersion() {
if (versionBuilder_ == null) {
return version_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : version_;
} else {
return versionBuilder_.getMessage();
}
}
/**
* .google.protobuf.StringValue version = 3;
*/
public Builder setVersion(com.google.protobuf.StringValue value) {
if (versionBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
version_ = value;
onChanged();
} else {
versionBuilder_.setMessage(value);
}
return this;
}
/**
* .google.protobuf.StringValue version = 3;
*/
public Builder setVersion(
com.google.protobuf.StringValue.Builder builderForValue) {
if (versionBuilder_ == null) {
version_ = builderForValue.build();
onChanged();
} else {
versionBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .google.protobuf.StringValue version = 3;
*/
public Builder mergeVersion(com.google.protobuf.StringValue value) {
if (versionBuilder_ == null) {
if (version_ != null) {
version_ =
com.google.protobuf.StringValue.newBuilder(version_).mergeFrom(value).buildPartial();
} else {
version_ = value;
}
onChanged();
} else {
versionBuilder_.mergeFrom(value);
}
return this;
}
/**
* .google.protobuf.StringValue version = 3;
*/
public Builder clearVersion() {
if (versionBuilder_ == null) {
version_ = null;
onChanged();
} else {
version_ = null;
versionBuilder_ = null;
}
return this;
}
/**
* .google.protobuf.StringValue version = 3;
*/
public com.google.protobuf.StringValue.Builder getVersionBuilder() {
onChanged();
return getVersionFieldBuilder().getBuilder();
}
/**
* .google.protobuf.StringValue version = 3;
*/
public com.google.protobuf.StringValueOrBuilder getVersionOrBuilder() {
if (versionBuilder_ != null) {
return versionBuilder_.getMessageOrBuilder();
} else {
return version_ == null ?
com.google.protobuf.StringValue.getDefaultInstance() : version_;
}
}
/**
* .google.protobuf.StringValue version = 3;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>
getVersionFieldBuilder() {
if (versionBuilder_ == null) {
versionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>(
getVersion(),
getParentForChildren(),
isClean());
version_ = null;
}
return versionBuilder_;
}
private com.tencent.polaris.specification.api.v1.model.ModelProto.Location location_;
private com.google.protobuf.SingleFieldBuilderV3<
com.tencent.polaris.specification.api.v1.model.ModelProto.Location, com.tencent.polaris.specification.api.v1.model.ModelProto.Location.Builder, com.tencent.polaris.specification.api.v1.model.ModelProto.LocationOrBuilder> locationBuilder_;
/**
* .v1.Location location = 4;
* @return Whether the location field is set.
*/
public boolean hasLocation() {
return locationBuilder_ != null || location_ != null;
}
/**
* .v1.Location location = 4;
* @return The location.
*/
public com.tencent.polaris.specification.api.v1.model.ModelProto.Location getLocation() {
if (locationBuilder_ == null) {
return location_ == null ? com.tencent.polaris.specification.api.v1.model.ModelProto.Location.getDefaultInstance() : location_;
} else {
return locationBuilder_.getMessage();
}
}
/**
* .v1.Location location = 4;
*/
public Builder setLocation(com.tencent.polaris.specification.api.v1.model.ModelProto.Location value) {
if (locationBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
location_ = value;
onChanged();
} else {
locationBuilder_.setMessage(value);
}
return this;
}
/**
* .v1.Location location = 4;
*/
public Builder setLocation(
com.tencent.polaris.specification.api.v1.model.ModelProto.Location.Builder builderForValue) {
if (locationBuilder_ == null) {
location_ = builderForValue.build();
onChanged();
} else {
locationBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .v1.Location location = 4;
*/
public Builder mergeLocation(com.tencent.polaris.specification.api.v1.model.ModelProto.Location value) {
if (locationBuilder_ == null) {
if (location_ != null) {
location_ =
com.tencent.polaris.specification.api.v1.model.ModelProto.Location.newBuilder(location_).mergeFrom(value).buildPartial();
} else {
location_ = value;
}
onChanged();
} else {
locationBuilder_.mergeFrom(value);
}
return this;
}
/**
* .v1.Location location = 4;
*/
public Builder clearLocation() {
if (locationBuilder_ == null) {
location_ = null;
onChanged();
} else {
location_ = null;
locationBuilder_ = null;
}
return this;
}
/**
* .v1.Location location = 4;
*/
public com.tencent.polaris.specification.api.v1.model.ModelProto.Location.Builder getLocationBuilder() {
onChanged();
return getLocationFieldBuilder().getBuilder();
}
/**
* .v1.Location location = 4;
*/
public com.tencent.polaris.specification.api.v1.model.ModelProto.LocationOrBuilder getLocationOrBuilder() {
if (locationBuilder_ != null) {
return locationBuilder_.getMessageOrBuilder();
} else {
return location_ == null ?
com.tencent.polaris.specification.api.v1.model.ModelProto.Location.getDefaultInstance() : location_;
}
}
/**
* .v1.Location location = 4;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.tencent.polaris.specification.api.v1.model.ModelProto.Location, com.tencent.polaris.specification.api.v1.model.ModelProto.Location.Builder, com.tencent.polaris.specification.api.v1.model.ModelProto.LocationOrBuilder>
getLocationFieldBuilder() {
if (locationBuilder_ == null) {
locationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.tencent.polaris.specification.api.v1.model.ModelProto.Location, com.tencent.polaris.specification.api.v1.model.ModelProto.Location.Builder, com.tencent.polaris.specification.api.v1.model.ModelProto.LocationOrBuilder>(
getLocation(),
getParentForChildren(),
isClean());
location_ = null;
}
return locationBuilder_;
}
private com.google.protobuf.StringValue id_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder> idBuilder_;
/**
* .google.protobuf.StringValue id = 5;
* @return Whether the id field is set.
*/
public boolean hasId() {
return idBuilder_ != null || id_ != null;
}
/**
* .google.protobuf.StringValue id = 5;
* @return The id.
*/
public com.google.protobuf.StringValue getId() {
if (idBuilder_ == null) {
return id_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : id_;
} else {
return idBuilder_.getMessage();
}
}
/**
* .google.protobuf.StringValue id = 5;
*/
public Builder setId(com.google.protobuf.StringValue value) {
if (idBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
id_ = value;
onChanged();
} else {
idBuilder_.setMessage(value);
}
return this;
}
/**
* .google.protobuf.StringValue id = 5;
*/
public Builder setId(
com.google.protobuf.StringValue.Builder builderForValue) {
if (idBuilder_ == null) {
id_ = builderForValue.build();
onChanged();
} else {
idBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .google.protobuf.StringValue id = 5;
*/
public Builder mergeId(com.google.protobuf.StringValue value) {
if (idBuilder_ == null) {
if (id_ != null) {
id_ =
com.google.protobuf.StringValue.newBuilder(id_).mergeFrom(value).buildPartial();
} else {
id_ = value;
}
onChanged();
} else {
idBuilder_.mergeFrom(value);
}
return this;
}
/**
* .google.protobuf.StringValue id = 5;
*/
public Builder clearId() {
if (idBuilder_ == null) {
id_ = null;
onChanged();
} else {
id_ = null;
idBuilder_ = null;
}
return this;
}
/**
* .google.protobuf.StringValue id = 5;
*/
public com.google.protobuf.StringValue.Builder getIdBuilder() {
onChanged();
return getIdFieldBuilder().getBuilder();
}
/**
* .google.protobuf.StringValue id = 5;
*/
public com.google.protobuf.StringValueOrBuilder getIdOrBuilder() {
if (idBuilder_ != null) {
return idBuilder_.getMessageOrBuilder();
} else {
return id_ == null ?
com.google.protobuf.StringValue.getDefaultInstance() : id_;
}
}
/**
* .google.protobuf.StringValue id = 5;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>
getIdFieldBuilder() {
if (idBuilder_ == null) {
idBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>(
getId(),
getParentForChildren(),
isClean());
id_ = null;
}
return idBuilder_;
}
private java.util.List stat_ =
java.util.Collections.emptyList();
private void ensureStatIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
stat_ = new java.util.ArrayList(stat_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.tencent.polaris.specification.api.v1.service.manage.ClientProto.StatInfo, com.tencent.polaris.specification.api.v1.service.manage.ClientProto.StatInfo.Builder, com.tencent.polaris.specification.api.v1.service.manage.ClientProto.StatInfoOrBuilder> statBuilder_;
/**
* repeated .v1.StatInfo stat = 6;
*/
public java.util.List getStatList() {
if (statBuilder_ == null) {
return java.util.Collections.unmodifiableList(stat_);
} else {
return statBuilder_.getMessageList();
}
}
/**
* repeated .v1.StatInfo stat = 6;
*/
public int getStatCount() {
if (statBuilder_ == null) {
return stat_.size();
} else {
return statBuilder_.getCount();
}
}
/**
* repeated .v1.StatInfo stat = 6;
*/
public com.tencent.polaris.specification.api.v1.service.manage.ClientProto.StatInfo getStat(int index) {
if (statBuilder_ == null) {
return stat_.get(index);
} else {
return statBuilder_.getMessage(index);
}
}
/**
* repeated .v1.StatInfo stat = 6;
*/
public Builder setStat(
int index, com.tencent.polaris.specification.api.v1.service.manage.ClientProto.StatInfo value) {
if (statBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureStatIsMutable();
stat_.set(index, value);
onChanged();
} else {
statBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .v1.StatInfo stat = 6;
*/
public Builder setStat(
int index, com.tencent.polaris.specification.api.v1.service.manage.ClientProto.StatInfo.Builder builderForValue) {
if (statBuilder_ == null) {
ensureStatIsMutable();
stat_.set(index, builderForValue.build());
onChanged();
} else {
statBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .v1.StatInfo stat = 6;
*/
public Builder addStat(com.tencent.polaris.specification.api.v1.service.manage.ClientProto.StatInfo value) {
if (statBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureStatIsMutable();
stat_.add(value);
onChanged();
} else {
statBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .v1.StatInfo stat = 6;
*/
public Builder addStat(
int index, com.tencent.polaris.specification.api.v1.service.manage.ClientProto.StatInfo value) {
if (statBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureStatIsMutable();
stat_.add(index, value);
onChanged();
} else {
statBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .v1.StatInfo stat = 6;
*/
public Builder addStat(
com.tencent.polaris.specification.api.v1.service.manage.ClientProto.StatInfo.Builder builderForValue) {
if (statBuilder_ == null) {
ensureStatIsMutable();
stat_.add(builderForValue.build());
onChanged();
} else {
statBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .v1.StatInfo stat = 6;
*/
public Builder addStat(
int index, com.tencent.polaris.specification.api.v1.service.manage.ClientProto.StatInfo.Builder builderForValue) {
if (statBuilder_ == null) {
ensureStatIsMutable();
stat_.add(index, builderForValue.build());
onChanged();
} else {
statBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .v1.StatInfo stat = 6;
*/
public Builder addAllStat(
java.lang.Iterable extends com.tencent.polaris.specification.api.v1.service.manage.ClientProto.StatInfo> values) {
if (statBuilder_ == null) {
ensureStatIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, stat_);
onChanged();
} else {
statBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .v1.StatInfo stat = 6;
*/
public Builder clearStat() {
if (statBuilder_ == null) {
stat_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
statBuilder_.clear();
}
return this;
}
/**
* repeated .v1.StatInfo stat = 6;
*/
public Builder removeStat(int index) {
if (statBuilder_ == null) {
ensureStatIsMutable();
stat_.remove(index);
onChanged();
} else {
statBuilder_.remove(index);
}
return this;
}
/**
* repeated .v1.StatInfo stat = 6;
*/
public com.tencent.polaris.specification.api.v1.service.manage.ClientProto.StatInfo.Builder getStatBuilder(
int index) {
return getStatFieldBuilder().getBuilder(index);
}
/**
* repeated .v1.StatInfo stat = 6;
*/
public com.tencent.polaris.specification.api.v1.service.manage.ClientProto.StatInfoOrBuilder getStatOrBuilder(
int index) {
if (statBuilder_ == null) {
return stat_.get(index); } else {
return statBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .v1.StatInfo stat = 6;
*/
public java.util.List extends com.tencent.polaris.specification.api.v1.service.manage.ClientProto.StatInfoOrBuilder>
getStatOrBuilderList() {
if (statBuilder_ != null) {
return statBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(stat_);
}
}
/**
* repeated .v1.StatInfo stat = 6;
*/
public com.tencent.polaris.specification.api.v1.service.manage.ClientProto.StatInfo.Builder addStatBuilder() {
return getStatFieldBuilder().addBuilder(
com.tencent.polaris.specification.api.v1.service.manage.ClientProto.StatInfo.getDefaultInstance());
}
/**
* repeated .v1.StatInfo stat = 6;
*/
public com.tencent.polaris.specification.api.v1.service.manage.ClientProto.StatInfo.Builder addStatBuilder(
int index) {
return getStatFieldBuilder().addBuilder(
index, com.tencent.polaris.specification.api.v1.service.manage.ClientProto.StatInfo.getDefaultInstance());
}
/**
* repeated .v1.StatInfo stat = 6;
*/
public java.util.List
getStatBuilderList() {
return getStatFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.tencent.polaris.specification.api.v1.service.manage.ClientProto.StatInfo, com.tencent.polaris.specification.api.v1.service.manage.ClientProto.StatInfo.Builder, com.tencent.polaris.specification.api.v1.service.manage.ClientProto.StatInfoOrBuilder>
getStatFieldBuilder() {
if (statBuilder_ == null) {
statBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
com.tencent.polaris.specification.api.v1.service.manage.ClientProto.StatInfo, com.tencent.polaris.specification.api.v1.service.manage.ClientProto.StatInfo.Builder, com.tencent.polaris.specification.api.v1.service.manage.ClientProto.StatInfoOrBuilder>(
stat_,
((bitField0_ & 0x00000001) != 0),
getParentForChildren(),
isClean());
stat_ = null;
}
return statBuilder_;
}
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 = 7;
* @return Whether the ctime field is set.
*/
public boolean hasCtime() {
return ctimeBuilder_ != null || ctime_ != null;
}
/**
* .google.protobuf.StringValue ctime = 7;
* @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 = 7;
*/
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 = 7;
*/
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 = 7;
*/
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 = 7;
*/
public Builder clearCtime() {
if (ctimeBuilder_ == null) {
ctime_ = null;
onChanged();
} else {
ctime_ = null;
ctimeBuilder_ = null;
}
return this;
}
/**
* .google.protobuf.StringValue ctime = 7;
*/
public com.google.protobuf.StringValue.Builder getCtimeBuilder() {
onChanged();
return getCtimeFieldBuilder().getBuilder();
}
/**
* .google.protobuf.StringValue ctime = 7;
*/
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 = 7;
*/
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 = 8;
* @return Whether the mtime field is set.
*/
public boolean hasMtime() {
return mtimeBuilder_ != null || mtime_ != null;
}
/**
* .google.protobuf.StringValue mtime = 8;
* @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 = 8;
*/
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 = 8;
*/
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 = 8;
*/
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 = 8;
*/
public Builder clearMtime() {
if (mtimeBuilder_ == null) {
mtime_ = null;
onChanged();
} else {
mtime_ = null;
mtimeBuilder_ = null;
}
return this;
}
/**
* .google.protobuf.StringValue mtime = 8;
*/
public com.google.protobuf.StringValue.Builder getMtimeBuilder() {
onChanged();
return getMtimeFieldBuilder().getBuilder();
}
/**
* .google.protobuf.StringValue mtime = 8;
*/
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 = 8;
*/
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_;
}
@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.Client)
}
// @@protoc_insertion_point(class_scope:v1.Client)
private static final com.tencent.polaris.specification.api.v1.service.manage.ClientProto.Client DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.tencent.polaris.specification.api.v1.service.manage.ClientProto.Client();
}
public static com.tencent.polaris.specification.api.v1.service.manage.ClientProto.Client getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public Client 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.ClientProto.Client getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface StatInfoOrBuilder extends
// @@protoc_insertion_point(interface_extends:v1.StatInfo)
com.google.protobuf.MessageOrBuilder {
/**
* .google.protobuf.StringValue target = 1;
* @return Whether the target field is set.
*/
boolean hasTarget();
/**
* .google.protobuf.StringValue target = 1;
* @return The target.
*/
com.google.protobuf.StringValue getTarget();
/**
* .google.protobuf.StringValue target = 1;
*/
com.google.protobuf.StringValueOrBuilder getTargetOrBuilder();
/**
* .google.protobuf.UInt32Value port = 2;
* @return Whether the port field is set.
*/
boolean hasPort();
/**
* .google.protobuf.UInt32Value port = 2;
* @return The port.
*/
com.google.protobuf.UInt32Value getPort();
/**
* .google.protobuf.UInt32Value port = 2;
*/
com.google.protobuf.UInt32ValueOrBuilder getPortOrBuilder();
/**
* .google.protobuf.StringValue path = 3;
* @return Whether the path field is set.
*/
boolean hasPath();
/**
* .google.protobuf.StringValue path = 3;
* @return The path.
*/
com.google.protobuf.StringValue getPath();
/**
* .google.protobuf.StringValue path = 3;
*/
com.google.protobuf.StringValueOrBuilder getPathOrBuilder();
/**
* .google.protobuf.StringValue protocol = 4;
* @return Whether the protocol field is set.
*/
boolean hasProtocol();
/**
* .google.protobuf.StringValue protocol = 4;
* @return The protocol.
*/
com.google.protobuf.StringValue getProtocol();
/**
* .google.protobuf.StringValue protocol = 4;
*/
com.google.protobuf.StringValueOrBuilder getProtocolOrBuilder();
}
/**
* Protobuf type {@code v1.StatInfo}
*/
public static final class StatInfo extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:v1.StatInfo)
StatInfoOrBuilder {
private static final long serialVersionUID = 0L;
// Use StatInfo.newBuilder() to construct.
private StatInfo(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private StatInfo() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new StatInfo();
}
@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.ClientProto.internal_static_v1_StatInfo_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.tencent.polaris.specification.api.v1.service.manage.ClientProto.internal_static_v1_StatInfo_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.tencent.polaris.specification.api.v1.service.manage.ClientProto.StatInfo.class, com.tencent.polaris.specification.api.v1.service.manage.ClientProto.StatInfo.Builder.class);
}
public static final int TARGET_FIELD_NUMBER = 1;
private com.google.protobuf.StringValue target_;
/**
* .google.protobuf.StringValue target = 1;
* @return Whether the target field is set.
*/
@java.lang.Override
public boolean hasTarget() {
return target_ != null;
}
/**
* .google.protobuf.StringValue target = 1;
* @return The target.
*/
@java.lang.Override
public com.google.protobuf.StringValue getTarget() {
return target_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : target_;
}
/**
* .google.protobuf.StringValue target = 1;
*/
@java.lang.Override
public com.google.protobuf.StringValueOrBuilder getTargetOrBuilder() {
return getTarget();
}
public static final int PORT_FIELD_NUMBER = 2;
private com.google.protobuf.UInt32Value port_;
/**
* .google.protobuf.UInt32Value port = 2;
* @return Whether the port field is set.
*/
@java.lang.Override
public boolean hasPort() {
return port_ != null;
}
/**
* .google.protobuf.UInt32Value port = 2;
* @return The port.
*/
@java.lang.Override
public com.google.protobuf.UInt32Value getPort() {
return port_ == null ? com.google.protobuf.UInt32Value.getDefaultInstance() : port_;
}
/**
* .google.protobuf.UInt32Value port = 2;
*/
@java.lang.Override
public com.google.protobuf.UInt32ValueOrBuilder getPortOrBuilder() {
return getPort();
}
public static final int PATH_FIELD_NUMBER = 3;
private com.google.protobuf.StringValue path_;
/**
* .google.protobuf.StringValue path = 3;
* @return Whether the path field is set.
*/
@java.lang.Override
public boolean hasPath() {
return path_ != null;
}
/**
* .google.protobuf.StringValue path = 3;
* @return The path.
*/
@java.lang.Override
public com.google.protobuf.StringValue getPath() {
return path_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : path_;
}
/**
* .google.protobuf.StringValue path = 3;
*/
@java.lang.Override
public com.google.protobuf.StringValueOrBuilder getPathOrBuilder() {
return getPath();
}
public static final int PROTOCOL_FIELD_NUMBER = 4;
private com.google.protobuf.StringValue protocol_;
/**
* .google.protobuf.StringValue protocol = 4;
* @return Whether the protocol field is set.
*/
@java.lang.Override
public boolean hasProtocol() {
return protocol_ != null;
}
/**
* .google.protobuf.StringValue protocol = 4;
* @return The protocol.
*/
@java.lang.Override
public com.google.protobuf.StringValue getProtocol() {
return protocol_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : protocol_;
}
/**
* .google.protobuf.StringValue protocol = 4;
*/
@java.lang.Override
public com.google.protobuf.StringValueOrBuilder getProtocolOrBuilder() {
return getProtocol();
}
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 (target_ != null) {
output.writeMessage(1, getTarget());
}
if (port_ != null) {
output.writeMessage(2, getPort());
}
if (path_ != null) {
output.writeMessage(3, getPath());
}
if (protocol_ != null) {
output.writeMessage(4, getProtocol());
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (target_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getTarget());
}
if (port_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, getPort());
}
if (path_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, getPath());
}
if (protocol_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(4, getProtocol());
}
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.ClientProto.StatInfo)) {
return super.equals(obj);
}
com.tencent.polaris.specification.api.v1.service.manage.ClientProto.StatInfo other = (com.tencent.polaris.specification.api.v1.service.manage.ClientProto.StatInfo) obj;
if (hasTarget() != other.hasTarget()) return false;
if (hasTarget()) {
if (!getTarget()
.equals(other.getTarget())) return false;
}
if (hasPort() != other.hasPort()) return false;
if (hasPort()) {
if (!getPort()
.equals(other.getPort())) return false;
}
if (hasPath() != other.hasPath()) return false;
if (hasPath()) {
if (!getPath()
.equals(other.getPath())) return false;
}
if (hasProtocol() != other.hasProtocol()) return false;
if (hasProtocol()) {
if (!getProtocol()
.equals(other.getProtocol())) 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 (hasTarget()) {
hash = (37 * hash) + TARGET_FIELD_NUMBER;
hash = (53 * hash) + getTarget().hashCode();
}
if (hasPort()) {
hash = (37 * hash) + PORT_FIELD_NUMBER;
hash = (53 * hash) + getPort().hashCode();
}
if (hasPath()) {
hash = (37 * hash) + PATH_FIELD_NUMBER;
hash = (53 * hash) + getPath().hashCode();
}
if (hasProtocol()) {
hash = (37 * hash) + PROTOCOL_FIELD_NUMBER;
hash = (53 * hash) + getProtocol().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.tencent.polaris.specification.api.v1.service.manage.ClientProto.StatInfo parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.tencent.polaris.specification.api.v1.service.manage.ClientProto.StatInfo 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.ClientProto.StatInfo 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.ClientProto.StatInfo 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.ClientProto.StatInfo parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.tencent.polaris.specification.api.v1.service.manage.ClientProto.StatInfo 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.ClientProto.StatInfo 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.ClientProto.StatInfo 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.ClientProto.StatInfo 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.ClientProto.StatInfo 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.ClientProto.StatInfo 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.ClientProto.StatInfo 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.ClientProto.StatInfo 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.StatInfo}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:v1.StatInfo)
com.tencent.polaris.specification.api.v1.service.manage.ClientProto.StatInfoOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.tencent.polaris.specification.api.v1.service.manage.ClientProto.internal_static_v1_StatInfo_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.tencent.polaris.specification.api.v1.service.manage.ClientProto.internal_static_v1_StatInfo_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.tencent.polaris.specification.api.v1.service.manage.ClientProto.StatInfo.class, com.tencent.polaris.specification.api.v1.service.manage.ClientProto.StatInfo.Builder.class);
}
// Construct using com.tencent.polaris.specification.api.v1.service.manage.ClientProto.StatInfo.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
if (targetBuilder_ == null) {
target_ = null;
} else {
target_ = null;
targetBuilder_ = null;
}
if (portBuilder_ == null) {
port_ = null;
} else {
port_ = null;
portBuilder_ = null;
}
if (pathBuilder_ == null) {
path_ = null;
} else {
path_ = null;
pathBuilder_ = null;
}
if (protocolBuilder_ == null) {
protocol_ = null;
} else {
protocol_ = null;
protocolBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.tencent.polaris.specification.api.v1.service.manage.ClientProto.internal_static_v1_StatInfo_descriptor;
}
@java.lang.Override
public com.tencent.polaris.specification.api.v1.service.manage.ClientProto.StatInfo getDefaultInstanceForType() {
return com.tencent.polaris.specification.api.v1.service.manage.ClientProto.StatInfo.getDefaultInstance();
}
@java.lang.Override
public com.tencent.polaris.specification.api.v1.service.manage.ClientProto.StatInfo build() {
com.tencent.polaris.specification.api.v1.service.manage.ClientProto.StatInfo result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.tencent.polaris.specification.api.v1.service.manage.ClientProto.StatInfo buildPartial() {
com.tencent.polaris.specification.api.v1.service.manage.ClientProto.StatInfo result = new com.tencent.polaris.specification.api.v1.service.manage.ClientProto.StatInfo(this);
if (targetBuilder_ == null) {
result.target_ = target_;
} else {
result.target_ = targetBuilder_.build();
}
if (portBuilder_ == null) {
result.port_ = port_;
} else {
result.port_ = portBuilder_.build();
}
if (pathBuilder_ == null) {
result.path_ = path_;
} else {
result.path_ = pathBuilder_.build();
}
if (protocolBuilder_ == null) {
result.protocol_ = protocol_;
} else {
result.protocol_ = protocolBuilder_.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.ClientProto.StatInfo) {
return mergeFrom((com.tencent.polaris.specification.api.v1.service.manage.ClientProto.StatInfo)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.tencent.polaris.specification.api.v1.service.manage.ClientProto.StatInfo other) {
if (other == com.tencent.polaris.specification.api.v1.service.manage.ClientProto.StatInfo.getDefaultInstance()) return this;
if (other.hasTarget()) {
mergeTarget(other.getTarget());
}
if (other.hasPort()) {
mergePort(other.getPort());
}
if (other.hasPath()) {
mergePath(other.getPath());
}
if (other.hasProtocol()) {
mergeProtocol(other.getProtocol());
}
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(
getTargetFieldBuilder().getBuilder(),
extensionRegistry);
break;
} // case 10
case 18: {
input.readMessage(
getPortFieldBuilder().getBuilder(),
extensionRegistry);
break;
} // case 18
case 26: {
input.readMessage(
getPathFieldBuilder().getBuilder(),
extensionRegistry);
break;
} // case 26
case 34: {
input.readMessage(
getProtocolFieldBuilder().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.google.protobuf.StringValue target_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder> targetBuilder_;
/**
* .google.protobuf.StringValue target = 1;
* @return Whether the target field is set.
*/
public boolean hasTarget() {
return targetBuilder_ != null || target_ != null;
}
/**
* .google.protobuf.StringValue target = 1;
* @return The target.
*/
public com.google.protobuf.StringValue getTarget() {
if (targetBuilder_ == null) {
return target_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : target_;
} else {
return targetBuilder_.getMessage();
}
}
/**
* .google.protobuf.StringValue target = 1;
*/
public Builder setTarget(com.google.protobuf.StringValue value) {
if (targetBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
target_ = value;
onChanged();
} else {
targetBuilder_.setMessage(value);
}
return this;
}
/**
* .google.protobuf.StringValue target = 1;
*/
public Builder setTarget(
com.google.protobuf.StringValue.Builder builderForValue) {
if (targetBuilder_ == null) {
target_ = builderForValue.build();
onChanged();
} else {
targetBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .google.protobuf.StringValue target = 1;
*/
public Builder mergeTarget(com.google.protobuf.StringValue value) {
if (targetBuilder_ == null) {
if (target_ != null) {
target_ =
com.google.protobuf.StringValue.newBuilder(target_).mergeFrom(value).buildPartial();
} else {
target_ = value;
}
onChanged();
} else {
targetBuilder_.mergeFrom(value);
}
return this;
}
/**
* .google.protobuf.StringValue target = 1;
*/
public Builder clearTarget() {
if (targetBuilder_ == null) {
target_ = null;
onChanged();
} else {
target_ = null;
targetBuilder_ = null;
}
return this;
}
/**
* .google.protobuf.StringValue target = 1;
*/
public com.google.protobuf.StringValue.Builder getTargetBuilder() {
onChanged();
return getTargetFieldBuilder().getBuilder();
}
/**
* .google.protobuf.StringValue target = 1;
*/
public com.google.protobuf.StringValueOrBuilder getTargetOrBuilder() {
if (targetBuilder_ != null) {
return targetBuilder_.getMessageOrBuilder();
} else {
return target_ == null ?
com.google.protobuf.StringValue.getDefaultInstance() : target_;
}
}
/**
* .google.protobuf.StringValue target = 1;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>
getTargetFieldBuilder() {
if (targetBuilder_ == null) {
targetBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>(
getTarget(),
getParentForChildren(),
isClean());
target_ = null;
}
return targetBuilder_;
}
private com.google.protobuf.UInt32Value port_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.UInt32Value, com.google.protobuf.UInt32Value.Builder, com.google.protobuf.UInt32ValueOrBuilder> portBuilder_;
/**
* .google.protobuf.UInt32Value port = 2;
* @return Whether the port field is set.
*/
public boolean hasPort() {
return portBuilder_ != null || port_ != null;
}
/**
* .google.protobuf.UInt32Value port = 2;
* @return The port.
*/
public com.google.protobuf.UInt32Value getPort() {
if (portBuilder_ == null) {
return port_ == null ? com.google.protobuf.UInt32Value.getDefaultInstance() : port_;
} else {
return portBuilder_.getMessage();
}
}
/**
* .google.protobuf.UInt32Value port = 2;
*/
public Builder setPort(com.google.protobuf.UInt32Value value) {
if (portBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
port_ = value;
onChanged();
} else {
portBuilder_.setMessage(value);
}
return this;
}
/**
* .google.protobuf.UInt32Value port = 2;
*/
public Builder setPort(
com.google.protobuf.UInt32Value.Builder builderForValue) {
if (portBuilder_ == null) {
port_ = builderForValue.build();
onChanged();
} else {
portBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .google.protobuf.UInt32Value port = 2;
*/
public Builder mergePort(com.google.protobuf.UInt32Value value) {
if (portBuilder_ == null) {
if (port_ != null) {
port_ =
com.google.protobuf.UInt32Value.newBuilder(port_).mergeFrom(value).buildPartial();
} else {
port_ = value;
}
onChanged();
} else {
portBuilder_.mergeFrom(value);
}
return this;
}
/**
* .google.protobuf.UInt32Value port = 2;
*/
public Builder clearPort() {
if (portBuilder_ == null) {
port_ = null;
onChanged();
} else {
port_ = null;
portBuilder_ = null;
}
return this;
}
/**
* .google.protobuf.UInt32Value port = 2;
*/
public com.google.protobuf.UInt32Value.Builder getPortBuilder() {
onChanged();
return getPortFieldBuilder().getBuilder();
}
/**
* .google.protobuf.UInt32Value port = 2;
*/
public com.google.protobuf.UInt32ValueOrBuilder getPortOrBuilder() {
if (portBuilder_ != null) {
return portBuilder_.getMessageOrBuilder();
} else {
return port_ == null ?
com.google.protobuf.UInt32Value.getDefaultInstance() : port_;
}
}
/**
* .google.protobuf.UInt32Value port = 2;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.UInt32Value, com.google.protobuf.UInt32Value.Builder, com.google.protobuf.UInt32ValueOrBuilder>
getPortFieldBuilder() {
if (portBuilder_ == null) {
portBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.UInt32Value, com.google.protobuf.UInt32Value.Builder, com.google.protobuf.UInt32ValueOrBuilder>(
getPort(),
getParentForChildren(),
isClean());
port_ = null;
}
return portBuilder_;
}
private com.google.protobuf.StringValue path_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder> pathBuilder_;
/**
* .google.protobuf.StringValue path = 3;
* @return Whether the path field is set.
*/
public boolean hasPath() {
return pathBuilder_ != null || path_ != null;
}
/**
* .google.protobuf.StringValue path = 3;
* @return The path.
*/
public com.google.protobuf.StringValue getPath() {
if (pathBuilder_ == null) {
return path_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : path_;
} else {
return pathBuilder_.getMessage();
}
}
/**
* .google.protobuf.StringValue path = 3;
*/
public Builder setPath(com.google.protobuf.StringValue value) {
if (pathBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
path_ = value;
onChanged();
} else {
pathBuilder_.setMessage(value);
}
return this;
}
/**
* .google.protobuf.StringValue path = 3;
*/
public Builder setPath(
com.google.protobuf.StringValue.Builder builderForValue) {
if (pathBuilder_ == null) {
path_ = builderForValue.build();
onChanged();
} else {
pathBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .google.protobuf.StringValue path = 3;
*/
public Builder mergePath(com.google.protobuf.StringValue value) {
if (pathBuilder_ == null) {
if (path_ != null) {
path_ =
com.google.protobuf.StringValue.newBuilder(path_).mergeFrom(value).buildPartial();
} else {
path_ = value;
}
onChanged();
} else {
pathBuilder_.mergeFrom(value);
}
return this;
}
/**
* .google.protobuf.StringValue path = 3;
*/
public Builder clearPath() {
if (pathBuilder_ == null) {
path_ = null;
onChanged();
} else {
path_ = null;
pathBuilder_ = null;
}
return this;
}
/**
* .google.protobuf.StringValue path = 3;
*/
public com.google.protobuf.StringValue.Builder getPathBuilder() {
onChanged();
return getPathFieldBuilder().getBuilder();
}
/**
* .google.protobuf.StringValue path = 3;
*/
public com.google.protobuf.StringValueOrBuilder getPathOrBuilder() {
if (pathBuilder_ != null) {
return pathBuilder_.getMessageOrBuilder();
} else {
return path_ == null ?
com.google.protobuf.StringValue.getDefaultInstance() : path_;
}
}
/**
* .google.protobuf.StringValue path = 3;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>
getPathFieldBuilder() {
if (pathBuilder_ == null) {
pathBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>(
getPath(),
getParentForChildren(),
isClean());
path_ = null;
}
return pathBuilder_;
}
private com.google.protobuf.StringValue protocol_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder> protocolBuilder_;
/**
* .google.protobuf.StringValue protocol = 4;
* @return Whether the protocol field is set.
*/
public boolean hasProtocol() {
return protocolBuilder_ != null || protocol_ != null;
}
/**
* .google.protobuf.StringValue protocol = 4;
* @return The protocol.
*/
public com.google.protobuf.StringValue getProtocol() {
if (protocolBuilder_ == null) {
return protocol_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : protocol_;
} else {
return protocolBuilder_.getMessage();
}
}
/**
* .google.protobuf.StringValue protocol = 4;
*/
public Builder setProtocol(com.google.protobuf.StringValue value) {
if (protocolBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
protocol_ = value;
onChanged();
} else {
protocolBuilder_.setMessage(value);
}
return this;
}
/**
* .google.protobuf.StringValue protocol = 4;
*/
public Builder setProtocol(
com.google.protobuf.StringValue.Builder builderForValue) {
if (protocolBuilder_ == null) {
protocol_ = builderForValue.build();
onChanged();
} else {
protocolBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .google.protobuf.StringValue protocol = 4;
*/
public Builder mergeProtocol(com.google.protobuf.StringValue value) {
if (protocolBuilder_ == null) {
if (protocol_ != null) {
protocol_ =
com.google.protobuf.StringValue.newBuilder(protocol_).mergeFrom(value).buildPartial();
} else {
protocol_ = value;
}
onChanged();
} else {
protocolBuilder_.mergeFrom(value);
}
return this;
}
/**
* .google.protobuf.StringValue protocol = 4;
*/
public Builder clearProtocol() {
if (protocolBuilder_ == null) {
protocol_ = null;
onChanged();
} else {
protocol_ = null;
protocolBuilder_ = null;
}
return this;
}
/**
* .google.protobuf.StringValue protocol = 4;
*/
public com.google.protobuf.StringValue.Builder getProtocolBuilder() {
onChanged();
return getProtocolFieldBuilder().getBuilder();
}
/**
* .google.protobuf.StringValue protocol = 4;
*/
public com.google.protobuf.StringValueOrBuilder getProtocolOrBuilder() {
if (protocolBuilder_ != null) {
return protocolBuilder_.getMessageOrBuilder();
} else {
return protocol_ == null ?
com.google.protobuf.StringValue.getDefaultInstance() : protocol_;
}
}
/**
* .google.protobuf.StringValue protocol = 4;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>
getProtocolFieldBuilder() {
if (protocolBuilder_ == null) {
protocolBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>(
getProtocol(),
getParentForChildren(),
isClean());
protocol_ = null;
}
return protocolBuilder_;
}
@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.StatInfo)
}
// @@protoc_insertion_point(class_scope:v1.StatInfo)
private static final com.tencent.polaris.specification.api.v1.service.manage.ClientProto.StatInfo DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.tencent.polaris.specification.api.v1.service.manage.ClientProto.StatInfo();
}
public static com.tencent.polaris.specification.api.v1.service.manage.ClientProto.StatInfo getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public StatInfo 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.ClientProto.StatInfo getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_v1_Client_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_v1_Client_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_v1_StatInfo_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_v1_StatInfo_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\014client.proto\022\002v1\032\036google/protobuf/wrap" +
"pers.proto\032\013model.proto\"\367\002\n\006Client\022*\n\004ho" +
"st\030\001 \001(\0132\034.google.protobuf.StringValue\022#" +
"\n\004type\030\002 \001(\0162\025.v1.Client.ClientType\022-\n\007v" +
"ersion\030\003 \001(\0132\034.google.protobuf.StringVal" +
"ue\022\036\n\010location\030\004 \001(\0132\014.v1.Location\022(\n\002id" +
"\030\005 \001(\0132\034.google.protobuf.StringValue\022\032\n\004" +
"stat\030\006 \003(\0132\014.v1.StatInfo\022+\n\005ctime\030\007 \001(\0132" +
"\034.google.protobuf.StringValue\022+\n\005mtime\030\010" +
" \001(\0132\034.google.protobuf.StringValue\"-\n\nCl" +
"ientType\022\013\n\007UNKNOWN\020\000\022\007\n\003SDK\020\001\022\t\n\005AGENT\020" +
"\002\"\300\001\n\010StatInfo\022,\n\006target\030\001 \001(\0132\034.google." +
"protobuf.StringValue\022*\n\004port\030\002 \001(\0132\034.goo" +
"gle.protobuf.UInt32Value\022*\n\004path\030\003 \001(\0132\034" +
".google.protobuf.StringValue\022.\n\010protocol" +
"\030\004 \001(\0132\034.google.protobuf.StringValueB\214\001\n" +
"7com.tencent.polaris.specification.api.v" +
"1.service.manageB\013ClientProtoZDgithub.co" +
"m/polarismesh/specification/source/go/ap" +
"i/v1/service_manageb\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.model.ModelProto.getDescriptor(),
});
internal_static_v1_Client_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_v1_Client_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_v1_Client_descriptor,
new java.lang.String[] { "Host", "Type", "Version", "Location", "Id", "Stat", "Ctime", "Mtime", });
internal_static_v1_StatInfo_descriptor =
getDescriptor().getMessageTypes().get(1);
internal_static_v1_StatInfo_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_v1_StatInfo_descriptor,
new java.lang.String[] { "Target", "Port", "Path", "Protocol", });
com.google.protobuf.WrappersProto.getDescriptor();
com.tencent.polaris.specification.api.v1.model.ModelProto.getDescriptor();
}
// @@protoc_insertion_point(outer_class_scope)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy