
org.sonar.process.systeminfo.protobuf.ProtobufSystemInfo Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: process_system_info.proto
package org.sonar.process.systeminfo.protobuf;
public final class ProtobufSystemInfo {
private ProtobufSystemInfo() {}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistry registry) {
}
public interface SystemInfoOrBuilder extends
// @@protoc_insertion_point(interface_extends:SystemInfo)
com.google.protobuf.MessageOrBuilder {
/**
* repeated .Section sections = 1;
*/
java.util.List
getSectionsList();
/**
* repeated .Section sections = 1;
*/
org.sonar.process.systeminfo.protobuf.ProtobufSystemInfo.Section getSections(int index);
/**
* repeated .Section sections = 1;
*/
int getSectionsCount();
/**
* repeated .Section sections = 1;
*/
java.util.List extends org.sonar.process.systeminfo.protobuf.ProtobufSystemInfo.SectionOrBuilder>
getSectionsOrBuilderList();
/**
* repeated .Section sections = 1;
*/
org.sonar.process.systeminfo.protobuf.ProtobufSystemInfo.SectionOrBuilder getSectionsOrBuilder(
int index);
}
/**
* Protobuf type {@code SystemInfo}
*/
public static final class SystemInfo extends
com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:SystemInfo)
SystemInfoOrBuilder {
// Use SystemInfo.newBuilder() to construct.
private SystemInfo(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
private SystemInfo() {
sections_ = java.util.Collections.emptyList();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return com.google.protobuf.UnknownFieldSet.getDefaultInstance();
}
private SystemInfo(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) {
this();
int mutable_bitField0_ = 0;
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!input.skipField(tag)) {
done = true;
}
break;
}
case 10: {
if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
sections_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000001;
}
sections_.add(input.readMessage(org.sonar.process.systeminfo.protobuf.ProtobufSystemInfo.Section.parser(), extensionRegistry));
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw new RuntimeException(e.setUnfinishedMessage(this));
} catch (java.io.IOException e) {
throw new RuntimeException(
new com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this));
} finally {
if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
sections_ = java.util.Collections.unmodifiableList(sections_);
}
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.sonar.process.systeminfo.protobuf.ProtobufSystemInfo.internal_static_SystemInfo_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.sonar.process.systeminfo.protobuf.ProtobufSystemInfo.internal_static_SystemInfo_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.sonar.process.systeminfo.protobuf.ProtobufSystemInfo.SystemInfo.class, org.sonar.process.systeminfo.protobuf.ProtobufSystemInfo.SystemInfo.Builder.class);
}
public static final int SECTIONS_FIELD_NUMBER = 1;
private java.util.List sections_;
/**
* repeated .Section sections = 1;
*/
public java.util.List getSectionsList() {
return sections_;
}
/**
* repeated .Section sections = 1;
*/
public java.util.List extends org.sonar.process.systeminfo.protobuf.ProtobufSystemInfo.SectionOrBuilder>
getSectionsOrBuilderList() {
return sections_;
}
/**
* repeated .Section sections = 1;
*/
public int getSectionsCount() {
return sections_.size();
}
/**
* repeated .Section sections = 1;
*/
public org.sonar.process.systeminfo.protobuf.ProtobufSystemInfo.Section getSections(int index) {
return sections_.get(index);
}
/**
* repeated .Section sections = 1;
*/
public org.sonar.process.systeminfo.protobuf.ProtobufSystemInfo.SectionOrBuilder getSectionsOrBuilder(
int index) {
return sections_.get(index);
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
for (int i = 0; i < sections_.size(); i++) {
output.writeMessage(1, sections_.get(i));
}
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
for (int i = 0; i < sections_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, sections_.get(i));
}
memoizedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
public static org.sonar.process.systeminfo.protobuf.ProtobufSystemInfo.SystemInfo parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.sonar.process.systeminfo.protobuf.ProtobufSystemInfo.SystemInfo parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.sonar.process.systeminfo.protobuf.ProtobufSystemInfo.SystemInfo parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.sonar.process.systeminfo.protobuf.ProtobufSystemInfo.SystemInfo parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.sonar.process.systeminfo.protobuf.ProtobufSystemInfo.SystemInfo parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.sonar.process.systeminfo.protobuf.ProtobufSystemInfo.SystemInfo parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static org.sonar.process.systeminfo.protobuf.ProtobufSystemInfo.SystemInfo parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static org.sonar.process.systeminfo.protobuf.ProtobufSystemInfo.SystemInfo parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static org.sonar.process.systeminfo.protobuf.ProtobufSystemInfo.SystemInfo parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.sonar.process.systeminfo.protobuf.ProtobufSystemInfo.SystemInfo parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.sonar.process.systeminfo.protobuf.ProtobufSystemInfo.SystemInfo prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code SystemInfo}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:SystemInfo)
org.sonar.process.systeminfo.protobuf.ProtobufSystemInfo.SystemInfoOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.sonar.process.systeminfo.protobuf.ProtobufSystemInfo.internal_static_SystemInfo_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.sonar.process.systeminfo.protobuf.ProtobufSystemInfo.internal_static_SystemInfo_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.sonar.process.systeminfo.protobuf.ProtobufSystemInfo.SystemInfo.class, org.sonar.process.systeminfo.protobuf.ProtobufSystemInfo.SystemInfo.Builder.class);
}
// Construct using org.sonar.process.systeminfo.protobuf.ProtobufSystemInfo.SystemInfo.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
getSectionsFieldBuilder();
}
}
public Builder clear() {
super.clear();
if (sectionsBuilder_ == null) {
sections_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
} else {
sectionsBuilder_.clear();
}
return this;
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.sonar.process.systeminfo.protobuf.ProtobufSystemInfo.internal_static_SystemInfo_descriptor;
}
public org.sonar.process.systeminfo.protobuf.ProtobufSystemInfo.SystemInfo getDefaultInstanceForType() {
return org.sonar.process.systeminfo.protobuf.ProtobufSystemInfo.SystemInfo.getDefaultInstance();
}
public org.sonar.process.systeminfo.protobuf.ProtobufSystemInfo.SystemInfo build() {
org.sonar.process.systeminfo.protobuf.ProtobufSystemInfo.SystemInfo result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public org.sonar.process.systeminfo.protobuf.ProtobufSystemInfo.SystemInfo buildPartial() {
org.sonar.process.systeminfo.protobuf.ProtobufSystemInfo.SystemInfo result = new org.sonar.process.systeminfo.protobuf.ProtobufSystemInfo.SystemInfo(this);
int from_bitField0_ = bitField0_;
if (sectionsBuilder_ == null) {
if (((bitField0_ & 0x00000001) == 0x00000001)) {
sections_ = java.util.Collections.unmodifiableList(sections_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.sections_ = sections_;
} else {
result.sections_ = sectionsBuilder_.build();
}
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.sonar.process.systeminfo.protobuf.ProtobufSystemInfo.SystemInfo) {
return mergeFrom((org.sonar.process.systeminfo.protobuf.ProtobufSystemInfo.SystemInfo)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.sonar.process.systeminfo.protobuf.ProtobufSystemInfo.SystemInfo other) {
if (other == org.sonar.process.systeminfo.protobuf.ProtobufSystemInfo.SystemInfo.getDefaultInstance()) return this;
if (sectionsBuilder_ == null) {
if (!other.sections_.isEmpty()) {
if (sections_.isEmpty()) {
sections_ = other.sections_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureSectionsIsMutable();
sections_.addAll(other.sections_);
}
onChanged();
}
} else {
if (!other.sections_.isEmpty()) {
if (sectionsBuilder_.isEmpty()) {
sectionsBuilder_.dispose();
sectionsBuilder_ = null;
sections_ = other.sections_;
bitField0_ = (bitField0_ & ~0x00000001);
sectionsBuilder_ =
com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
getSectionsFieldBuilder() : null;
} else {
sectionsBuilder_.addAllMessages(other.sections_);
}
}
}
onChanged();
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
org.sonar.process.systeminfo.protobuf.ProtobufSystemInfo.SystemInfo parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.sonar.process.systeminfo.protobuf.ProtobufSystemInfo.SystemInfo) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.util.List sections_ =
java.util.Collections.emptyList();
private void ensureSectionsIsMutable() {
if (!((bitField0_ & 0x00000001) == 0x00000001)) {
sections_ = new java.util.ArrayList(sections_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilder<
org.sonar.process.systeminfo.protobuf.ProtobufSystemInfo.Section, org.sonar.process.systeminfo.protobuf.ProtobufSystemInfo.Section.Builder, org.sonar.process.systeminfo.protobuf.ProtobufSystemInfo.SectionOrBuilder> sectionsBuilder_;
/**
* repeated .Section sections = 1;
*/
public java.util.List getSectionsList() {
if (sectionsBuilder_ == null) {
return java.util.Collections.unmodifiableList(sections_);
} else {
return sectionsBuilder_.getMessageList();
}
}
/**
* repeated .Section sections = 1;
*/
public int getSectionsCount() {
if (sectionsBuilder_ == null) {
return sections_.size();
} else {
return sectionsBuilder_.getCount();
}
}
/**
* repeated .Section sections = 1;
*/
public org.sonar.process.systeminfo.protobuf.ProtobufSystemInfo.Section getSections(int index) {
if (sectionsBuilder_ == null) {
return sections_.get(index);
} else {
return sectionsBuilder_.getMessage(index);
}
}
/**
* repeated .Section sections = 1;
*/
public Builder setSections(
int index, org.sonar.process.systeminfo.protobuf.ProtobufSystemInfo.Section value) {
if (sectionsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureSectionsIsMutable();
sections_.set(index, value);
onChanged();
} else {
sectionsBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .Section sections = 1;
*/
public Builder setSections(
int index, org.sonar.process.systeminfo.protobuf.ProtobufSystemInfo.Section.Builder builderForValue) {
if (sectionsBuilder_ == null) {
ensureSectionsIsMutable();
sections_.set(index, builderForValue.build());
onChanged();
} else {
sectionsBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .Section sections = 1;
*/
public Builder addSections(org.sonar.process.systeminfo.protobuf.ProtobufSystemInfo.Section value) {
if (sectionsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureSectionsIsMutable();
sections_.add(value);
onChanged();
} else {
sectionsBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .Section sections = 1;
*/
public Builder addSections(
int index, org.sonar.process.systeminfo.protobuf.ProtobufSystemInfo.Section value) {
if (sectionsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureSectionsIsMutable();
sections_.add(index, value);
onChanged();
} else {
sectionsBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .Section sections = 1;
*/
public Builder addSections(
org.sonar.process.systeminfo.protobuf.ProtobufSystemInfo.Section.Builder builderForValue) {
if (sectionsBuilder_ == null) {
ensureSectionsIsMutable();
sections_.add(builderForValue.build());
onChanged();
} else {
sectionsBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .Section sections = 1;
*/
public Builder addSections(
int index, org.sonar.process.systeminfo.protobuf.ProtobufSystemInfo.Section.Builder builderForValue) {
if (sectionsBuilder_ == null) {
ensureSectionsIsMutable();
sections_.add(index, builderForValue.build());
onChanged();
} else {
sectionsBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .Section sections = 1;
*/
public Builder addAllSections(
java.lang.Iterable extends org.sonar.process.systeminfo.protobuf.ProtobufSystemInfo.Section> values) {
if (sectionsBuilder_ == null) {
ensureSectionsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, sections_);
onChanged();
} else {
sectionsBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .Section sections = 1;
*/
public Builder clearSections() {
if (sectionsBuilder_ == null) {
sections_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
sectionsBuilder_.clear();
}
return this;
}
/**
* repeated .Section sections = 1;
*/
public Builder removeSections(int index) {
if (sectionsBuilder_ == null) {
ensureSectionsIsMutable();
sections_.remove(index);
onChanged();
} else {
sectionsBuilder_.remove(index);
}
return this;
}
/**
* repeated .Section sections = 1;
*/
public org.sonar.process.systeminfo.protobuf.ProtobufSystemInfo.Section.Builder getSectionsBuilder(
int index) {
return getSectionsFieldBuilder().getBuilder(index);
}
/**
* repeated .Section sections = 1;
*/
public org.sonar.process.systeminfo.protobuf.ProtobufSystemInfo.SectionOrBuilder getSectionsOrBuilder(
int index) {
if (sectionsBuilder_ == null) {
return sections_.get(index); } else {
return sectionsBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .Section sections = 1;
*/
public java.util.List extends org.sonar.process.systeminfo.protobuf.ProtobufSystemInfo.SectionOrBuilder>
getSectionsOrBuilderList() {
if (sectionsBuilder_ != null) {
return sectionsBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(sections_);
}
}
/**
* repeated .Section sections = 1;
*/
public org.sonar.process.systeminfo.protobuf.ProtobufSystemInfo.Section.Builder addSectionsBuilder() {
return getSectionsFieldBuilder().addBuilder(
org.sonar.process.systeminfo.protobuf.ProtobufSystemInfo.Section.getDefaultInstance());
}
/**
* repeated .Section sections = 1;
*/
public org.sonar.process.systeminfo.protobuf.ProtobufSystemInfo.Section.Builder addSectionsBuilder(
int index) {
return getSectionsFieldBuilder().addBuilder(
index, org.sonar.process.systeminfo.protobuf.ProtobufSystemInfo.Section.getDefaultInstance());
}
/**
* repeated .Section sections = 1;
*/
public java.util.List
getSectionsBuilderList() {
return getSectionsFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilder<
org.sonar.process.systeminfo.protobuf.ProtobufSystemInfo.Section, org.sonar.process.systeminfo.protobuf.ProtobufSystemInfo.Section.Builder, org.sonar.process.systeminfo.protobuf.ProtobufSystemInfo.SectionOrBuilder>
getSectionsFieldBuilder() {
if (sectionsBuilder_ == null) {
sectionsBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
org.sonar.process.systeminfo.protobuf.ProtobufSystemInfo.Section, org.sonar.process.systeminfo.protobuf.ProtobufSystemInfo.Section.Builder, org.sonar.process.systeminfo.protobuf.ProtobufSystemInfo.SectionOrBuilder>(
sections_,
((bitField0_ & 0x00000001) == 0x00000001),
getParentForChildren(),
isClean());
sections_ = null;
}
return sectionsBuilder_;
}
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return this;
}
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return this;
}
// @@protoc_insertion_point(builder_scope:SystemInfo)
}
// @@protoc_insertion_point(class_scope:SystemInfo)
private static final org.sonar.process.systeminfo.protobuf.ProtobufSystemInfo.SystemInfo DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.sonar.process.systeminfo.protobuf.ProtobufSystemInfo.SystemInfo();
}
public static org.sonar.process.systeminfo.protobuf.ProtobufSystemInfo.SystemInfo getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
public SystemInfo parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
try {
return new SystemInfo(input, extensionRegistry);
} catch (RuntimeException e) {
if (e.getCause() instanceof
com.google.protobuf.InvalidProtocolBufferException) {
throw (com.google.protobuf.InvalidProtocolBufferException)
e.getCause();
}
throw e;
}
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
public org.sonar.process.systeminfo.protobuf.ProtobufSystemInfo.SystemInfo getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface SectionOrBuilder extends
// @@protoc_insertion_point(interface_extends:Section)
com.google.protobuf.MessageOrBuilder {
/**
* optional string name = 1;
*/
java.lang.String getName();
/**
* optional string name = 1;
*/
com.google.protobuf.ByteString
getNameBytes();
/**
* repeated .Attribute attributes = 2;
*/
java.util.List
getAttributesList();
/**
* repeated .Attribute attributes = 2;
*/
org.sonar.process.systeminfo.protobuf.ProtobufSystemInfo.Attribute getAttributes(int index);
/**
* repeated .Attribute attributes = 2;
*/
int getAttributesCount();
/**
* repeated .Attribute attributes = 2;
*/
java.util.List extends org.sonar.process.systeminfo.protobuf.ProtobufSystemInfo.AttributeOrBuilder>
getAttributesOrBuilderList();
/**
* repeated .Attribute attributes = 2;
*/
org.sonar.process.systeminfo.protobuf.ProtobufSystemInfo.AttributeOrBuilder getAttributesOrBuilder(
int index);
}
/**
* Protobuf type {@code Section}
*/
public static final class Section extends
com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:Section)
SectionOrBuilder {
// Use Section.newBuilder() to construct.
private Section(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
private Section() {
name_ = "";
attributes_ = java.util.Collections.emptyList();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return com.google.protobuf.UnknownFieldSet.getDefaultInstance();
}
private Section(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) {
this();
int mutable_bitField0_ = 0;
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!input.skipField(tag)) {
done = true;
}
break;
}
case 10: {
java.lang.String s = input.readStringRequireUtf8();
name_ = s;
break;
}
case 18: {
if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) {
attributes_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000002;
}
attributes_.add(input.readMessage(org.sonar.process.systeminfo.protobuf.ProtobufSystemInfo.Attribute.parser(), extensionRegistry));
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw new RuntimeException(e.setUnfinishedMessage(this));
} catch (java.io.IOException e) {
throw new RuntimeException(
new com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this));
} finally {
if (((mutable_bitField0_ & 0x00000002) == 0x00000002)) {
attributes_ = java.util.Collections.unmodifiableList(attributes_);
}
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.sonar.process.systeminfo.protobuf.ProtobufSystemInfo.internal_static_Section_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.sonar.process.systeminfo.protobuf.ProtobufSystemInfo.internal_static_Section_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.sonar.process.systeminfo.protobuf.ProtobufSystemInfo.Section.class, org.sonar.process.systeminfo.protobuf.ProtobufSystemInfo.Section.Builder.class);
}
private int bitField0_;
public static final int NAME_FIELD_NUMBER = 1;
private volatile java.lang.Object name_;
/**
* optional string name = 1;
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
name_ = s;
return s;
}
}
/**
* optional string name = 1;
*/
public com.google.protobuf.ByteString
getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
name_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int ATTRIBUTES_FIELD_NUMBER = 2;
private java.util.List attributes_;
/**
* repeated .Attribute attributes = 2;
*/
public java.util.List getAttributesList() {
return attributes_;
}
/**
* repeated .Attribute attributes = 2;
*/
public java.util.List extends org.sonar.process.systeminfo.protobuf.ProtobufSystemInfo.AttributeOrBuilder>
getAttributesOrBuilderList() {
return attributes_;
}
/**
* repeated .Attribute attributes = 2;
*/
public int getAttributesCount() {
return attributes_.size();
}
/**
* repeated .Attribute attributes = 2;
*/
public org.sonar.process.systeminfo.protobuf.ProtobufSystemInfo.Attribute getAttributes(int index) {
return attributes_.get(index);
}
/**
* repeated .Attribute attributes = 2;
*/
public org.sonar.process.systeminfo.protobuf.ProtobufSystemInfo.AttributeOrBuilder getAttributesOrBuilder(
int index) {
return attributes_.get(index);
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (!getNameBytes().isEmpty()) {
com.google.protobuf.GeneratedMessage.writeString(output, 1, name_);
}
for (int i = 0; i < attributes_.size(); i++) {
output.writeMessage(2, attributes_.get(i));
}
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!getNameBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessage.computeStringSize(1, name_);
}
for (int i = 0; i < attributes_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, attributes_.get(i));
}
memoizedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
public static org.sonar.process.systeminfo.protobuf.ProtobufSystemInfo.Section parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.sonar.process.systeminfo.protobuf.ProtobufSystemInfo.Section parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.sonar.process.systeminfo.protobuf.ProtobufSystemInfo.Section parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.sonar.process.systeminfo.protobuf.ProtobufSystemInfo.Section parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.sonar.process.systeminfo.protobuf.ProtobufSystemInfo.Section parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.sonar.process.systeminfo.protobuf.ProtobufSystemInfo.Section parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static org.sonar.process.systeminfo.protobuf.ProtobufSystemInfo.Section parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static org.sonar.process.systeminfo.protobuf.ProtobufSystemInfo.Section parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static org.sonar.process.systeminfo.protobuf.ProtobufSystemInfo.Section parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.sonar.process.systeminfo.protobuf.ProtobufSystemInfo.Section parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.sonar.process.systeminfo.protobuf.ProtobufSystemInfo.Section prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code Section}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:Section)
org.sonar.process.systeminfo.protobuf.ProtobufSystemInfo.SectionOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.sonar.process.systeminfo.protobuf.ProtobufSystemInfo.internal_static_Section_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.sonar.process.systeminfo.protobuf.ProtobufSystemInfo.internal_static_Section_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.sonar.process.systeminfo.protobuf.ProtobufSystemInfo.Section.class, org.sonar.process.systeminfo.protobuf.ProtobufSystemInfo.Section.Builder.class);
}
// Construct using org.sonar.process.systeminfo.protobuf.ProtobufSystemInfo.Section.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
getAttributesFieldBuilder();
}
}
public Builder clear() {
super.clear();
name_ = "";
if (attributesBuilder_ == null) {
attributes_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
} else {
attributesBuilder_.clear();
}
return this;
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.sonar.process.systeminfo.protobuf.ProtobufSystemInfo.internal_static_Section_descriptor;
}
public org.sonar.process.systeminfo.protobuf.ProtobufSystemInfo.Section getDefaultInstanceForType() {
return org.sonar.process.systeminfo.protobuf.ProtobufSystemInfo.Section.getDefaultInstance();
}
public org.sonar.process.systeminfo.protobuf.ProtobufSystemInfo.Section build() {
org.sonar.process.systeminfo.protobuf.ProtobufSystemInfo.Section result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public org.sonar.process.systeminfo.protobuf.ProtobufSystemInfo.Section buildPartial() {
org.sonar.process.systeminfo.protobuf.ProtobufSystemInfo.Section result = new org.sonar.process.systeminfo.protobuf.ProtobufSystemInfo.Section(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
result.name_ = name_;
if (attributesBuilder_ == null) {
if (((bitField0_ & 0x00000002) == 0x00000002)) {
attributes_ = java.util.Collections.unmodifiableList(attributes_);
bitField0_ = (bitField0_ & ~0x00000002);
}
result.attributes_ = attributes_;
} else {
result.attributes_ = attributesBuilder_.build();
}
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.sonar.process.systeminfo.protobuf.ProtobufSystemInfo.Section) {
return mergeFrom((org.sonar.process.systeminfo.protobuf.ProtobufSystemInfo.Section)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.sonar.process.systeminfo.protobuf.ProtobufSystemInfo.Section other) {
if (other == org.sonar.process.systeminfo.protobuf.ProtobufSystemInfo.Section.getDefaultInstance()) return this;
if (!other.getName().isEmpty()) {
name_ = other.name_;
onChanged();
}
if (attributesBuilder_ == null) {
if (!other.attributes_.isEmpty()) {
if (attributes_.isEmpty()) {
attributes_ = other.attributes_;
bitField0_ = (bitField0_ & ~0x00000002);
} else {
ensureAttributesIsMutable();
attributes_.addAll(other.attributes_);
}
onChanged();
}
} else {
if (!other.attributes_.isEmpty()) {
if (attributesBuilder_.isEmpty()) {
attributesBuilder_.dispose();
attributesBuilder_ = null;
attributes_ = other.attributes_;
bitField0_ = (bitField0_ & ~0x00000002);
attributesBuilder_ =
com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
getAttributesFieldBuilder() : null;
} else {
attributesBuilder_.addAllMessages(other.attributes_);
}
}
}
onChanged();
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
org.sonar.process.systeminfo.protobuf.ProtobufSystemInfo.Section parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.sonar.process.systeminfo.protobuf.ProtobufSystemInfo.Section) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.lang.Object name_ = "";
/**
* optional string name = 1;
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
name_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string name = 1;
*/
public com.google.protobuf.ByteString
getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
name_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string name = 1;
*/
public Builder setName(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
name_ = value;
onChanged();
return this;
}
/**
* optional string name = 1;
*/
public Builder clearName() {
name_ = getDefaultInstance().getName();
onChanged();
return this;
}
/**
* optional string name = 1;
*/
public Builder setNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
name_ = value;
onChanged();
return this;
}
private java.util.List attributes_ =
java.util.Collections.emptyList();
private void ensureAttributesIsMutable() {
if (!((bitField0_ & 0x00000002) == 0x00000002)) {
attributes_ = new java.util.ArrayList(attributes_);
bitField0_ |= 0x00000002;
}
}
private com.google.protobuf.RepeatedFieldBuilder<
org.sonar.process.systeminfo.protobuf.ProtobufSystemInfo.Attribute, org.sonar.process.systeminfo.protobuf.ProtobufSystemInfo.Attribute.Builder, org.sonar.process.systeminfo.protobuf.ProtobufSystemInfo.AttributeOrBuilder> attributesBuilder_;
/**
* repeated .Attribute attributes = 2;
*/
public java.util.List getAttributesList() {
if (attributesBuilder_ == null) {
return java.util.Collections.unmodifiableList(attributes_);
} else {
return attributesBuilder_.getMessageList();
}
}
/**
* repeated .Attribute attributes = 2;
*/
public int getAttributesCount() {
if (attributesBuilder_ == null) {
return attributes_.size();
} else {
return attributesBuilder_.getCount();
}
}
/**
* repeated .Attribute attributes = 2;
*/
public org.sonar.process.systeminfo.protobuf.ProtobufSystemInfo.Attribute getAttributes(int index) {
if (attributesBuilder_ == null) {
return attributes_.get(index);
} else {
return attributesBuilder_.getMessage(index);
}
}
/**
* repeated .Attribute attributes = 2;
*/
public Builder setAttributes(
int index, org.sonar.process.systeminfo.protobuf.ProtobufSystemInfo.Attribute value) {
if (attributesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureAttributesIsMutable();
attributes_.set(index, value);
onChanged();
} else {
attributesBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .Attribute attributes = 2;
*/
public Builder setAttributes(
int index, org.sonar.process.systeminfo.protobuf.ProtobufSystemInfo.Attribute.Builder builderForValue) {
if (attributesBuilder_ == null) {
ensureAttributesIsMutable();
attributes_.set(index, builderForValue.build());
onChanged();
} else {
attributesBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .Attribute attributes = 2;
*/
public Builder addAttributes(org.sonar.process.systeminfo.protobuf.ProtobufSystemInfo.Attribute value) {
if (attributesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureAttributesIsMutable();
attributes_.add(value);
onChanged();
} else {
attributesBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .Attribute attributes = 2;
*/
public Builder addAttributes(
int index, org.sonar.process.systeminfo.protobuf.ProtobufSystemInfo.Attribute value) {
if (attributesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureAttributesIsMutable();
attributes_.add(index, value);
onChanged();
} else {
attributesBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .Attribute attributes = 2;
*/
public Builder addAttributes(
org.sonar.process.systeminfo.protobuf.ProtobufSystemInfo.Attribute.Builder builderForValue) {
if (attributesBuilder_ == null) {
ensureAttributesIsMutable();
attributes_.add(builderForValue.build());
onChanged();
} else {
attributesBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .Attribute attributes = 2;
*/
public Builder addAttributes(
int index, org.sonar.process.systeminfo.protobuf.ProtobufSystemInfo.Attribute.Builder builderForValue) {
if (attributesBuilder_ == null) {
ensureAttributesIsMutable();
attributes_.add(index, builderForValue.build());
onChanged();
} else {
attributesBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .Attribute attributes = 2;
*/
public Builder addAllAttributes(
java.lang.Iterable extends org.sonar.process.systeminfo.protobuf.ProtobufSystemInfo.Attribute> values) {
if (attributesBuilder_ == null) {
ensureAttributesIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, attributes_);
onChanged();
} else {
attributesBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .Attribute attributes = 2;
*/
public Builder clearAttributes() {
if (attributesBuilder_ == null) {
attributes_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
} else {
attributesBuilder_.clear();
}
return this;
}
/**
* repeated .Attribute attributes = 2;
*/
public Builder removeAttributes(int index) {
if (attributesBuilder_ == null) {
ensureAttributesIsMutable();
attributes_.remove(index);
onChanged();
} else {
attributesBuilder_.remove(index);
}
return this;
}
/**
* repeated .Attribute attributes = 2;
*/
public org.sonar.process.systeminfo.protobuf.ProtobufSystemInfo.Attribute.Builder getAttributesBuilder(
int index) {
return getAttributesFieldBuilder().getBuilder(index);
}
/**
* repeated .Attribute attributes = 2;
*/
public org.sonar.process.systeminfo.protobuf.ProtobufSystemInfo.AttributeOrBuilder getAttributesOrBuilder(
int index) {
if (attributesBuilder_ == null) {
return attributes_.get(index); } else {
return attributesBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .Attribute attributes = 2;
*/
public java.util.List extends org.sonar.process.systeminfo.protobuf.ProtobufSystemInfo.AttributeOrBuilder>
getAttributesOrBuilderList() {
if (attributesBuilder_ != null) {
return attributesBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(attributes_);
}
}
/**
* repeated .Attribute attributes = 2;
*/
public org.sonar.process.systeminfo.protobuf.ProtobufSystemInfo.Attribute.Builder addAttributesBuilder() {
return getAttributesFieldBuilder().addBuilder(
org.sonar.process.systeminfo.protobuf.ProtobufSystemInfo.Attribute.getDefaultInstance());
}
/**
* repeated .Attribute attributes = 2;
*/
public org.sonar.process.systeminfo.protobuf.ProtobufSystemInfo.Attribute.Builder addAttributesBuilder(
int index) {
return getAttributesFieldBuilder().addBuilder(
index, org.sonar.process.systeminfo.protobuf.ProtobufSystemInfo.Attribute.getDefaultInstance());
}
/**
* repeated .Attribute attributes = 2;
*/
public java.util.List
getAttributesBuilderList() {
return getAttributesFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilder<
org.sonar.process.systeminfo.protobuf.ProtobufSystemInfo.Attribute, org.sonar.process.systeminfo.protobuf.ProtobufSystemInfo.Attribute.Builder, org.sonar.process.systeminfo.protobuf.ProtobufSystemInfo.AttributeOrBuilder>
getAttributesFieldBuilder() {
if (attributesBuilder_ == null) {
attributesBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
org.sonar.process.systeminfo.protobuf.ProtobufSystemInfo.Attribute, org.sonar.process.systeminfo.protobuf.ProtobufSystemInfo.Attribute.Builder, org.sonar.process.systeminfo.protobuf.ProtobufSystemInfo.AttributeOrBuilder>(
attributes_,
((bitField0_ & 0x00000002) == 0x00000002),
getParentForChildren(),
isClean());
attributes_ = null;
}
return attributesBuilder_;
}
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return this;
}
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return this;
}
// @@protoc_insertion_point(builder_scope:Section)
}
// @@protoc_insertion_point(class_scope:Section)
private static final org.sonar.process.systeminfo.protobuf.ProtobufSystemInfo.Section DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.sonar.process.systeminfo.protobuf.ProtobufSystemInfo.Section();
}
public static org.sonar.process.systeminfo.protobuf.ProtobufSystemInfo.Section getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
public Section parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
try {
return new Section(input, extensionRegistry);
} catch (RuntimeException e) {
if (e.getCause() instanceof
com.google.protobuf.InvalidProtocolBufferException) {
throw (com.google.protobuf.InvalidProtocolBufferException)
e.getCause();
}
throw e;
}
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
public org.sonar.process.systeminfo.protobuf.ProtobufSystemInfo.Section getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface AttributeOrBuilder extends
// @@protoc_insertion_point(interface_extends:Attribute)
com.google.protobuf.MessageOrBuilder {
/**
* optional string key = 1;
*/
java.lang.String getKey();
/**
* optional string key = 1;
*/
com.google.protobuf.ByteString
getKeyBytes();
/**
* optional bool boolean_value = 2;
*/
boolean getBooleanValue();
/**
* optional int64 long_value = 3;
*/
long getLongValue();
/**
* optional double double_value = 4;
*/
double getDoubleValue();
/**
* optional string string_value = 5;
*/
java.lang.String getStringValue();
/**
* optional string string_value = 5;
*/
com.google.protobuf.ByteString
getStringValueBytes();
public org.sonar.process.systeminfo.protobuf.ProtobufSystemInfo.Attribute.ValueCase getValueCase();
}
/**
* Protobuf type {@code Attribute}
*/
public static final class Attribute extends
com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:Attribute)
AttributeOrBuilder {
// Use Attribute.newBuilder() to construct.
private Attribute(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
private Attribute() {
key_ = "";
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return com.google.protobuf.UnknownFieldSet.getDefaultInstance();
}
private Attribute(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) {
this();
int mutable_bitField0_ = 0;
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!input.skipField(tag)) {
done = true;
}
break;
}
case 10: {
java.lang.String s = input.readStringRequireUtf8();
key_ = s;
break;
}
case 16: {
valueCase_ = 2;
value_ = input.readBool();
break;
}
case 24: {
valueCase_ = 3;
value_ = input.readInt64();
break;
}
case 33: {
valueCase_ = 4;
value_ = input.readDouble();
break;
}
case 42: {
java.lang.String s = input.readStringRequireUtf8();
valueCase_ = 5;
value_ = s;
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw new RuntimeException(e.setUnfinishedMessage(this));
} catch (java.io.IOException e) {
throw new RuntimeException(
new com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this));
} finally {
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.sonar.process.systeminfo.protobuf.ProtobufSystemInfo.internal_static_Attribute_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.sonar.process.systeminfo.protobuf.ProtobufSystemInfo.internal_static_Attribute_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.sonar.process.systeminfo.protobuf.ProtobufSystemInfo.Attribute.class, org.sonar.process.systeminfo.protobuf.ProtobufSystemInfo.Attribute.Builder.class);
}
private int valueCase_ = 0;
private java.lang.Object value_;
public enum ValueCase
implements com.google.protobuf.Internal.EnumLite {
BOOLEAN_VALUE(2),
LONG_VALUE(3),
DOUBLE_VALUE(4),
STRING_VALUE(5),
VALUE_NOT_SET(0);
private int value = 0;
private ValueCase(int value) {
this.value = value;
}
public static ValueCase valueOf(int value) {
switch (value) {
case 2: return BOOLEAN_VALUE;
case 3: return LONG_VALUE;
case 4: return DOUBLE_VALUE;
case 5: return STRING_VALUE;
case 0: return VALUE_NOT_SET;
default: throw new java.lang.IllegalArgumentException(
"Value is undefined for this oneof enum.");
}
}
public int getNumber() {
return this.value;
}
};
public ValueCase
getValueCase() {
return ValueCase.valueOf(
valueCase_);
}
public static final int KEY_FIELD_NUMBER = 1;
private volatile java.lang.Object key_;
/**
* optional string key = 1;
*/
public java.lang.String getKey() {
java.lang.Object ref = key_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
key_ = s;
return s;
}
}
/**
* optional string key = 1;
*/
public com.google.protobuf.ByteString
getKeyBytes() {
java.lang.Object ref = key_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
key_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int BOOLEAN_VALUE_FIELD_NUMBER = 2;
/**
* optional bool boolean_value = 2;
*/
public boolean getBooleanValue() {
if (valueCase_ == 2) {
return (java.lang.Boolean) value_;
}
return false;
}
public static final int LONG_VALUE_FIELD_NUMBER = 3;
/**
* optional int64 long_value = 3;
*/
public long getLongValue() {
if (valueCase_ == 3) {
return (java.lang.Long) value_;
}
return 0L;
}
public static final int DOUBLE_VALUE_FIELD_NUMBER = 4;
/**
* optional double double_value = 4;
*/
public double getDoubleValue() {
if (valueCase_ == 4) {
return (java.lang.Double) value_;
}
return 0D;
}
public static final int STRING_VALUE_FIELD_NUMBER = 5;
/**
* optional string string_value = 5;
*/
public java.lang.String getStringValue() {
java.lang.Object ref = "";
if (valueCase_ == 5) {
ref = value_;
}
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (valueCase_ == 5) {
value_ = s;
}
return s;
}
}
/**
* optional string string_value = 5;
*/
public com.google.protobuf.ByteString
getStringValueBytes() {
java.lang.Object ref = "";
if (valueCase_ == 5) {
ref = value_;
}
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
if (valueCase_ == 5) {
value_ = b;
}
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (!getKeyBytes().isEmpty()) {
com.google.protobuf.GeneratedMessage.writeString(output, 1, key_);
}
if (valueCase_ == 2) {
output.writeBool(
2, (boolean)((java.lang.Boolean) value_));
}
if (valueCase_ == 3) {
output.writeInt64(
3, (long)((java.lang.Long) value_));
}
if (valueCase_ == 4) {
output.writeDouble(
4, (double)((java.lang.Double) value_));
}
if (valueCase_ == 5) {
com.google.protobuf.GeneratedMessage.writeString(output, 5, value_);
}
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!getKeyBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessage.computeStringSize(1, key_);
}
if (valueCase_ == 2) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(
2, (boolean)((java.lang.Boolean) value_));
}
if (valueCase_ == 3) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(
3, (long)((java.lang.Long) value_));
}
if (valueCase_ == 4) {
size += com.google.protobuf.CodedOutputStream
.computeDoubleSize(
4, (double)((java.lang.Double) value_));
}
if (valueCase_ == 5) {
size += com.google.protobuf.GeneratedMessage.computeStringSize(5, value_);
}
memoizedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
public static org.sonar.process.systeminfo.protobuf.ProtobufSystemInfo.Attribute parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.sonar.process.systeminfo.protobuf.ProtobufSystemInfo.Attribute parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.sonar.process.systeminfo.protobuf.ProtobufSystemInfo.Attribute parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.sonar.process.systeminfo.protobuf.ProtobufSystemInfo.Attribute parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.sonar.process.systeminfo.protobuf.ProtobufSystemInfo.Attribute parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.sonar.process.systeminfo.protobuf.ProtobufSystemInfo.Attribute parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static org.sonar.process.systeminfo.protobuf.ProtobufSystemInfo.Attribute parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static org.sonar.process.systeminfo.protobuf.ProtobufSystemInfo.Attribute parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static org.sonar.process.systeminfo.protobuf.ProtobufSystemInfo.Attribute parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.sonar.process.systeminfo.protobuf.ProtobufSystemInfo.Attribute parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.sonar.process.systeminfo.protobuf.ProtobufSystemInfo.Attribute prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code Attribute}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:Attribute)
org.sonar.process.systeminfo.protobuf.ProtobufSystemInfo.AttributeOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.sonar.process.systeminfo.protobuf.ProtobufSystemInfo.internal_static_Attribute_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.sonar.process.systeminfo.protobuf.ProtobufSystemInfo.internal_static_Attribute_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.sonar.process.systeminfo.protobuf.ProtobufSystemInfo.Attribute.class, org.sonar.process.systeminfo.protobuf.ProtobufSystemInfo.Attribute.Builder.class);
}
// Construct using org.sonar.process.systeminfo.protobuf.ProtobufSystemInfo.Attribute.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
}
}
public Builder clear() {
super.clear();
key_ = "";
valueCase_ = 0;
value_ = null;
return this;
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.sonar.process.systeminfo.protobuf.ProtobufSystemInfo.internal_static_Attribute_descriptor;
}
public org.sonar.process.systeminfo.protobuf.ProtobufSystemInfo.Attribute getDefaultInstanceForType() {
return org.sonar.process.systeminfo.protobuf.ProtobufSystemInfo.Attribute.getDefaultInstance();
}
public org.sonar.process.systeminfo.protobuf.ProtobufSystemInfo.Attribute build() {
org.sonar.process.systeminfo.protobuf.ProtobufSystemInfo.Attribute result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public org.sonar.process.systeminfo.protobuf.ProtobufSystemInfo.Attribute buildPartial() {
org.sonar.process.systeminfo.protobuf.ProtobufSystemInfo.Attribute result = new org.sonar.process.systeminfo.protobuf.ProtobufSystemInfo.Attribute(this);
result.key_ = key_;
if (valueCase_ == 2) {
result.value_ = value_;
}
if (valueCase_ == 3) {
result.value_ = value_;
}
if (valueCase_ == 4) {
result.value_ = value_;
}
if (valueCase_ == 5) {
result.value_ = value_;
}
result.valueCase_ = valueCase_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.sonar.process.systeminfo.protobuf.ProtobufSystemInfo.Attribute) {
return mergeFrom((org.sonar.process.systeminfo.protobuf.ProtobufSystemInfo.Attribute)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.sonar.process.systeminfo.protobuf.ProtobufSystemInfo.Attribute other) {
if (other == org.sonar.process.systeminfo.protobuf.ProtobufSystemInfo.Attribute.getDefaultInstance()) return this;
if (!other.getKey().isEmpty()) {
key_ = other.key_;
onChanged();
}
switch (other.getValueCase()) {
case BOOLEAN_VALUE: {
setBooleanValue(other.getBooleanValue());
break;
}
case LONG_VALUE: {
setLongValue(other.getLongValue());
break;
}
case DOUBLE_VALUE: {
setDoubleValue(other.getDoubleValue());
break;
}
case STRING_VALUE: {
valueCase_ = 5;
value_ = other.value_;
onChanged();
break;
}
case VALUE_NOT_SET: {
break;
}
}
onChanged();
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
org.sonar.process.systeminfo.protobuf.ProtobufSystemInfo.Attribute parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.sonar.process.systeminfo.protobuf.ProtobufSystemInfo.Attribute) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int valueCase_ = 0;
private java.lang.Object value_;
public ValueCase
getValueCase() {
return ValueCase.valueOf(
valueCase_);
}
public Builder clearValue() {
valueCase_ = 0;
value_ = null;
onChanged();
return this;
}
private java.lang.Object key_ = "";
/**
* optional string key = 1;
*/
public java.lang.String getKey() {
java.lang.Object ref = key_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
key_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string key = 1;
*/
public com.google.protobuf.ByteString
getKeyBytes() {
java.lang.Object ref = key_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
key_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string key = 1;
*/
public Builder setKey(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
key_ = value;
onChanged();
return this;
}
/**
* optional string key = 1;
*/
public Builder clearKey() {
key_ = getDefaultInstance().getKey();
onChanged();
return this;
}
/**
* optional string key = 1;
*/
public Builder setKeyBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
key_ = value;
onChanged();
return this;
}
/**
* optional bool boolean_value = 2;
*/
public boolean getBooleanValue() {
if (valueCase_ == 2) {
return (java.lang.Boolean) value_;
}
return false;
}
/**
* optional bool boolean_value = 2;
*/
public Builder setBooleanValue(boolean value) {
valueCase_ = 2;
value_ = value;
onChanged();
return this;
}
/**
* optional bool boolean_value = 2;
*/
public Builder clearBooleanValue() {
if (valueCase_ == 2) {
valueCase_ = 0;
value_ = null;
onChanged();
}
return this;
}
/**
* optional int64 long_value = 3;
*/
public long getLongValue() {
if (valueCase_ == 3) {
return (java.lang.Long) value_;
}
return 0L;
}
/**
* optional int64 long_value = 3;
*/
public Builder setLongValue(long value) {
valueCase_ = 3;
value_ = value;
onChanged();
return this;
}
/**
* optional int64 long_value = 3;
*/
public Builder clearLongValue() {
if (valueCase_ == 3) {
valueCase_ = 0;
value_ = null;
onChanged();
}
return this;
}
/**
* optional double double_value = 4;
*/
public double getDoubleValue() {
if (valueCase_ == 4) {
return (java.lang.Double) value_;
}
return 0D;
}
/**
* optional double double_value = 4;
*/
public Builder setDoubleValue(double value) {
valueCase_ = 4;
value_ = value;
onChanged();
return this;
}
/**
* optional double double_value = 4;
*/
public Builder clearDoubleValue() {
if (valueCase_ == 4) {
valueCase_ = 0;
value_ = null;
onChanged();
}
return this;
}
/**
* optional string string_value = 5;
*/
public java.lang.String getStringValue() {
java.lang.Object ref = "";
if (valueCase_ == 5) {
ref = value_;
}
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (valueCase_ == 5) {
value_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string string_value = 5;
*/
public com.google.protobuf.ByteString
getStringValueBytes() {
java.lang.Object ref = "";
if (valueCase_ == 5) {
ref = value_;
}
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
if (valueCase_ == 5) {
value_ = b;
}
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string string_value = 5;
*/
public Builder setStringValue(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
valueCase_ = 5;
value_ = value;
onChanged();
return this;
}
/**
* optional string string_value = 5;
*/
public Builder clearStringValue() {
if (valueCase_ == 5) {
valueCase_ = 0;
value_ = null;
onChanged();
}
return this;
}
/**
* optional string string_value = 5;
*/
public Builder setStringValueBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
valueCase_ = 5;
value_ = value;
onChanged();
return this;
}
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return this;
}
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return this;
}
// @@protoc_insertion_point(builder_scope:Attribute)
}
// @@protoc_insertion_point(class_scope:Attribute)
private static final org.sonar.process.systeminfo.protobuf.ProtobufSystemInfo.Attribute DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.sonar.process.systeminfo.protobuf.ProtobufSystemInfo.Attribute();
}
public static org.sonar.process.systeminfo.protobuf.ProtobufSystemInfo.Attribute getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
public Attribute parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
try {
return new Attribute(input, extensionRegistry);
} catch (RuntimeException e) {
if (e.getCause() instanceof
com.google.protobuf.InvalidProtocolBufferException) {
throw (com.google.protobuf.InvalidProtocolBufferException)
e.getCause();
}
throw e;
}
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
public org.sonar.process.systeminfo.protobuf.ProtobufSystemInfo.Attribute getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private static com.google.protobuf.Descriptors.Descriptor
internal_static_SystemInfo_descriptor;
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_SystemInfo_fieldAccessorTable;
private static com.google.protobuf.Descriptors.Descriptor
internal_static_Section_descriptor;
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_Section_fieldAccessorTable;
private static com.google.protobuf.Descriptors.Descriptor
internal_static_Attribute_descriptor;
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_Attribute_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\031process_system_info.proto\"(\n\nSystemInf" +
"o\022\032\n\010sections\030\001 \003(\0132\010.Section\"7\n\007Section" +
"\022\014\n\004name\030\001 \001(\t\022\036\n\nattributes\030\002 \003(\0132\n.Att" +
"ribute\"\200\001\n\tAttribute\022\013\n\003key\030\001 \001(\t\022\027\n\rboo" +
"lean_value\030\002 \001(\010H\000\022\024\n\nlong_value\030\003 \001(\003H\000" +
"\022\026\n\014double_value\030\004 \001(\001H\000\022\026\n\014string_value" +
"\030\005 \001(\tH\000B\007\n\005valueB=\n%org.sonar.process.s" +
"ysteminfo.protobufB\022ProtobufSystemInfoH\001" +
"b\006proto3"
};
com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() {
public com.google.protobuf.ExtensionRegistry assignDescriptors(
com.google.protobuf.Descriptors.FileDescriptor root) {
descriptor = root;
return null;
}
};
com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
}, assigner);
internal_static_SystemInfo_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_SystemInfo_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_SystemInfo_descriptor,
new java.lang.String[] { "Sections", });
internal_static_Section_descriptor =
getDescriptor().getMessageTypes().get(1);
internal_static_Section_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_Section_descriptor,
new java.lang.String[] { "Name", "Attributes", });
internal_static_Attribute_descriptor =
getDescriptor().getMessageTypes().get(2);
internal_static_Attribute_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_Attribute_descriptor,
new java.lang.String[] { "Key", "BooleanValue", "LongValue", "DoubleValue", "StringValue", "Value", });
}
// @@protoc_insertion_point(outer_class_scope)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy