
org.sonarqube.ws.WsComponents Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sonar-ws Show documentation
Show all versions of sonar-ws Show documentation
Open source platform for continuous inspection of code quality
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: ws-components.proto
package org.sonarqube.ws;
public final class WsComponents {
private WsComponents() {}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistry registry) {
}
public interface SearchWsResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:sonarqube.ws.component.SearchWsResponse)
com.google.protobuf.MessageOrBuilder {
/**
* optional .sonarqube.ws.commons.Paging paging = 1;
*/
boolean hasPaging();
/**
* optional .sonarqube.ws.commons.Paging paging = 1;
*/
org.sonarqube.ws.Common.Paging getPaging();
/**
* optional .sonarqube.ws.commons.Paging paging = 1;
*/
org.sonarqube.ws.Common.PagingOrBuilder getPagingOrBuilder();
/**
* repeated .sonarqube.ws.component.Component components = 2;
*/
java.util.List
getComponentsList();
/**
* repeated .sonarqube.ws.component.Component components = 2;
*/
org.sonarqube.ws.WsComponents.Component getComponents(int index);
/**
* repeated .sonarqube.ws.component.Component components = 2;
*/
int getComponentsCount();
/**
* repeated .sonarqube.ws.component.Component components = 2;
*/
java.util.List extends org.sonarqube.ws.WsComponents.ComponentOrBuilder>
getComponentsOrBuilderList();
/**
* repeated .sonarqube.ws.component.Component components = 2;
*/
org.sonarqube.ws.WsComponents.ComponentOrBuilder getComponentsOrBuilder(
int index);
}
/**
* Protobuf type {@code sonarqube.ws.component.SearchWsResponse}
*
*
* WS api/components/search
*
*/
public static final class SearchWsResponse extends
com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:sonarqube.ws.component.SearchWsResponse)
SearchWsResponseOrBuilder {
// Use SearchWsResponse.newBuilder() to construct.
private SearchWsResponse(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
private SearchWsResponse() {
components_ = java.util.Collections.emptyList();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private SearchWsResponse(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) {
this();
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
done = true;
}
break;
}
case 10: {
org.sonarqube.ws.Common.Paging.Builder subBuilder = null;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
subBuilder = paging_.toBuilder();
}
paging_ = input.readMessage(org.sonarqube.ws.Common.Paging.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(paging_);
paging_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000001;
break;
}
case 18: {
if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) {
components_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000002;
}
components_.add(input.readMessage(org.sonarqube.ws.WsComponents.Component.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)) {
components_ = java.util.Collections.unmodifiableList(components_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.sonarqube.ws.WsComponents.internal_static_sonarqube_ws_component_SearchWsResponse_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.sonarqube.ws.WsComponents.internal_static_sonarqube_ws_component_SearchWsResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.sonarqube.ws.WsComponents.SearchWsResponse.class, org.sonarqube.ws.WsComponents.SearchWsResponse.Builder.class);
}
private int bitField0_;
public static final int PAGING_FIELD_NUMBER = 1;
private org.sonarqube.ws.Common.Paging paging_;
/**
* optional .sonarqube.ws.commons.Paging paging = 1;
*/
public boolean hasPaging() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional .sonarqube.ws.commons.Paging paging = 1;
*/
public org.sonarqube.ws.Common.Paging getPaging() {
return paging_ == null ? org.sonarqube.ws.Common.Paging.getDefaultInstance() : paging_;
}
/**
* optional .sonarqube.ws.commons.Paging paging = 1;
*/
public org.sonarqube.ws.Common.PagingOrBuilder getPagingOrBuilder() {
return paging_ == null ? org.sonarqube.ws.Common.Paging.getDefaultInstance() : paging_;
}
public static final int COMPONENTS_FIELD_NUMBER = 2;
private java.util.List components_;
/**
* repeated .sonarqube.ws.component.Component components = 2;
*/
public java.util.List getComponentsList() {
return components_;
}
/**
* repeated .sonarqube.ws.component.Component components = 2;
*/
public java.util.List extends org.sonarqube.ws.WsComponents.ComponentOrBuilder>
getComponentsOrBuilderList() {
return components_;
}
/**
* repeated .sonarqube.ws.component.Component components = 2;
*/
public int getComponentsCount() {
return components_.size();
}
/**
* repeated .sonarqube.ws.component.Component components = 2;
*/
public org.sonarqube.ws.WsComponents.Component getComponents(int index) {
return components_.get(index);
}
/**
* repeated .sonarqube.ws.component.Component components = 2;
*/
public org.sonarqube.ws.WsComponents.ComponentOrBuilder getComponentsOrBuilder(
int index) {
return components_.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 (((bitField0_ & 0x00000001) == 0x00000001)) {
output.writeMessage(1, getPaging());
}
for (int i = 0; i < components_.size(); i++) {
output.writeMessage(2, components_.get(i));
}
unknownFields.writeTo(output);
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getPaging());
}
for (int i = 0; i < components_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, components_.get(i));
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
public static org.sonarqube.ws.WsComponents.SearchWsResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.sonarqube.ws.WsComponents.SearchWsResponse parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.sonarqube.ws.WsComponents.SearchWsResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.sonarqube.ws.WsComponents.SearchWsResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.sonarqube.ws.WsComponents.SearchWsResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.sonarqube.ws.WsComponents.SearchWsResponse parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static org.sonarqube.ws.WsComponents.SearchWsResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static org.sonarqube.ws.WsComponents.SearchWsResponse parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static org.sonarqube.ws.WsComponents.SearchWsResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.sonarqube.ws.WsComponents.SearchWsResponse 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.sonarqube.ws.WsComponents.SearchWsResponse 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 sonarqube.ws.component.SearchWsResponse}
*
*
* WS api/components/search
*
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:sonarqube.ws.component.SearchWsResponse)
org.sonarqube.ws.WsComponents.SearchWsResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.sonarqube.ws.WsComponents.internal_static_sonarqube_ws_component_SearchWsResponse_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.sonarqube.ws.WsComponents.internal_static_sonarqube_ws_component_SearchWsResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.sonarqube.ws.WsComponents.SearchWsResponse.class, org.sonarqube.ws.WsComponents.SearchWsResponse.Builder.class);
}
// Construct using org.sonarqube.ws.WsComponents.SearchWsResponse.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
getPagingFieldBuilder();
getComponentsFieldBuilder();
}
}
public Builder clear() {
super.clear();
if (pagingBuilder_ == null) {
paging_ = null;
} else {
pagingBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000001);
if (componentsBuilder_ == null) {
components_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
} else {
componentsBuilder_.clear();
}
return this;
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.sonarqube.ws.WsComponents.internal_static_sonarqube_ws_component_SearchWsResponse_descriptor;
}
public org.sonarqube.ws.WsComponents.SearchWsResponse getDefaultInstanceForType() {
return org.sonarqube.ws.WsComponents.SearchWsResponse.getDefaultInstance();
}
public org.sonarqube.ws.WsComponents.SearchWsResponse build() {
org.sonarqube.ws.WsComponents.SearchWsResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public org.sonarqube.ws.WsComponents.SearchWsResponse buildPartial() {
org.sonarqube.ws.WsComponents.SearchWsResponse result = new org.sonarqube.ws.WsComponents.SearchWsResponse(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
if (pagingBuilder_ == null) {
result.paging_ = paging_;
} else {
result.paging_ = pagingBuilder_.build();
}
if (componentsBuilder_ == null) {
if (((bitField0_ & 0x00000002) == 0x00000002)) {
components_ = java.util.Collections.unmodifiableList(components_);
bitField0_ = (bitField0_ & ~0x00000002);
}
result.components_ = components_;
} else {
result.components_ = componentsBuilder_.build();
}
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.sonarqube.ws.WsComponents.SearchWsResponse) {
return mergeFrom((org.sonarqube.ws.WsComponents.SearchWsResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.sonarqube.ws.WsComponents.SearchWsResponse other) {
if (other == org.sonarqube.ws.WsComponents.SearchWsResponse.getDefaultInstance()) return this;
if (other.hasPaging()) {
mergePaging(other.getPaging());
}
if (componentsBuilder_ == null) {
if (!other.components_.isEmpty()) {
if (components_.isEmpty()) {
components_ = other.components_;
bitField0_ = (bitField0_ & ~0x00000002);
} else {
ensureComponentsIsMutable();
components_.addAll(other.components_);
}
onChanged();
}
} else {
if (!other.components_.isEmpty()) {
if (componentsBuilder_.isEmpty()) {
componentsBuilder_.dispose();
componentsBuilder_ = null;
components_ = other.components_;
bitField0_ = (bitField0_ & ~0x00000002);
componentsBuilder_ =
com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
getComponentsFieldBuilder() : null;
} else {
componentsBuilder_.addAllMessages(other.components_);
}
}
}
this.mergeUnknownFields(other.unknownFields);
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.sonarqube.ws.WsComponents.SearchWsResponse parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.sonarqube.ws.WsComponents.SearchWsResponse) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private org.sonarqube.ws.Common.Paging paging_ = null;
private com.google.protobuf.SingleFieldBuilder<
org.sonarqube.ws.Common.Paging, org.sonarqube.ws.Common.Paging.Builder, org.sonarqube.ws.Common.PagingOrBuilder> pagingBuilder_;
/**
* optional .sonarqube.ws.commons.Paging paging = 1;
*/
public boolean hasPaging() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional .sonarqube.ws.commons.Paging paging = 1;
*/
public org.sonarqube.ws.Common.Paging getPaging() {
if (pagingBuilder_ == null) {
return paging_ == null ? org.sonarqube.ws.Common.Paging.getDefaultInstance() : paging_;
} else {
return pagingBuilder_.getMessage();
}
}
/**
* optional .sonarqube.ws.commons.Paging paging = 1;
*/
public Builder setPaging(org.sonarqube.ws.Common.Paging value) {
if (pagingBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
paging_ = value;
onChanged();
} else {
pagingBuilder_.setMessage(value);
}
bitField0_ |= 0x00000001;
return this;
}
/**
* optional .sonarqube.ws.commons.Paging paging = 1;
*/
public Builder setPaging(
org.sonarqube.ws.Common.Paging.Builder builderForValue) {
if (pagingBuilder_ == null) {
paging_ = builderForValue.build();
onChanged();
} else {
pagingBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000001;
return this;
}
/**
* optional .sonarqube.ws.commons.Paging paging = 1;
*/
public Builder mergePaging(org.sonarqube.ws.Common.Paging value) {
if (pagingBuilder_ == null) {
if (((bitField0_ & 0x00000001) == 0x00000001) &&
paging_ != null &&
paging_ != org.sonarqube.ws.Common.Paging.getDefaultInstance()) {
paging_ =
org.sonarqube.ws.Common.Paging.newBuilder(paging_).mergeFrom(value).buildPartial();
} else {
paging_ = value;
}
onChanged();
} else {
pagingBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000001;
return this;
}
/**
* optional .sonarqube.ws.commons.Paging paging = 1;
*/
public Builder clearPaging() {
if (pagingBuilder_ == null) {
paging_ = null;
onChanged();
} else {
pagingBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000001);
return this;
}
/**
* optional .sonarqube.ws.commons.Paging paging = 1;
*/
public org.sonarqube.ws.Common.Paging.Builder getPagingBuilder() {
bitField0_ |= 0x00000001;
onChanged();
return getPagingFieldBuilder().getBuilder();
}
/**
* optional .sonarqube.ws.commons.Paging paging = 1;
*/
public org.sonarqube.ws.Common.PagingOrBuilder getPagingOrBuilder() {
if (pagingBuilder_ != null) {
return pagingBuilder_.getMessageOrBuilder();
} else {
return paging_ == null ?
org.sonarqube.ws.Common.Paging.getDefaultInstance() : paging_;
}
}
/**
* optional .sonarqube.ws.commons.Paging paging = 1;
*/
private com.google.protobuf.SingleFieldBuilder<
org.sonarqube.ws.Common.Paging, org.sonarqube.ws.Common.Paging.Builder, org.sonarqube.ws.Common.PagingOrBuilder>
getPagingFieldBuilder() {
if (pagingBuilder_ == null) {
pagingBuilder_ = new com.google.protobuf.SingleFieldBuilder<
org.sonarqube.ws.Common.Paging, org.sonarqube.ws.Common.Paging.Builder, org.sonarqube.ws.Common.PagingOrBuilder>(
getPaging(),
getParentForChildren(),
isClean());
paging_ = null;
}
return pagingBuilder_;
}
private java.util.List components_ =
java.util.Collections.emptyList();
private void ensureComponentsIsMutable() {
if (!((bitField0_ & 0x00000002) == 0x00000002)) {
components_ = new java.util.ArrayList(components_);
bitField0_ |= 0x00000002;
}
}
private com.google.protobuf.RepeatedFieldBuilder<
org.sonarqube.ws.WsComponents.Component, org.sonarqube.ws.WsComponents.Component.Builder, org.sonarqube.ws.WsComponents.ComponentOrBuilder> componentsBuilder_;
/**
* repeated .sonarqube.ws.component.Component components = 2;
*/
public java.util.List getComponentsList() {
if (componentsBuilder_ == null) {
return java.util.Collections.unmodifiableList(components_);
} else {
return componentsBuilder_.getMessageList();
}
}
/**
* repeated .sonarqube.ws.component.Component components = 2;
*/
public int getComponentsCount() {
if (componentsBuilder_ == null) {
return components_.size();
} else {
return componentsBuilder_.getCount();
}
}
/**
* repeated .sonarqube.ws.component.Component components = 2;
*/
public org.sonarqube.ws.WsComponents.Component getComponents(int index) {
if (componentsBuilder_ == null) {
return components_.get(index);
} else {
return componentsBuilder_.getMessage(index);
}
}
/**
* repeated .sonarqube.ws.component.Component components = 2;
*/
public Builder setComponents(
int index, org.sonarqube.ws.WsComponents.Component value) {
if (componentsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureComponentsIsMutable();
components_.set(index, value);
onChanged();
} else {
componentsBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .sonarqube.ws.component.Component components = 2;
*/
public Builder setComponents(
int index, org.sonarqube.ws.WsComponents.Component.Builder builderForValue) {
if (componentsBuilder_ == null) {
ensureComponentsIsMutable();
components_.set(index, builderForValue.build());
onChanged();
} else {
componentsBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .sonarqube.ws.component.Component components = 2;
*/
public Builder addComponents(org.sonarqube.ws.WsComponents.Component value) {
if (componentsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureComponentsIsMutable();
components_.add(value);
onChanged();
} else {
componentsBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .sonarqube.ws.component.Component components = 2;
*/
public Builder addComponents(
int index, org.sonarqube.ws.WsComponents.Component value) {
if (componentsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureComponentsIsMutable();
components_.add(index, value);
onChanged();
} else {
componentsBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .sonarqube.ws.component.Component components = 2;
*/
public Builder addComponents(
org.sonarqube.ws.WsComponents.Component.Builder builderForValue) {
if (componentsBuilder_ == null) {
ensureComponentsIsMutable();
components_.add(builderForValue.build());
onChanged();
} else {
componentsBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .sonarqube.ws.component.Component components = 2;
*/
public Builder addComponents(
int index, org.sonarqube.ws.WsComponents.Component.Builder builderForValue) {
if (componentsBuilder_ == null) {
ensureComponentsIsMutable();
components_.add(index, builderForValue.build());
onChanged();
} else {
componentsBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .sonarqube.ws.component.Component components = 2;
*/
public Builder addAllComponents(
java.lang.Iterable extends org.sonarqube.ws.WsComponents.Component> values) {
if (componentsBuilder_ == null) {
ensureComponentsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, components_);
onChanged();
} else {
componentsBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .sonarqube.ws.component.Component components = 2;
*/
public Builder clearComponents() {
if (componentsBuilder_ == null) {
components_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
} else {
componentsBuilder_.clear();
}
return this;
}
/**
* repeated .sonarqube.ws.component.Component components = 2;
*/
public Builder removeComponents(int index) {
if (componentsBuilder_ == null) {
ensureComponentsIsMutable();
components_.remove(index);
onChanged();
} else {
componentsBuilder_.remove(index);
}
return this;
}
/**
* repeated .sonarqube.ws.component.Component components = 2;
*/
public org.sonarqube.ws.WsComponents.Component.Builder getComponentsBuilder(
int index) {
return getComponentsFieldBuilder().getBuilder(index);
}
/**
* repeated .sonarqube.ws.component.Component components = 2;
*/
public org.sonarqube.ws.WsComponents.ComponentOrBuilder getComponentsOrBuilder(
int index) {
if (componentsBuilder_ == null) {
return components_.get(index); } else {
return componentsBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .sonarqube.ws.component.Component components = 2;
*/
public java.util.List extends org.sonarqube.ws.WsComponents.ComponentOrBuilder>
getComponentsOrBuilderList() {
if (componentsBuilder_ != null) {
return componentsBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(components_);
}
}
/**
* repeated .sonarqube.ws.component.Component components = 2;
*/
public org.sonarqube.ws.WsComponents.Component.Builder addComponentsBuilder() {
return getComponentsFieldBuilder().addBuilder(
org.sonarqube.ws.WsComponents.Component.getDefaultInstance());
}
/**
* repeated .sonarqube.ws.component.Component components = 2;
*/
public org.sonarqube.ws.WsComponents.Component.Builder addComponentsBuilder(
int index) {
return getComponentsFieldBuilder().addBuilder(
index, org.sonarqube.ws.WsComponents.Component.getDefaultInstance());
}
/**
* repeated .sonarqube.ws.component.Component components = 2;
*/
public java.util.List
getComponentsBuilderList() {
return getComponentsFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilder<
org.sonarqube.ws.WsComponents.Component, org.sonarqube.ws.WsComponents.Component.Builder, org.sonarqube.ws.WsComponents.ComponentOrBuilder>
getComponentsFieldBuilder() {
if (componentsBuilder_ == null) {
componentsBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
org.sonarqube.ws.WsComponents.Component, org.sonarqube.ws.WsComponents.Component.Builder, org.sonarqube.ws.WsComponents.ComponentOrBuilder>(
components_,
((bitField0_ & 0x00000002) == 0x00000002),
getParentForChildren(),
isClean());
components_ = null;
}
return componentsBuilder_;
}
// @@protoc_insertion_point(builder_scope:sonarqube.ws.component.SearchWsResponse)
}
// @@protoc_insertion_point(class_scope:sonarqube.ws.component.SearchWsResponse)
private static final org.sonarqube.ws.WsComponents.SearchWsResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.sonarqube.ws.WsComponents.SearchWsResponse();
}
public static org.sonarqube.ws.WsComponents.SearchWsResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
public SearchWsResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
try {
return new SearchWsResponse(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.sonarqube.ws.WsComponents.SearchWsResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface TreeWsResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:sonarqube.ws.component.TreeWsResponse)
com.google.protobuf.MessageOrBuilder {
/**
* optional .sonarqube.ws.commons.Paging paging = 1;
*/
boolean hasPaging();
/**
* optional .sonarqube.ws.commons.Paging paging = 1;
*/
org.sonarqube.ws.Common.Paging getPaging();
/**
* optional .sonarqube.ws.commons.Paging paging = 1;
*/
org.sonarqube.ws.Common.PagingOrBuilder getPagingOrBuilder();
/**
* optional .sonarqube.ws.component.Component baseComponent = 3;
*/
boolean hasBaseComponent();
/**
* optional .sonarqube.ws.component.Component baseComponent = 3;
*/
org.sonarqube.ws.WsComponents.Component getBaseComponent();
/**
* optional .sonarqube.ws.component.Component baseComponent = 3;
*/
org.sonarqube.ws.WsComponents.ComponentOrBuilder getBaseComponentOrBuilder();
/**
* repeated .sonarqube.ws.component.Component components = 4;
*/
java.util.List
getComponentsList();
/**
* repeated .sonarqube.ws.component.Component components = 4;
*/
org.sonarqube.ws.WsComponents.Component getComponents(int index);
/**
* repeated .sonarqube.ws.component.Component components = 4;
*/
int getComponentsCount();
/**
* repeated .sonarqube.ws.component.Component components = 4;
*/
java.util.List extends org.sonarqube.ws.WsComponents.ComponentOrBuilder>
getComponentsOrBuilderList();
/**
* repeated .sonarqube.ws.component.Component components = 4;
*/
org.sonarqube.ws.WsComponents.ComponentOrBuilder getComponentsOrBuilder(
int index);
}
/**
* Protobuf type {@code sonarqube.ws.component.TreeWsResponse}
*
*
* WS api/components/tree
*
*/
public static final class TreeWsResponse extends
com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:sonarqube.ws.component.TreeWsResponse)
TreeWsResponseOrBuilder {
// Use TreeWsResponse.newBuilder() to construct.
private TreeWsResponse(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
private TreeWsResponse() {
components_ = java.util.Collections.emptyList();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private TreeWsResponse(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) {
this();
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
done = true;
}
break;
}
case 10: {
org.sonarqube.ws.Common.Paging.Builder subBuilder = null;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
subBuilder = paging_.toBuilder();
}
paging_ = input.readMessage(org.sonarqube.ws.Common.Paging.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(paging_);
paging_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000001;
break;
}
case 26: {
org.sonarqube.ws.WsComponents.Component.Builder subBuilder = null;
if (((bitField0_ & 0x00000002) == 0x00000002)) {
subBuilder = baseComponent_.toBuilder();
}
baseComponent_ = input.readMessage(org.sonarqube.ws.WsComponents.Component.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(baseComponent_);
baseComponent_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000002;
break;
}
case 34: {
if (!((mutable_bitField0_ & 0x00000004) == 0x00000004)) {
components_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000004;
}
components_.add(input.readMessage(org.sonarqube.ws.WsComponents.Component.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_ & 0x00000004) == 0x00000004)) {
components_ = java.util.Collections.unmodifiableList(components_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.sonarqube.ws.WsComponents.internal_static_sonarqube_ws_component_TreeWsResponse_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.sonarqube.ws.WsComponents.internal_static_sonarqube_ws_component_TreeWsResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.sonarqube.ws.WsComponents.TreeWsResponse.class, org.sonarqube.ws.WsComponents.TreeWsResponse.Builder.class);
}
private int bitField0_;
public static final int PAGING_FIELD_NUMBER = 1;
private org.sonarqube.ws.Common.Paging paging_;
/**
* optional .sonarqube.ws.commons.Paging paging = 1;
*/
public boolean hasPaging() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional .sonarqube.ws.commons.Paging paging = 1;
*/
public org.sonarqube.ws.Common.Paging getPaging() {
return paging_ == null ? org.sonarqube.ws.Common.Paging.getDefaultInstance() : paging_;
}
/**
* optional .sonarqube.ws.commons.Paging paging = 1;
*/
public org.sonarqube.ws.Common.PagingOrBuilder getPagingOrBuilder() {
return paging_ == null ? org.sonarqube.ws.Common.Paging.getDefaultInstance() : paging_;
}
public static final int BASECOMPONENT_FIELD_NUMBER = 3;
private org.sonarqube.ws.WsComponents.Component baseComponent_;
/**
* optional .sonarqube.ws.component.Component baseComponent = 3;
*/
public boolean hasBaseComponent() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional .sonarqube.ws.component.Component baseComponent = 3;
*/
public org.sonarqube.ws.WsComponents.Component getBaseComponent() {
return baseComponent_ == null ? org.sonarqube.ws.WsComponents.Component.getDefaultInstance() : baseComponent_;
}
/**
* optional .sonarqube.ws.component.Component baseComponent = 3;
*/
public org.sonarqube.ws.WsComponents.ComponentOrBuilder getBaseComponentOrBuilder() {
return baseComponent_ == null ? org.sonarqube.ws.WsComponents.Component.getDefaultInstance() : baseComponent_;
}
public static final int COMPONENTS_FIELD_NUMBER = 4;
private java.util.List components_;
/**
* repeated .sonarqube.ws.component.Component components = 4;
*/
public java.util.List getComponentsList() {
return components_;
}
/**
* repeated .sonarqube.ws.component.Component components = 4;
*/
public java.util.List extends org.sonarqube.ws.WsComponents.ComponentOrBuilder>
getComponentsOrBuilderList() {
return components_;
}
/**
* repeated .sonarqube.ws.component.Component components = 4;
*/
public int getComponentsCount() {
return components_.size();
}
/**
* repeated .sonarqube.ws.component.Component components = 4;
*/
public org.sonarqube.ws.WsComponents.Component getComponents(int index) {
return components_.get(index);
}
/**
* repeated .sonarqube.ws.component.Component components = 4;
*/
public org.sonarqube.ws.WsComponents.ComponentOrBuilder getComponentsOrBuilder(
int index) {
return components_.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 (((bitField0_ & 0x00000001) == 0x00000001)) {
output.writeMessage(1, getPaging());
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeMessage(3, getBaseComponent());
}
for (int i = 0; i < components_.size(); i++) {
output.writeMessage(4, components_.get(i));
}
unknownFields.writeTo(output);
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getPaging());
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, getBaseComponent());
}
for (int i = 0; i < components_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(4, components_.get(i));
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
public static org.sonarqube.ws.WsComponents.TreeWsResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.sonarqube.ws.WsComponents.TreeWsResponse parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.sonarqube.ws.WsComponents.TreeWsResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.sonarqube.ws.WsComponents.TreeWsResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.sonarqube.ws.WsComponents.TreeWsResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.sonarqube.ws.WsComponents.TreeWsResponse parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static org.sonarqube.ws.WsComponents.TreeWsResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static org.sonarqube.ws.WsComponents.TreeWsResponse parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static org.sonarqube.ws.WsComponents.TreeWsResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.sonarqube.ws.WsComponents.TreeWsResponse 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.sonarqube.ws.WsComponents.TreeWsResponse 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 sonarqube.ws.component.TreeWsResponse}
*
*
* WS api/components/tree
*
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:sonarqube.ws.component.TreeWsResponse)
org.sonarqube.ws.WsComponents.TreeWsResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.sonarqube.ws.WsComponents.internal_static_sonarqube_ws_component_TreeWsResponse_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.sonarqube.ws.WsComponents.internal_static_sonarqube_ws_component_TreeWsResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.sonarqube.ws.WsComponents.TreeWsResponse.class, org.sonarqube.ws.WsComponents.TreeWsResponse.Builder.class);
}
// Construct using org.sonarqube.ws.WsComponents.TreeWsResponse.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
getPagingFieldBuilder();
getBaseComponentFieldBuilder();
getComponentsFieldBuilder();
}
}
public Builder clear() {
super.clear();
if (pagingBuilder_ == null) {
paging_ = null;
} else {
pagingBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000001);
if (baseComponentBuilder_ == null) {
baseComponent_ = null;
} else {
baseComponentBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000002);
if (componentsBuilder_ == null) {
components_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000004);
} else {
componentsBuilder_.clear();
}
return this;
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.sonarqube.ws.WsComponents.internal_static_sonarqube_ws_component_TreeWsResponse_descriptor;
}
public org.sonarqube.ws.WsComponents.TreeWsResponse getDefaultInstanceForType() {
return org.sonarqube.ws.WsComponents.TreeWsResponse.getDefaultInstance();
}
public org.sonarqube.ws.WsComponents.TreeWsResponse build() {
org.sonarqube.ws.WsComponents.TreeWsResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public org.sonarqube.ws.WsComponents.TreeWsResponse buildPartial() {
org.sonarqube.ws.WsComponents.TreeWsResponse result = new org.sonarqube.ws.WsComponents.TreeWsResponse(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
if (pagingBuilder_ == null) {
result.paging_ = paging_;
} else {
result.paging_ = pagingBuilder_.build();
}
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
if (baseComponentBuilder_ == null) {
result.baseComponent_ = baseComponent_;
} else {
result.baseComponent_ = baseComponentBuilder_.build();
}
if (componentsBuilder_ == null) {
if (((bitField0_ & 0x00000004) == 0x00000004)) {
components_ = java.util.Collections.unmodifiableList(components_);
bitField0_ = (bitField0_ & ~0x00000004);
}
result.components_ = components_;
} else {
result.components_ = componentsBuilder_.build();
}
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.sonarqube.ws.WsComponents.TreeWsResponse) {
return mergeFrom((org.sonarqube.ws.WsComponents.TreeWsResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.sonarqube.ws.WsComponents.TreeWsResponse other) {
if (other == org.sonarqube.ws.WsComponents.TreeWsResponse.getDefaultInstance()) return this;
if (other.hasPaging()) {
mergePaging(other.getPaging());
}
if (other.hasBaseComponent()) {
mergeBaseComponent(other.getBaseComponent());
}
if (componentsBuilder_ == null) {
if (!other.components_.isEmpty()) {
if (components_.isEmpty()) {
components_ = other.components_;
bitField0_ = (bitField0_ & ~0x00000004);
} else {
ensureComponentsIsMutable();
components_.addAll(other.components_);
}
onChanged();
}
} else {
if (!other.components_.isEmpty()) {
if (componentsBuilder_.isEmpty()) {
componentsBuilder_.dispose();
componentsBuilder_ = null;
components_ = other.components_;
bitField0_ = (bitField0_ & ~0x00000004);
componentsBuilder_ =
com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
getComponentsFieldBuilder() : null;
} else {
componentsBuilder_.addAllMessages(other.components_);
}
}
}
this.mergeUnknownFields(other.unknownFields);
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.sonarqube.ws.WsComponents.TreeWsResponse parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.sonarqube.ws.WsComponents.TreeWsResponse) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private org.sonarqube.ws.Common.Paging paging_ = null;
private com.google.protobuf.SingleFieldBuilder<
org.sonarqube.ws.Common.Paging, org.sonarqube.ws.Common.Paging.Builder, org.sonarqube.ws.Common.PagingOrBuilder> pagingBuilder_;
/**
* optional .sonarqube.ws.commons.Paging paging = 1;
*/
public boolean hasPaging() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional .sonarqube.ws.commons.Paging paging = 1;
*/
public org.sonarqube.ws.Common.Paging getPaging() {
if (pagingBuilder_ == null) {
return paging_ == null ? org.sonarqube.ws.Common.Paging.getDefaultInstance() : paging_;
} else {
return pagingBuilder_.getMessage();
}
}
/**
* optional .sonarqube.ws.commons.Paging paging = 1;
*/
public Builder setPaging(org.sonarqube.ws.Common.Paging value) {
if (pagingBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
paging_ = value;
onChanged();
} else {
pagingBuilder_.setMessage(value);
}
bitField0_ |= 0x00000001;
return this;
}
/**
* optional .sonarqube.ws.commons.Paging paging = 1;
*/
public Builder setPaging(
org.sonarqube.ws.Common.Paging.Builder builderForValue) {
if (pagingBuilder_ == null) {
paging_ = builderForValue.build();
onChanged();
} else {
pagingBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000001;
return this;
}
/**
* optional .sonarqube.ws.commons.Paging paging = 1;
*/
public Builder mergePaging(org.sonarqube.ws.Common.Paging value) {
if (pagingBuilder_ == null) {
if (((bitField0_ & 0x00000001) == 0x00000001) &&
paging_ != null &&
paging_ != org.sonarqube.ws.Common.Paging.getDefaultInstance()) {
paging_ =
org.sonarqube.ws.Common.Paging.newBuilder(paging_).mergeFrom(value).buildPartial();
} else {
paging_ = value;
}
onChanged();
} else {
pagingBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000001;
return this;
}
/**
* optional .sonarqube.ws.commons.Paging paging = 1;
*/
public Builder clearPaging() {
if (pagingBuilder_ == null) {
paging_ = null;
onChanged();
} else {
pagingBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000001);
return this;
}
/**
* optional .sonarqube.ws.commons.Paging paging = 1;
*/
public org.sonarqube.ws.Common.Paging.Builder getPagingBuilder() {
bitField0_ |= 0x00000001;
onChanged();
return getPagingFieldBuilder().getBuilder();
}
/**
* optional .sonarqube.ws.commons.Paging paging = 1;
*/
public org.sonarqube.ws.Common.PagingOrBuilder getPagingOrBuilder() {
if (pagingBuilder_ != null) {
return pagingBuilder_.getMessageOrBuilder();
} else {
return paging_ == null ?
org.sonarqube.ws.Common.Paging.getDefaultInstance() : paging_;
}
}
/**
* optional .sonarqube.ws.commons.Paging paging = 1;
*/
private com.google.protobuf.SingleFieldBuilder<
org.sonarqube.ws.Common.Paging, org.sonarqube.ws.Common.Paging.Builder, org.sonarqube.ws.Common.PagingOrBuilder>
getPagingFieldBuilder() {
if (pagingBuilder_ == null) {
pagingBuilder_ = new com.google.protobuf.SingleFieldBuilder<
org.sonarqube.ws.Common.Paging, org.sonarqube.ws.Common.Paging.Builder, org.sonarqube.ws.Common.PagingOrBuilder>(
getPaging(),
getParentForChildren(),
isClean());
paging_ = null;
}
return pagingBuilder_;
}
private org.sonarqube.ws.WsComponents.Component baseComponent_ = null;
private com.google.protobuf.SingleFieldBuilder<
org.sonarqube.ws.WsComponents.Component, org.sonarqube.ws.WsComponents.Component.Builder, org.sonarqube.ws.WsComponents.ComponentOrBuilder> baseComponentBuilder_;
/**
* optional .sonarqube.ws.component.Component baseComponent = 3;
*/
public boolean hasBaseComponent() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional .sonarqube.ws.component.Component baseComponent = 3;
*/
public org.sonarqube.ws.WsComponents.Component getBaseComponent() {
if (baseComponentBuilder_ == null) {
return baseComponent_ == null ? org.sonarqube.ws.WsComponents.Component.getDefaultInstance() : baseComponent_;
} else {
return baseComponentBuilder_.getMessage();
}
}
/**
* optional .sonarqube.ws.component.Component baseComponent = 3;
*/
public Builder setBaseComponent(org.sonarqube.ws.WsComponents.Component value) {
if (baseComponentBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
baseComponent_ = value;
onChanged();
} else {
baseComponentBuilder_.setMessage(value);
}
bitField0_ |= 0x00000002;
return this;
}
/**
* optional .sonarqube.ws.component.Component baseComponent = 3;
*/
public Builder setBaseComponent(
org.sonarqube.ws.WsComponents.Component.Builder builderForValue) {
if (baseComponentBuilder_ == null) {
baseComponent_ = builderForValue.build();
onChanged();
} else {
baseComponentBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000002;
return this;
}
/**
* optional .sonarqube.ws.component.Component baseComponent = 3;
*/
public Builder mergeBaseComponent(org.sonarqube.ws.WsComponents.Component value) {
if (baseComponentBuilder_ == null) {
if (((bitField0_ & 0x00000002) == 0x00000002) &&
baseComponent_ != null &&
baseComponent_ != org.sonarqube.ws.WsComponents.Component.getDefaultInstance()) {
baseComponent_ =
org.sonarqube.ws.WsComponents.Component.newBuilder(baseComponent_).mergeFrom(value).buildPartial();
} else {
baseComponent_ = value;
}
onChanged();
} else {
baseComponentBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000002;
return this;
}
/**
* optional .sonarqube.ws.component.Component baseComponent = 3;
*/
public Builder clearBaseComponent() {
if (baseComponentBuilder_ == null) {
baseComponent_ = null;
onChanged();
} else {
baseComponentBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
/**
* optional .sonarqube.ws.component.Component baseComponent = 3;
*/
public org.sonarqube.ws.WsComponents.Component.Builder getBaseComponentBuilder() {
bitField0_ |= 0x00000002;
onChanged();
return getBaseComponentFieldBuilder().getBuilder();
}
/**
* optional .sonarqube.ws.component.Component baseComponent = 3;
*/
public org.sonarqube.ws.WsComponents.ComponentOrBuilder getBaseComponentOrBuilder() {
if (baseComponentBuilder_ != null) {
return baseComponentBuilder_.getMessageOrBuilder();
} else {
return baseComponent_ == null ?
org.sonarqube.ws.WsComponents.Component.getDefaultInstance() : baseComponent_;
}
}
/**
* optional .sonarqube.ws.component.Component baseComponent = 3;
*/
private com.google.protobuf.SingleFieldBuilder<
org.sonarqube.ws.WsComponents.Component, org.sonarqube.ws.WsComponents.Component.Builder, org.sonarqube.ws.WsComponents.ComponentOrBuilder>
getBaseComponentFieldBuilder() {
if (baseComponentBuilder_ == null) {
baseComponentBuilder_ = new com.google.protobuf.SingleFieldBuilder<
org.sonarqube.ws.WsComponents.Component, org.sonarqube.ws.WsComponents.Component.Builder, org.sonarqube.ws.WsComponents.ComponentOrBuilder>(
getBaseComponent(),
getParentForChildren(),
isClean());
baseComponent_ = null;
}
return baseComponentBuilder_;
}
private java.util.List components_ =
java.util.Collections.emptyList();
private void ensureComponentsIsMutable() {
if (!((bitField0_ & 0x00000004) == 0x00000004)) {
components_ = new java.util.ArrayList(components_);
bitField0_ |= 0x00000004;
}
}
private com.google.protobuf.RepeatedFieldBuilder<
org.sonarqube.ws.WsComponents.Component, org.sonarqube.ws.WsComponents.Component.Builder, org.sonarqube.ws.WsComponents.ComponentOrBuilder> componentsBuilder_;
/**
* repeated .sonarqube.ws.component.Component components = 4;
*/
public java.util.List getComponentsList() {
if (componentsBuilder_ == null) {
return java.util.Collections.unmodifiableList(components_);
} else {
return componentsBuilder_.getMessageList();
}
}
/**
* repeated .sonarqube.ws.component.Component components = 4;
*/
public int getComponentsCount() {
if (componentsBuilder_ == null) {
return components_.size();
} else {
return componentsBuilder_.getCount();
}
}
/**
* repeated .sonarqube.ws.component.Component components = 4;
*/
public org.sonarqube.ws.WsComponents.Component getComponents(int index) {
if (componentsBuilder_ == null) {
return components_.get(index);
} else {
return componentsBuilder_.getMessage(index);
}
}
/**
* repeated .sonarqube.ws.component.Component components = 4;
*/
public Builder setComponents(
int index, org.sonarqube.ws.WsComponents.Component value) {
if (componentsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureComponentsIsMutable();
components_.set(index, value);
onChanged();
} else {
componentsBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .sonarqube.ws.component.Component components = 4;
*/
public Builder setComponents(
int index, org.sonarqube.ws.WsComponents.Component.Builder builderForValue) {
if (componentsBuilder_ == null) {
ensureComponentsIsMutable();
components_.set(index, builderForValue.build());
onChanged();
} else {
componentsBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .sonarqube.ws.component.Component components = 4;
*/
public Builder addComponents(org.sonarqube.ws.WsComponents.Component value) {
if (componentsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureComponentsIsMutable();
components_.add(value);
onChanged();
} else {
componentsBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .sonarqube.ws.component.Component components = 4;
*/
public Builder addComponents(
int index, org.sonarqube.ws.WsComponents.Component value) {
if (componentsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureComponentsIsMutable();
components_.add(index, value);
onChanged();
} else {
componentsBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .sonarqube.ws.component.Component components = 4;
*/
public Builder addComponents(
org.sonarqube.ws.WsComponents.Component.Builder builderForValue) {
if (componentsBuilder_ == null) {
ensureComponentsIsMutable();
components_.add(builderForValue.build());
onChanged();
} else {
componentsBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .sonarqube.ws.component.Component components = 4;
*/
public Builder addComponents(
int index, org.sonarqube.ws.WsComponents.Component.Builder builderForValue) {
if (componentsBuilder_ == null) {
ensureComponentsIsMutable();
components_.add(index, builderForValue.build());
onChanged();
} else {
componentsBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .sonarqube.ws.component.Component components = 4;
*/
public Builder addAllComponents(
java.lang.Iterable extends org.sonarqube.ws.WsComponents.Component> values) {
if (componentsBuilder_ == null) {
ensureComponentsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, components_);
onChanged();
} else {
componentsBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .sonarqube.ws.component.Component components = 4;
*/
public Builder clearComponents() {
if (componentsBuilder_ == null) {
components_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000004);
onChanged();
} else {
componentsBuilder_.clear();
}
return this;
}
/**
* repeated .sonarqube.ws.component.Component components = 4;
*/
public Builder removeComponents(int index) {
if (componentsBuilder_ == null) {
ensureComponentsIsMutable();
components_.remove(index);
onChanged();
} else {
componentsBuilder_.remove(index);
}
return this;
}
/**
* repeated .sonarqube.ws.component.Component components = 4;
*/
public org.sonarqube.ws.WsComponents.Component.Builder getComponentsBuilder(
int index) {
return getComponentsFieldBuilder().getBuilder(index);
}
/**
* repeated .sonarqube.ws.component.Component components = 4;
*/
public org.sonarqube.ws.WsComponents.ComponentOrBuilder getComponentsOrBuilder(
int index) {
if (componentsBuilder_ == null) {
return components_.get(index); } else {
return componentsBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .sonarqube.ws.component.Component components = 4;
*/
public java.util.List extends org.sonarqube.ws.WsComponents.ComponentOrBuilder>
getComponentsOrBuilderList() {
if (componentsBuilder_ != null) {
return componentsBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(components_);
}
}
/**
* repeated .sonarqube.ws.component.Component components = 4;
*/
public org.sonarqube.ws.WsComponents.Component.Builder addComponentsBuilder() {
return getComponentsFieldBuilder().addBuilder(
org.sonarqube.ws.WsComponents.Component.getDefaultInstance());
}
/**
* repeated .sonarqube.ws.component.Component components = 4;
*/
public org.sonarqube.ws.WsComponents.Component.Builder addComponentsBuilder(
int index) {
return getComponentsFieldBuilder().addBuilder(
index, org.sonarqube.ws.WsComponents.Component.getDefaultInstance());
}
/**
* repeated .sonarqube.ws.component.Component components = 4;
*/
public java.util.List
getComponentsBuilderList() {
return getComponentsFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilder<
org.sonarqube.ws.WsComponents.Component, org.sonarqube.ws.WsComponents.Component.Builder, org.sonarqube.ws.WsComponents.ComponentOrBuilder>
getComponentsFieldBuilder() {
if (componentsBuilder_ == null) {
componentsBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
org.sonarqube.ws.WsComponents.Component, org.sonarqube.ws.WsComponents.Component.Builder, org.sonarqube.ws.WsComponents.ComponentOrBuilder>(
components_,
((bitField0_ & 0x00000004) == 0x00000004),
getParentForChildren(),
isClean());
components_ = null;
}
return componentsBuilder_;
}
// @@protoc_insertion_point(builder_scope:sonarqube.ws.component.TreeWsResponse)
}
// @@protoc_insertion_point(class_scope:sonarqube.ws.component.TreeWsResponse)
private static final org.sonarqube.ws.WsComponents.TreeWsResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.sonarqube.ws.WsComponents.TreeWsResponse();
}
public static org.sonarqube.ws.WsComponents.TreeWsResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
public TreeWsResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
try {
return new TreeWsResponse(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.sonarqube.ws.WsComponents.TreeWsResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface ShowWsResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:sonarqube.ws.component.ShowWsResponse)
com.google.protobuf.MessageOrBuilder {
/**
* optional .sonarqube.ws.commons.Paging paging = 1;
*/
boolean hasPaging();
/**
* optional .sonarqube.ws.commons.Paging paging = 1;
*/
org.sonarqube.ws.Common.Paging getPaging();
/**
* optional .sonarqube.ws.commons.Paging paging = 1;
*/
org.sonarqube.ws.Common.PagingOrBuilder getPagingOrBuilder();
/**
* optional .sonarqube.ws.component.Component component = 2;
*/
boolean hasComponent();
/**
* optional .sonarqube.ws.component.Component component = 2;
*/
org.sonarqube.ws.WsComponents.Component getComponent();
/**
* optional .sonarqube.ws.component.Component component = 2;
*/
org.sonarqube.ws.WsComponents.ComponentOrBuilder getComponentOrBuilder();
/**
* repeated .sonarqube.ws.component.Component ancestors = 3;
*/
java.util.List
getAncestorsList();
/**
* repeated .sonarqube.ws.component.Component ancestors = 3;
*/
org.sonarqube.ws.WsComponents.Component getAncestors(int index);
/**
* repeated .sonarqube.ws.component.Component ancestors = 3;
*/
int getAncestorsCount();
/**
* repeated .sonarqube.ws.component.Component ancestors = 3;
*/
java.util.List extends org.sonarqube.ws.WsComponents.ComponentOrBuilder>
getAncestorsOrBuilderList();
/**
* repeated .sonarqube.ws.component.Component ancestors = 3;
*/
org.sonarqube.ws.WsComponents.ComponentOrBuilder getAncestorsOrBuilder(
int index);
}
/**
* Protobuf type {@code sonarqube.ws.component.ShowWsResponse}
*
*
* WS api/components/show
*
*/
public static final class ShowWsResponse extends
com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:sonarqube.ws.component.ShowWsResponse)
ShowWsResponseOrBuilder {
// Use ShowWsResponse.newBuilder() to construct.
private ShowWsResponse(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
private ShowWsResponse() {
ancestors_ = java.util.Collections.emptyList();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private ShowWsResponse(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) {
this();
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
done = true;
}
break;
}
case 10: {
org.sonarqube.ws.Common.Paging.Builder subBuilder = null;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
subBuilder = paging_.toBuilder();
}
paging_ = input.readMessage(org.sonarqube.ws.Common.Paging.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(paging_);
paging_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000001;
break;
}
case 18: {
org.sonarqube.ws.WsComponents.Component.Builder subBuilder = null;
if (((bitField0_ & 0x00000002) == 0x00000002)) {
subBuilder = component_.toBuilder();
}
component_ = input.readMessage(org.sonarqube.ws.WsComponents.Component.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(component_);
component_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000002;
break;
}
case 26: {
if (!((mutable_bitField0_ & 0x00000004) == 0x00000004)) {
ancestors_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000004;
}
ancestors_.add(input.readMessage(org.sonarqube.ws.WsComponents.Component.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_ & 0x00000004) == 0x00000004)) {
ancestors_ = java.util.Collections.unmodifiableList(ancestors_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.sonarqube.ws.WsComponents.internal_static_sonarqube_ws_component_ShowWsResponse_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.sonarqube.ws.WsComponents.internal_static_sonarqube_ws_component_ShowWsResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.sonarqube.ws.WsComponents.ShowWsResponse.class, org.sonarqube.ws.WsComponents.ShowWsResponse.Builder.class);
}
private int bitField0_;
public static final int PAGING_FIELD_NUMBER = 1;
private org.sonarqube.ws.Common.Paging paging_;
/**
* optional .sonarqube.ws.commons.Paging paging = 1;
*/
public boolean hasPaging() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional .sonarqube.ws.commons.Paging paging = 1;
*/
public org.sonarqube.ws.Common.Paging getPaging() {
return paging_ == null ? org.sonarqube.ws.Common.Paging.getDefaultInstance() : paging_;
}
/**
* optional .sonarqube.ws.commons.Paging paging = 1;
*/
public org.sonarqube.ws.Common.PagingOrBuilder getPagingOrBuilder() {
return paging_ == null ? org.sonarqube.ws.Common.Paging.getDefaultInstance() : paging_;
}
public static final int COMPONENT_FIELD_NUMBER = 2;
private org.sonarqube.ws.WsComponents.Component component_;
/**
* optional .sonarqube.ws.component.Component component = 2;
*/
public boolean hasComponent() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional .sonarqube.ws.component.Component component = 2;
*/
public org.sonarqube.ws.WsComponents.Component getComponent() {
return component_ == null ? org.sonarqube.ws.WsComponents.Component.getDefaultInstance() : component_;
}
/**
* optional .sonarqube.ws.component.Component component = 2;
*/
public org.sonarqube.ws.WsComponents.ComponentOrBuilder getComponentOrBuilder() {
return component_ == null ? org.sonarqube.ws.WsComponents.Component.getDefaultInstance() : component_;
}
public static final int ANCESTORS_FIELD_NUMBER = 3;
private java.util.List ancestors_;
/**
* repeated .sonarqube.ws.component.Component ancestors = 3;
*/
public java.util.List getAncestorsList() {
return ancestors_;
}
/**
* repeated .sonarqube.ws.component.Component ancestors = 3;
*/
public java.util.List extends org.sonarqube.ws.WsComponents.ComponentOrBuilder>
getAncestorsOrBuilderList() {
return ancestors_;
}
/**
* repeated .sonarqube.ws.component.Component ancestors = 3;
*/
public int getAncestorsCount() {
return ancestors_.size();
}
/**
* repeated .sonarqube.ws.component.Component ancestors = 3;
*/
public org.sonarqube.ws.WsComponents.Component getAncestors(int index) {
return ancestors_.get(index);
}
/**
* repeated .sonarqube.ws.component.Component ancestors = 3;
*/
public org.sonarqube.ws.WsComponents.ComponentOrBuilder getAncestorsOrBuilder(
int index) {
return ancestors_.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 (((bitField0_ & 0x00000001) == 0x00000001)) {
output.writeMessage(1, getPaging());
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeMessage(2, getComponent());
}
for (int i = 0; i < ancestors_.size(); i++) {
output.writeMessage(3, ancestors_.get(i));
}
unknownFields.writeTo(output);
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getPaging());
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, getComponent());
}
for (int i = 0; i < ancestors_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, ancestors_.get(i));
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
public static org.sonarqube.ws.WsComponents.ShowWsResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.sonarqube.ws.WsComponents.ShowWsResponse parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.sonarqube.ws.WsComponents.ShowWsResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.sonarqube.ws.WsComponents.ShowWsResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.sonarqube.ws.WsComponents.ShowWsResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.sonarqube.ws.WsComponents.ShowWsResponse parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static org.sonarqube.ws.WsComponents.ShowWsResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static org.sonarqube.ws.WsComponents.ShowWsResponse parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static org.sonarqube.ws.WsComponents.ShowWsResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.sonarqube.ws.WsComponents.ShowWsResponse 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.sonarqube.ws.WsComponents.ShowWsResponse 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 sonarqube.ws.component.ShowWsResponse}
*
*
* WS api/components/show
*
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:sonarqube.ws.component.ShowWsResponse)
org.sonarqube.ws.WsComponents.ShowWsResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.sonarqube.ws.WsComponents.internal_static_sonarqube_ws_component_ShowWsResponse_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.sonarqube.ws.WsComponents.internal_static_sonarqube_ws_component_ShowWsResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.sonarqube.ws.WsComponents.ShowWsResponse.class, org.sonarqube.ws.WsComponents.ShowWsResponse.Builder.class);
}
// Construct using org.sonarqube.ws.WsComponents.ShowWsResponse.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
getPagingFieldBuilder();
getComponentFieldBuilder();
getAncestorsFieldBuilder();
}
}
public Builder clear() {
super.clear();
if (pagingBuilder_ == null) {
paging_ = null;
} else {
pagingBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000001);
if (componentBuilder_ == null) {
component_ = null;
} else {
componentBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000002);
if (ancestorsBuilder_ == null) {
ancestors_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000004);
} else {
ancestorsBuilder_.clear();
}
return this;
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.sonarqube.ws.WsComponents.internal_static_sonarqube_ws_component_ShowWsResponse_descriptor;
}
public org.sonarqube.ws.WsComponents.ShowWsResponse getDefaultInstanceForType() {
return org.sonarqube.ws.WsComponents.ShowWsResponse.getDefaultInstance();
}
public org.sonarqube.ws.WsComponents.ShowWsResponse build() {
org.sonarqube.ws.WsComponents.ShowWsResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public org.sonarqube.ws.WsComponents.ShowWsResponse buildPartial() {
org.sonarqube.ws.WsComponents.ShowWsResponse result = new org.sonarqube.ws.WsComponents.ShowWsResponse(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
if (pagingBuilder_ == null) {
result.paging_ = paging_;
} else {
result.paging_ = pagingBuilder_.build();
}
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
if (componentBuilder_ == null) {
result.component_ = component_;
} else {
result.component_ = componentBuilder_.build();
}
if (ancestorsBuilder_ == null) {
if (((bitField0_ & 0x00000004) == 0x00000004)) {
ancestors_ = java.util.Collections.unmodifiableList(ancestors_);
bitField0_ = (bitField0_ & ~0x00000004);
}
result.ancestors_ = ancestors_;
} else {
result.ancestors_ = ancestorsBuilder_.build();
}
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.sonarqube.ws.WsComponents.ShowWsResponse) {
return mergeFrom((org.sonarqube.ws.WsComponents.ShowWsResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.sonarqube.ws.WsComponents.ShowWsResponse other) {
if (other == org.sonarqube.ws.WsComponents.ShowWsResponse.getDefaultInstance()) return this;
if (other.hasPaging()) {
mergePaging(other.getPaging());
}
if (other.hasComponent()) {
mergeComponent(other.getComponent());
}
if (ancestorsBuilder_ == null) {
if (!other.ancestors_.isEmpty()) {
if (ancestors_.isEmpty()) {
ancestors_ = other.ancestors_;
bitField0_ = (bitField0_ & ~0x00000004);
} else {
ensureAncestorsIsMutable();
ancestors_.addAll(other.ancestors_);
}
onChanged();
}
} else {
if (!other.ancestors_.isEmpty()) {
if (ancestorsBuilder_.isEmpty()) {
ancestorsBuilder_.dispose();
ancestorsBuilder_ = null;
ancestors_ = other.ancestors_;
bitField0_ = (bitField0_ & ~0x00000004);
ancestorsBuilder_ =
com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
getAncestorsFieldBuilder() : null;
} else {
ancestorsBuilder_.addAllMessages(other.ancestors_);
}
}
}
this.mergeUnknownFields(other.unknownFields);
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.sonarqube.ws.WsComponents.ShowWsResponse parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.sonarqube.ws.WsComponents.ShowWsResponse) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private org.sonarqube.ws.Common.Paging paging_ = null;
private com.google.protobuf.SingleFieldBuilder<
org.sonarqube.ws.Common.Paging, org.sonarqube.ws.Common.Paging.Builder, org.sonarqube.ws.Common.PagingOrBuilder> pagingBuilder_;
/**
* optional .sonarqube.ws.commons.Paging paging = 1;
*/
public boolean hasPaging() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional .sonarqube.ws.commons.Paging paging = 1;
*/
public org.sonarqube.ws.Common.Paging getPaging() {
if (pagingBuilder_ == null) {
return paging_ == null ? org.sonarqube.ws.Common.Paging.getDefaultInstance() : paging_;
} else {
return pagingBuilder_.getMessage();
}
}
/**
* optional .sonarqube.ws.commons.Paging paging = 1;
*/
public Builder setPaging(org.sonarqube.ws.Common.Paging value) {
if (pagingBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
paging_ = value;
onChanged();
} else {
pagingBuilder_.setMessage(value);
}
bitField0_ |= 0x00000001;
return this;
}
/**
* optional .sonarqube.ws.commons.Paging paging = 1;
*/
public Builder setPaging(
org.sonarqube.ws.Common.Paging.Builder builderForValue) {
if (pagingBuilder_ == null) {
paging_ = builderForValue.build();
onChanged();
} else {
pagingBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000001;
return this;
}
/**
* optional .sonarqube.ws.commons.Paging paging = 1;
*/
public Builder mergePaging(org.sonarqube.ws.Common.Paging value) {
if (pagingBuilder_ == null) {
if (((bitField0_ & 0x00000001) == 0x00000001) &&
paging_ != null &&
paging_ != org.sonarqube.ws.Common.Paging.getDefaultInstance()) {
paging_ =
org.sonarqube.ws.Common.Paging.newBuilder(paging_).mergeFrom(value).buildPartial();
} else {
paging_ = value;
}
onChanged();
} else {
pagingBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000001;
return this;
}
/**
* optional .sonarqube.ws.commons.Paging paging = 1;
*/
public Builder clearPaging() {
if (pagingBuilder_ == null) {
paging_ = null;
onChanged();
} else {
pagingBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000001);
return this;
}
/**
* optional .sonarqube.ws.commons.Paging paging = 1;
*/
public org.sonarqube.ws.Common.Paging.Builder getPagingBuilder() {
bitField0_ |= 0x00000001;
onChanged();
return getPagingFieldBuilder().getBuilder();
}
/**
* optional .sonarqube.ws.commons.Paging paging = 1;
*/
public org.sonarqube.ws.Common.PagingOrBuilder getPagingOrBuilder() {
if (pagingBuilder_ != null) {
return pagingBuilder_.getMessageOrBuilder();
} else {
return paging_ == null ?
org.sonarqube.ws.Common.Paging.getDefaultInstance() : paging_;
}
}
/**
* optional .sonarqube.ws.commons.Paging paging = 1;
*/
private com.google.protobuf.SingleFieldBuilder<
org.sonarqube.ws.Common.Paging, org.sonarqube.ws.Common.Paging.Builder, org.sonarqube.ws.Common.PagingOrBuilder>
getPagingFieldBuilder() {
if (pagingBuilder_ == null) {
pagingBuilder_ = new com.google.protobuf.SingleFieldBuilder<
org.sonarqube.ws.Common.Paging, org.sonarqube.ws.Common.Paging.Builder, org.sonarqube.ws.Common.PagingOrBuilder>(
getPaging(),
getParentForChildren(),
isClean());
paging_ = null;
}
return pagingBuilder_;
}
private org.sonarqube.ws.WsComponents.Component component_ = null;
private com.google.protobuf.SingleFieldBuilder<
org.sonarqube.ws.WsComponents.Component, org.sonarqube.ws.WsComponents.Component.Builder, org.sonarqube.ws.WsComponents.ComponentOrBuilder> componentBuilder_;
/**
* optional .sonarqube.ws.component.Component component = 2;
*/
public boolean hasComponent() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional .sonarqube.ws.component.Component component = 2;
*/
public org.sonarqube.ws.WsComponents.Component getComponent() {
if (componentBuilder_ == null) {
return component_ == null ? org.sonarqube.ws.WsComponents.Component.getDefaultInstance() : component_;
} else {
return componentBuilder_.getMessage();
}
}
/**
* optional .sonarqube.ws.component.Component component = 2;
*/
public Builder setComponent(org.sonarqube.ws.WsComponents.Component value) {
if (componentBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
component_ = value;
onChanged();
} else {
componentBuilder_.setMessage(value);
}
bitField0_ |= 0x00000002;
return this;
}
/**
* optional .sonarqube.ws.component.Component component = 2;
*/
public Builder setComponent(
org.sonarqube.ws.WsComponents.Component.Builder builderForValue) {
if (componentBuilder_ == null) {
component_ = builderForValue.build();
onChanged();
} else {
componentBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000002;
return this;
}
/**
* optional .sonarqube.ws.component.Component component = 2;
*/
public Builder mergeComponent(org.sonarqube.ws.WsComponents.Component value) {
if (componentBuilder_ == null) {
if (((bitField0_ & 0x00000002) == 0x00000002) &&
component_ != null &&
component_ != org.sonarqube.ws.WsComponents.Component.getDefaultInstance()) {
component_ =
org.sonarqube.ws.WsComponents.Component.newBuilder(component_).mergeFrom(value).buildPartial();
} else {
component_ = value;
}
onChanged();
} else {
componentBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000002;
return this;
}
/**
* optional .sonarqube.ws.component.Component component = 2;
*/
public Builder clearComponent() {
if (componentBuilder_ == null) {
component_ = null;
onChanged();
} else {
componentBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
/**
* optional .sonarqube.ws.component.Component component = 2;
*/
public org.sonarqube.ws.WsComponents.Component.Builder getComponentBuilder() {
bitField0_ |= 0x00000002;
onChanged();
return getComponentFieldBuilder().getBuilder();
}
/**
* optional .sonarqube.ws.component.Component component = 2;
*/
public org.sonarqube.ws.WsComponents.ComponentOrBuilder getComponentOrBuilder() {
if (componentBuilder_ != null) {
return componentBuilder_.getMessageOrBuilder();
} else {
return component_ == null ?
org.sonarqube.ws.WsComponents.Component.getDefaultInstance() : component_;
}
}
/**
* optional .sonarqube.ws.component.Component component = 2;
*/
private com.google.protobuf.SingleFieldBuilder<
org.sonarqube.ws.WsComponents.Component, org.sonarqube.ws.WsComponents.Component.Builder, org.sonarqube.ws.WsComponents.ComponentOrBuilder>
getComponentFieldBuilder() {
if (componentBuilder_ == null) {
componentBuilder_ = new com.google.protobuf.SingleFieldBuilder<
org.sonarqube.ws.WsComponents.Component, org.sonarqube.ws.WsComponents.Component.Builder, org.sonarqube.ws.WsComponents.ComponentOrBuilder>(
getComponent(),
getParentForChildren(),
isClean());
component_ = null;
}
return componentBuilder_;
}
private java.util.List ancestors_ =
java.util.Collections.emptyList();
private void ensureAncestorsIsMutable() {
if (!((bitField0_ & 0x00000004) == 0x00000004)) {
ancestors_ = new java.util.ArrayList(ancestors_);
bitField0_ |= 0x00000004;
}
}
private com.google.protobuf.RepeatedFieldBuilder<
org.sonarqube.ws.WsComponents.Component, org.sonarqube.ws.WsComponents.Component.Builder, org.sonarqube.ws.WsComponents.ComponentOrBuilder> ancestorsBuilder_;
/**
* repeated .sonarqube.ws.component.Component ancestors = 3;
*/
public java.util.List getAncestorsList() {
if (ancestorsBuilder_ == null) {
return java.util.Collections.unmodifiableList(ancestors_);
} else {
return ancestorsBuilder_.getMessageList();
}
}
/**
* repeated .sonarqube.ws.component.Component ancestors = 3;
*/
public int getAncestorsCount() {
if (ancestorsBuilder_ == null) {
return ancestors_.size();
} else {
return ancestorsBuilder_.getCount();
}
}
/**
* repeated .sonarqube.ws.component.Component ancestors = 3;
*/
public org.sonarqube.ws.WsComponents.Component getAncestors(int index) {
if (ancestorsBuilder_ == null) {
return ancestors_.get(index);
} else {
return ancestorsBuilder_.getMessage(index);
}
}
/**
* repeated .sonarqube.ws.component.Component ancestors = 3;
*/
public Builder setAncestors(
int index, org.sonarqube.ws.WsComponents.Component value) {
if (ancestorsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureAncestorsIsMutable();
ancestors_.set(index, value);
onChanged();
} else {
ancestorsBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .sonarqube.ws.component.Component ancestors = 3;
*/
public Builder setAncestors(
int index, org.sonarqube.ws.WsComponents.Component.Builder builderForValue) {
if (ancestorsBuilder_ == null) {
ensureAncestorsIsMutable();
ancestors_.set(index, builderForValue.build());
onChanged();
} else {
ancestorsBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .sonarqube.ws.component.Component ancestors = 3;
*/
public Builder addAncestors(org.sonarqube.ws.WsComponents.Component value) {
if (ancestorsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureAncestorsIsMutable();
ancestors_.add(value);
onChanged();
} else {
ancestorsBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .sonarqube.ws.component.Component ancestors = 3;
*/
public Builder addAncestors(
int index, org.sonarqube.ws.WsComponents.Component value) {
if (ancestorsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureAncestorsIsMutable();
ancestors_.add(index, value);
onChanged();
} else {
ancestorsBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .sonarqube.ws.component.Component ancestors = 3;
*/
public Builder addAncestors(
org.sonarqube.ws.WsComponents.Component.Builder builderForValue) {
if (ancestorsBuilder_ == null) {
ensureAncestorsIsMutable();
ancestors_.add(builderForValue.build());
onChanged();
} else {
ancestorsBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .sonarqube.ws.component.Component ancestors = 3;
*/
public Builder addAncestors(
int index, org.sonarqube.ws.WsComponents.Component.Builder builderForValue) {
if (ancestorsBuilder_ == null) {
ensureAncestorsIsMutable();
ancestors_.add(index, builderForValue.build());
onChanged();
} else {
ancestorsBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .sonarqube.ws.component.Component ancestors = 3;
*/
public Builder addAllAncestors(
java.lang.Iterable extends org.sonarqube.ws.WsComponents.Component> values) {
if (ancestorsBuilder_ == null) {
ensureAncestorsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, ancestors_);
onChanged();
} else {
ancestorsBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .sonarqube.ws.component.Component ancestors = 3;
*/
public Builder clearAncestors() {
if (ancestorsBuilder_ == null) {
ancestors_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000004);
onChanged();
} else {
ancestorsBuilder_.clear();
}
return this;
}
/**
* repeated .sonarqube.ws.component.Component ancestors = 3;
*/
public Builder removeAncestors(int index) {
if (ancestorsBuilder_ == null) {
ensureAncestorsIsMutable();
ancestors_.remove(index);
onChanged();
} else {
ancestorsBuilder_.remove(index);
}
return this;
}
/**
* repeated .sonarqube.ws.component.Component ancestors = 3;
*/
public org.sonarqube.ws.WsComponents.Component.Builder getAncestorsBuilder(
int index) {
return getAncestorsFieldBuilder().getBuilder(index);
}
/**
* repeated .sonarqube.ws.component.Component ancestors = 3;
*/
public org.sonarqube.ws.WsComponents.ComponentOrBuilder getAncestorsOrBuilder(
int index) {
if (ancestorsBuilder_ == null) {
return ancestors_.get(index); } else {
return ancestorsBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .sonarqube.ws.component.Component ancestors = 3;
*/
public java.util.List extends org.sonarqube.ws.WsComponents.ComponentOrBuilder>
getAncestorsOrBuilderList() {
if (ancestorsBuilder_ != null) {
return ancestorsBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(ancestors_);
}
}
/**
* repeated .sonarqube.ws.component.Component ancestors = 3;
*/
public org.sonarqube.ws.WsComponents.Component.Builder addAncestorsBuilder() {
return getAncestorsFieldBuilder().addBuilder(
org.sonarqube.ws.WsComponents.Component.getDefaultInstance());
}
/**
* repeated .sonarqube.ws.component.Component ancestors = 3;
*/
public org.sonarqube.ws.WsComponents.Component.Builder addAncestorsBuilder(
int index) {
return getAncestorsFieldBuilder().addBuilder(
index, org.sonarqube.ws.WsComponents.Component.getDefaultInstance());
}
/**
* repeated .sonarqube.ws.component.Component ancestors = 3;
*/
public java.util.List
getAncestorsBuilderList() {
return getAncestorsFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilder<
org.sonarqube.ws.WsComponents.Component, org.sonarqube.ws.WsComponents.Component.Builder, org.sonarqube.ws.WsComponents.ComponentOrBuilder>
getAncestorsFieldBuilder() {
if (ancestorsBuilder_ == null) {
ancestorsBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
org.sonarqube.ws.WsComponents.Component, org.sonarqube.ws.WsComponents.Component.Builder, org.sonarqube.ws.WsComponents.ComponentOrBuilder>(
ancestors_,
((bitField0_ & 0x00000004) == 0x00000004),
getParentForChildren(),
isClean());
ancestors_ = null;
}
return ancestorsBuilder_;
}
// @@protoc_insertion_point(builder_scope:sonarqube.ws.component.ShowWsResponse)
}
// @@protoc_insertion_point(class_scope:sonarqube.ws.component.ShowWsResponse)
private static final org.sonarqube.ws.WsComponents.ShowWsResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.sonarqube.ws.WsComponents.ShowWsResponse();
}
public static org.sonarqube.ws.WsComponents.ShowWsResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
public ShowWsResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
try {
return new ShowWsResponse(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.sonarqube.ws.WsComponents.ShowWsResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface ComponentOrBuilder extends
// @@protoc_insertion_point(interface_extends:sonarqube.ws.component.Component)
com.google.protobuf.MessageOrBuilder {
/**
* optional string id = 1;
*/
boolean hasId();
/**
* optional string id = 1;
*/
java.lang.String getId();
/**
* optional string id = 1;
*/
com.google.protobuf.ByteString
getIdBytes();
/**
* optional string key = 2;
*/
boolean hasKey();
/**
* optional string key = 2;
*/
java.lang.String getKey();
/**
* optional string key = 2;
*/
com.google.protobuf.ByteString
getKeyBytes();
/**
* optional string refId = 3;
*/
boolean hasRefId();
/**
* optional string refId = 3;
*/
java.lang.String getRefId();
/**
* optional string refId = 3;
*/
com.google.protobuf.ByteString
getRefIdBytes();
/**
* optional string refKey = 4;
*/
boolean hasRefKey();
/**
* optional string refKey = 4;
*/
java.lang.String getRefKey();
/**
* optional string refKey = 4;
*/
com.google.protobuf.ByteString
getRefKeyBytes();
/**
* optional string projectId = 5;
*/
boolean hasProjectId();
/**
* optional string projectId = 5;
*/
java.lang.String getProjectId();
/**
* optional string projectId = 5;
*/
com.google.protobuf.ByteString
getProjectIdBytes();
/**
* optional string name = 6;
*/
boolean hasName();
/**
* optional string name = 6;
*/
java.lang.String getName();
/**
* optional string name = 6;
*/
com.google.protobuf.ByteString
getNameBytes();
/**
* optional string description = 7;
*/
boolean hasDescription();
/**
* optional string description = 7;
*/
java.lang.String getDescription();
/**
* optional string description = 7;
*/
com.google.protobuf.ByteString
getDescriptionBytes();
/**
* optional string qualifier = 8;
*/
boolean hasQualifier();
/**
* optional string qualifier = 8;
*/
java.lang.String getQualifier();
/**
* optional string qualifier = 8;
*/
com.google.protobuf.ByteString
getQualifierBytes();
/**
* optional string path = 9;
*/
boolean hasPath();
/**
* optional string path = 9;
*/
java.lang.String getPath();
/**
* optional string path = 9;
*/
com.google.protobuf.ByteString
getPathBytes();
/**
* optional string language = 10;
*/
boolean hasLanguage();
/**
* optional string language = 10;
*/
java.lang.String getLanguage();
/**
* optional string language = 10;
*/
com.google.protobuf.ByteString
getLanguageBytes();
}
/**
* Protobuf type {@code sonarqube.ws.component.Component}
*/
public static final class Component extends
com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:sonarqube.ws.component.Component)
ComponentOrBuilder {
// Use Component.newBuilder() to construct.
private Component(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
private Component() {
id_ = "";
key_ = "";
refId_ = "";
refKey_ = "";
projectId_ = "";
name_ = "";
description_ = "";
qualifier_ = "";
path_ = "";
language_ = "";
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private Component(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) {
this();
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
done = true;
}
break;
}
case 10: {
com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000001;
id_ = bs;
break;
}
case 18: {
com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000002;
key_ = bs;
break;
}
case 26: {
com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000004;
refId_ = bs;
break;
}
case 34: {
com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000008;
refKey_ = bs;
break;
}
case 42: {
com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000010;
projectId_ = bs;
break;
}
case 50: {
com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000020;
name_ = bs;
break;
}
case 58: {
com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000040;
description_ = bs;
break;
}
case 66: {
com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000080;
qualifier_ = bs;
break;
}
case 74: {
com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000100;
path_ = bs;
break;
}
case 82: {
com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000200;
language_ = bs;
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 {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.sonarqube.ws.WsComponents.internal_static_sonarqube_ws_component_Component_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.sonarqube.ws.WsComponents.internal_static_sonarqube_ws_component_Component_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.sonarqube.ws.WsComponents.Component.class, org.sonarqube.ws.WsComponents.Component.Builder.class);
}
private int bitField0_;
public static final int ID_FIELD_NUMBER = 1;
private volatile java.lang.Object id_;
/**
* optional string id = 1;
*/
public boolean hasId() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional string id = 1;
*/
public java.lang.String getId() {
java.lang.Object ref = id_;
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 (bs.isValidUtf8()) {
id_ = s;
}
return s;
}
}
/**
* optional string id = 1;
*/
public com.google.protobuf.ByteString
getIdBytes() {
java.lang.Object ref = id_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
id_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int KEY_FIELD_NUMBER = 2;
private volatile java.lang.Object key_;
/**
* optional string key = 2;
*/
public boolean hasKey() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional string key = 2;
*/
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();
if (bs.isValidUtf8()) {
key_ = s;
}
return s;
}
}
/**
* optional string key = 2;
*/
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 REFID_FIELD_NUMBER = 3;
private volatile java.lang.Object refId_;
/**
* optional string refId = 3;
*/
public boolean hasRefId() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional string refId = 3;
*/
public java.lang.String getRefId() {
java.lang.Object ref = refId_;
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 (bs.isValidUtf8()) {
refId_ = s;
}
return s;
}
}
/**
* optional string refId = 3;
*/
public com.google.protobuf.ByteString
getRefIdBytes() {
java.lang.Object ref = refId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
refId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int REFKEY_FIELD_NUMBER = 4;
private volatile java.lang.Object refKey_;
/**
* optional string refKey = 4;
*/
public boolean hasRefKey() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
* optional string refKey = 4;
*/
public java.lang.String getRefKey() {
java.lang.Object ref = refKey_;
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 (bs.isValidUtf8()) {
refKey_ = s;
}
return s;
}
}
/**
* optional string refKey = 4;
*/
public com.google.protobuf.ByteString
getRefKeyBytes() {
java.lang.Object ref = refKey_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
refKey_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int PROJECTID_FIELD_NUMBER = 5;
private volatile java.lang.Object projectId_;
/**
* optional string projectId = 5;
*/
public boolean hasProjectId() {
return ((bitField0_ & 0x00000010) == 0x00000010);
}
/**
* optional string projectId = 5;
*/
public java.lang.String getProjectId() {
java.lang.Object ref = projectId_;
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 (bs.isValidUtf8()) {
projectId_ = s;
}
return s;
}
}
/**
* optional string projectId = 5;
*/
public com.google.protobuf.ByteString
getProjectIdBytes() {
java.lang.Object ref = projectId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
projectId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int NAME_FIELD_NUMBER = 6;
private volatile java.lang.Object name_;
/**
* optional string name = 6;
*/
public boolean hasName() {
return ((bitField0_ & 0x00000020) == 0x00000020);
}
/**
* optional string name = 6;
*/
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();
if (bs.isValidUtf8()) {
name_ = s;
}
return s;
}
}
/**
* optional string name = 6;
*/
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 DESCRIPTION_FIELD_NUMBER = 7;
private volatile java.lang.Object description_;
/**
* optional string description = 7;
*/
public boolean hasDescription() {
return ((bitField0_ & 0x00000040) == 0x00000040);
}
/**
* optional string description = 7;
*/
public java.lang.String getDescription() {
java.lang.Object ref = description_;
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 (bs.isValidUtf8()) {
description_ = s;
}
return s;
}
}
/**
* optional string description = 7;
*/
public com.google.protobuf.ByteString
getDescriptionBytes() {
java.lang.Object ref = description_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
description_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int QUALIFIER_FIELD_NUMBER = 8;
private volatile java.lang.Object qualifier_;
/**
* optional string qualifier = 8;
*/
public boolean hasQualifier() {
return ((bitField0_ & 0x00000080) == 0x00000080);
}
/**
* optional string qualifier = 8;
*/
public java.lang.String getQualifier() {
java.lang.Object ref = qualifier_;
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 (bs.isValidUtf8()) {
qualifier_ = s;
}
return s;
}
}
/**
* optional string qualifier = 8;
*/
public com.google.protobuf.ByteString
getQualifierBytes() {
java.lang.Object ref = qualifier_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
qualifier_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int PATH_FIELD_NUMBER = 9;
private volatile java.lang.Object path_;
/**
* optional string path = 9;
*/
public boolean hasPath() {
return ((bitField0_ & 0x00000100) == 0x00000100);
}
/**
* optional string path = 9;
*/
public java.lang.String getPath() {
java.lang.Object ref = path_;
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 (bs.isValidUtf8()) {
path_ = s;
}
return s;
}
}
/**
* optional string path = 9;
*/
public com.google.protobuf.ByteString
getPathBytes() {
java.lang.Object ref = path_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
path_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int LANGUAGE_FIELD_NUMBER = 10;
private volatile java.lang.Object language_;
/**
* optional string language = 10;
*/
public boolean hasLanguage() {
return ((bitField0_ & 0x00000200) == 0x00000200);
}
/**
* optional string language = 10;
*/
public java.lang.String getLanguage() {
java.lang.Object ref = language_;
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 (bs.isValidUtf8()) {
language_ = s;
}
return s;
}
}
/**
* optional string language = 10;
*/
public com.google.protobuf.ByteString
getLanguageBytes() {
java.lang.Object ref = language_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
language_ = 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 (((bitField0_ & 0x00000001) == 0x00000001)) {
com.google.protobuf.GeneratedMessage.writeString(output, 1, id_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
com.google.protobuf.GeneratedMessage.writeString(output, 2, key_);
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
com.google.protobuf.GeneratedMessage.writeString(output, 3, refId_);
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
com.google.protobuf.GeneratedMessage.writeString(output, 4, refKey_);
}
if (((bitField0_ & 0x00000010) == 0x00000010)) {
com.google.protobuf.GeneratedMessage.writeString(output, 5, projectId_);
}
if (((bitField0_ & 0x00000020) == 0x00000020)) {
com.google.protobuf.GeneratedMessage.writeString(output, 6, name_);
}
if (((bitField0_ & 0x00000040) == 0x00000040)) {
com.google.protobuf.GeneratedMessage.writeString(output, 7, description_);
}
if (((bitField0_ & 0x00000080) == 0x00000080)) {
com.google.protobuf.GeneratedMessage.writeString(output, 8, qualifier_);
}
if (((bitField0_ & 0x00000100) == 0x00000100)) {
com.google.protobuf.GeneratedMessage.writeString(output, 9, path_);
}
if (((bitField0_ & 0x00000200) == 0x00000200)) {
com.google.protobuf.GeneratedMessage.writeString(output, 10, language_);
}
unknownFields.writeTo(output);
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += com.google.protobuf.GeneratedMessage.computeStringSize(1, id_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.GeneratedMessage.computeStringSize(2, key_);
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
size += com.google.protobuf.GeneratedMessage.computeStringSize(3, refId_);
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
size += com.google.protobuf.GeneratedMessage.computeStringSize(4, refKey_);
}
if (((bitField0_ & 0x00000010) == 0x00000010)) {
size += com.google.protobuf.GeneratedMessage.computeStringSize(5, projectId_);
}
if (((bitField0_ & 0x00000020) == 0x00000020)) {
size += com.google.protobuf.GeneratedMessage.computeStringSize(6, name_);
}
if (((bitField0_ & 0x00000040) == 0x00000040)) {
size += com.google.protobuf.GeneratedMessage.computeStringSize(7, description_);
}
if (((bitField0_ & 0x00000080) == 0x00000080)) {
size += com.google.protobuf.GeneratedMessage.computeStringSize(8, qualifier_);
}
if (((bitField0_ & 0x00000100) == 0x00000100)) {
size += com.google.protobuf.GeneratedMessage.computeStringSize(9, path_);
}
if (((bitField0_ & 0x00000200) == 0x00000200)) {
size += com.google.protobuf.GeneratedMessage.computeStringSize(10, language_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
public static org.sonarqube.ws.WsComponents.Component parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.sonarqube.ws.WsComponents.Component parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.sonarqube.ws.WsComponents.Component parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.sonarqube.ws.WsComponents.Component parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.sonarqube.ws.WsComponents.Component parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.sonarqube.ws.WsComponents.Component parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static org.sonarqube.ws.WsComponents.Component parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static org.sonarqube.ws.WsComponents.Component parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static org.sonarqube.ws.WsComponents.Component parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.sonarqube.ws.WsComponents.Component 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.sonarqube.ws.WsComponents.Component 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 sonarqube.ws.component.Component}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:sonarqube.ws.component.Component)
org.sonarqube.ws.WsComponents.ComponentOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.sonarqube.ws.WsComponents.internal_static_sonarqube_ws_component_Component_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.sonarqube.ws.WsComponents.internal_static_sonarqube_ws_component_Component_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.sonarqube.ws.WsComponents.Component.class, org.sonarqube.ws.WsComponents.Component.Builder.class);
}
// Construct using org.sonarqube.ws.WsComponents.Component.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();
id_ = "";
bitField0_ = (bitField0_ & ~0x00000001);
key_ = "";
bitField0_ = (bitField0_ & ~0x00000002);
refId_ = "";
bitField0_ = (bitField0_ & ~0x00000004);
refKey_ = "";
bitField0_ = (bitField0_ & ~0x00000008);
projectId_ = "";
bitField0_ = (bitField0_ & ~0x00000010);
name_ = "";
bitField0_ = (bitField0_ & ~0x00000020);
description_ = "";
bitField0_ = (bitField0_ & ~0x00000040);
qualifier_ = "";
bitField0_ = (bitField0_ & ~0x00000080);
path_ = "";
bitField0_ = (bitField0_ & ~0x00000100);
language_ = "";
bitField0_ = (bitField0_ & ~0x00000200);
return this;
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.sonarqube.ws.WsComponents.internal_static_sonarqube_ws_component_Component_descriptor;
}
public org.sonarqube.ws.WsComponents.Component getDefaultInstanceForType() {
return org.sonarqube.ws.WsComponents.Component.getDefaultInstance();
}
public org.sonarqube.ws.WsComponents.Component build() {
org.sonarqube.ws.WsComponents.Component result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public org.sonarqube.ws.WsComponents.Component buildPartial() {
org.sonarqube.ws.WsComponents.Component result = new org.sonarqube.ws.WsComponents.Component(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.id_ = id_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
result.key_ = key_;
if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
to_bitField0_ |= 0x00000004;
}
result.refId_ = refId_;
if (((from_bitField0_ & 0x00000008) == 0x00000008)) {
to_bitField0_ |= 0x00000008;
}
result.refKey_ = refKey_;
if (((from_bitField0_ & 0x00000010) == 0x00000010)) {
to_bitField0_ |= 0x00000010;
}
result.projectId_ = projectId_;
if (((from_bitField0_ & 0x00000020) == 0x00000020)) {
to_bitField0_ |= 0x00000020;
}
result.name_ = name_;
if (((from_bitField0_ & 0x00000040) == 0x00000040)) {
to_bitField0_ |= 0x00000040;
}
result.description_ = description_;
if (((from_bitField0_ & 0x00000080) == 0x00000080)) {
to_bitField0_ |= 0x00000080;
}
result.qualifier_ = qualifier_;
if (((from_bitField0_ & 0x00000100) == 0x00000100)) {
to_bitField0_ |= 0x00000100;
}
result.path_ = path_;
if (((from_bitField0_ & 0x00000200) == 0x00000200)) {
to_bitField0_ |= 0x00000200;
}
result.language_ = language_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.sonarqube.ws.WsComponents.Component) {
return mergeFrom((org.sonarqube.ws.WsComponents.Component)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.sonarqube.ws.WsComponents.Component other) {
if (other == org.sonarqube.ws.WsComponents.Component.getDefaultInstance()) return this;
if (other.hasId()) {
bitField0_ |= 0x00000001;
id_ = other.id_;
onChanged();
}
if (other.hasKey()) {
bitField0_ |= 0x00000002;
key_ = other.key_;
onChanged();
}
if (other.hasRefId()) {
bitField0_ |= 0x00000004;
refId_ = other.refId_;
onChanged();
}
if (other.hasRefKey()) {
bitField0_ |= 0x00000008;
refKey_ = other.refKey_;
onChanged();
}
if (other.hasProjectId()) {
bitField0_ |= 0x00000010;
projectId_ = other.projectId_;
onChanged();
}
if (other.hasName()) {
bitField0_ |= 0x00000020;
name_ = other.name_;
onChanged();
}
if (other.hasDescription()) {
bitField0_ |= 0x00000040;
description_ = other.description_;
onChanged();
}
if (other.hasQualifier()) {
bitField0_ |= 0x00000080;
qualifier_ = other.qualifier_;
onChanged();
}
if (other.hasPath()) {
bitField0_ |= 0x00000100;
path_ = other.path_;
onChanged();
}
if (other.hasLanguage()) {
bitField0_ |= 0x00000200;
language_ = other.language_;
onChanged();
}
this.mergeUnknownFields(other.unknownFields);
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.sonarqube.ws.WsComponents.Component parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.sonarqube.ws.WsComponents.Component) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.lang.Object id_ = "";
/**
* optional string id = 1;
*/
public boolean hasId() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional string id = 1;
*/
public java.lang.String getId() {
java.lang.Object ref = id_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
id_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string id = 1;
*/
public com.google.protobuf.ByteString
getIdBytes() {
java.lang.Object ref = id_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
id_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string id = 1;
*/
public Builder setId(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
id_ = value;
onChanged();
return this;
}
/**
* optional string id = 1;
*/
public Builder clearId() {
bitField0_ = (bitField0_ & ~0x00000001);
id_ = getDefaultInstance().getId();
onChanged();
return this;
}
/**
* optional string id = 1;
*/
public Builder setIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
id_ = value;
onChanged();
return this;
}
private java.lang.Object key_ = "";
/**
* optional string key = 2;
*/
public boolean hasKey() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional string key = 2;
*/
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();
if (bs.isValidUtf8()) {
key_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string key = 2;
*/
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 = 2;
*/
public Builder setKey(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000002;
key_ = value;
onChanged();
return this;
}
/**
* optional string key = 2;
*/
public Builder clearKey() {
bitField0_ = (bitField0_ & ~0x00000002);
key_ = getDefaultInstance().getKey();
onChanged();
return this;
}
/**
* optional string key = 2;
*/
public Builder setKeyBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000002;
key_ = value;
onChanged();
return this;
}
private java.lang.Object refId_ = "";
/**
* optional string refId = 3;
*/
public boolean hasRefId() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional string refId = 3;
*/
public java.lang.String getRefId() {
java.lang.Object ref = refId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
refId_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string refId = 3;
*/
public com.google.protobuf.ByteString
getRefIdBytes() {
java.lang.Object ref = refId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
refId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string refId = 3;
*/
public Builder setRefId(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000004;
refId_ = value;
onChanged();
return this;
}
/**
* optional string refId = 3;
*/
public Builder clearRefId() {
bitField0_ = (bitField0_ & ~0x00000004);
refId_ = getDefaultInstance().getRefId();
onChanged();
return this;
}
/**
* optional string refId = 3;
*/
public Builder setRefIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000004;
refId_ = value;
onChanged();
return this;
}
private java.lang.Object refKey_ = "";
/**
* optional string refKey = 4;
*/
public boolean hasRefKey() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
* optional string refKey = 4;
*/
public java.lang.String getRefKey() {
java.lang.Object ref = refKey_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
refKey_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string refKey = 4;
*/
public com.google.protobuf.ByteString
getRefKeyBytes() {
java.lang.Object ref = refKey_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
refKey_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string refKey = 4;
*/
public Builder setRefKey(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000008;
refKey_ = value;
onChanged();
return this;
}
/**
* optional string refKey = 4;
*/
public Builder clearRefKey() {
bitField0_ = (bitField0_ & ~0x00000008);
refKey_ = getDefaultInstance().getRefKey();
onChanged();
return this;
}
/**
* optional string refKey = 4;
*/
public Builder setRefKeyBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000008;
refKey_ = value;
onChanged();
return this;
}
private java.lang.Object projectId_ = "";
/**
* optional string projectId = 5;
*/
public boolean hasProjectId() {
return ((bitField0_ & 0x00000010) == 0x00000010);
}
/**
* optional string projectId = 5;
*/
public java.lang.String getProjectId() {
java.lang.Object ref = projectId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
projectId_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string projectId = 5;
*/
public com.google.protobuf.ByteString
getProjectIdBytes() {
java.lang.Object ref = projectId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
projectId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string projectId = 5;
*/
public Builder setProjectId(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000010;
projectId_ = value;
onChanged();
return this;
}
/**
* optional string projectId = 5;
*/
public Builder clearProjectId() {
bitField0_ = (bitField0_ & ~0x00000010);
projectId_ = getDefaultInstance().getProjectId();
onChanged();
return this;
}
/**
* optional string projectId = 5;
*/
public Builder setProjectIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000010;
projectId_ = value;
onChanged();
return this;
}
private java.lang.Object name_ = "";
/**
* optional string name = 6;
*/
public boolean hasName() {
return ((bitField0_ & 0x00000020) == 0x00000020);
}
/**
* optional string name = 6;
*/
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();
if (bs.isValidUtf8()) {
name_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string name = 6;
*/
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 = 6;
*/
public Builder setName(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000020;
name_ = value;
onChanged();
return this;
}
/**
* optional string name = 6;
*/
public Builder clearName() {
bitField0_ = (bitField0_ & ~0x00000020);
name_ = getDefaultInstance().getName();
onChanged();
return this;
}
/**
* optional string name = 6;
*/
public Builder setNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000020;
name_ = value;
onChanged();
return this;
}
private java.lang.Object description_ = "";
/**
* optional string description = 7;
*/
public boolean hasDescription() {
return ((bitField0_ & 0x00000040) == 0x00000040);
}
/**
* optional string description = 7;
*/
public java.lang.String getDescription() {
java.lang.Object ref = description_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
description_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string description = 7;
*/
public com.google.protobuf.ByteString
getDescriptionBytes() {
java.lang.Object ref = description_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
description_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string description = 7;
*/
public Builder setDescription(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000040;
description_ = value;
onChanged();
return this;
}
/**
* optional string description = 7;
*/
public Builder clearDescription() {
bitField0_ = (bitField0_ & ~0x00000040);
description_ = getDefaultInstance().getDescription();
onChanged();
return this;
}
/**
* optional string description = 7;
*/
public Builder setDescriptionBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000040;
description_ = value;
onChanged();
return this;
}
private java.lang.Object qualifier_ = "";
/**
* optional string qualifier = 8;
*/
public boolean hasQualifier() {
return ((bitField0_ & 0x00000080) == 0x00000080);
}
/**
* optional string qualifier = 8;
*/
public java.lang.String getQualifier() {
java.lang.Object ref = qualifier_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
qualifier_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string qualifier = 8;
*/
public com.google.protobuf.ByteString
getQualifierBytes() {
java.lang.Object ref = qualifier_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
qualifier_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string qualifier = 8;
*/
public Builder setQualifier(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000080;
qualifier_ = value;
onChanged();
return this;
}
/**
* optional string qualifier = 8;
*/
public Builder clearQualifier() {
bitField0_ = (bitField0_ & ~0x00000080);
qualifier_ = getDefaultInstance().getQualifier();
onChanged();
return this;
}
/**
* optional string qualifier = 8;
*/
public Builder setQualifierBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000080;
qualifier_ = value;
onChanged();
return this;
}
private java.lang.Object path_ = "";
/**
* optional string path = 9;
*/
public boolean hasPath() {
return ((bitField0_ & 0x00000100) == 0x00000100);
}
/**
* optional string path = 9;
*/
public java.lang.String getPath() {
java.lang.Object ref = path_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
path_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string path = 9;
*/
public com.google.protobuf.ByteString
getPathBytes() {
java.lang.Object ref = path_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
path_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string path = 9;
*/
public Builder setPath(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000100;
path_ = value;
onChanged();
return this;
}
/**
* optional string path = 9;
*/
public Builder clearPath() {
bitField0_ = (bitField0_ & ~0x00000100);
path_ = getDefaultInstance().getPath();
onChanged();
return this;
}
/**
* optional string path = 9;
*/
public Builder setPathBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000100;
path_ = value;
onChanged();
return this;
}
private java.lang.Object language_ = "";
/**
* optional string language = 10;
*/
public boolean hasLanguage() {
return ((bitField0_ & 0x00000200) == 0x00000200);
}
/**
* optional string language = 10;
*/
public java.lang.String getLanguage() {
java.lang.Object ref = language_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
language_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string language = 10;
*/
public com.google.protobuf.ByteString
getLanguageBytes() {
java.lang.Object ref = language_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
language_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string language = 10;
*/
public Builder setLanguage(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000200;
language_ = value;
onChanged();
return this;
}
/**
* optional string language = 10;
*/
public Builder clearLanguage() {
bitField0_ = (bitField0_ & ~0x00000200);
language_ = getDefaultInstance().getLanguage();
onChanged();
return this;
}
/**
* optional string language = 10;
*/
public Builder setLanguageBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000200;
language_ = value;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:sonarqube.ws.component.Component)
}
// @@protoc_insertion_point(class_scope:sonarqube.ws.component.Component)
private static final org.sonarqube.ws.WsComponents.Component DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.sonarqube.ws.WsComponents.Component();
}
public static org.sonarqube.ws.WsComponents.Component getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
public Component parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
try {
return new Component(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.sonarqube.ws.WsComponents.Component getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private static com.google.protobuf.Descriptors.Descriptor
internal_static_sonarqube_ws_component_SearchWsResponse_descriptor;
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_sonarqube_ws_component_SearchWsResponse_fieldAccessorTable;
private static com.google.protobuf.Descriptors.Descriptor
internal_static_sonarqube_ws_component_TreeWsResponse_descriptor;
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_sonarqube_ws_component_TreeWsResponse_fieldAccessorTable;
private static com.google.protobuf.Descriptors.Descriptor
internal_static_sonarqube_ws_component_ShowWsResponse_descriptor;
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_sonarqube_ws_component_ShowWsResponse_fieldAccessorTable;
private static com.google.protobuf.Descriptors.Descriptor
internal_static_sonarqube_ws_component_Component_descriptor;
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_sonarqube_ws_component_Component_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\023ws-components.proto\022\026sonarqube.ws.comp" +
"onent\032\020ws-commons.proto\"w\n\020SearchWsRespo" +
"nse\022,\n\006paging\030\001 \001(\0132\034.sonarqube.ws.commo" +
"ns.Paging\0225\n\ncomponents\030\002 \003(\0132!.sonarqub" +
"e.ws.component.Component\"\257\001\n\016TreeWsRespo" +
"nse\022,\n\006paging\030\001 \001(\0132\034.sonarqube.ws.commo" +
"ns.Paging\0228\n\rbaseComponent\030\003 \001(\0132!.sonar" +
"qube.ws.component.Component\0225\n\ncomponent" +
"s\030\004 \003(\0132!.sonarqube.ws.component.Compone" +
"nt\"\252\001\n\016ShowWsResponse\022,\n\006paging\030\001 \001(\0132\034.",
"sonarqube.ws.commons.Paging\0224\n\tcomponent" +
"\030\002 \001(\0132!.sonarqube.ws.component.Componen" +
"t\0224\n\tancestors\030\003 \003(\0132!.sonarqube.ws.comp" +
"onent.Component\"\254\001\n\tComponent\022\n\n\002id\030\001 \001(" +
"\t\022\013\n\003key\030\002 \001(\t\022\r\n\005refId\030\003 \001(\t\022\016\n\006refKey\030" +
"\004 \001(\t\022\021\n\tprojectId\030\005 \001(\t\022\014\n\004name\030\006 \001(\t\022\023" +
"\n\013description\030\007 \001(\t\022\021\n\tqualifier\030\010 \001(\t\022\014" +
"\n\004path\030\t \001(\t\022\020\n\010language\030\n \001(\tB\"\n\020org.so" +
"narqube.wsB\014WsComponentsH\001"
};
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[] {
org.sonarqube.ws.Common.getDescriptor(),
}, assigner);
internal_static_sonarqube_ws_component_SearchWsResponse_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_sonarqube_ws_component_SearchWsResponse_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_sonarqube_ws_component_SearchWsResponse_descriptor,
new java.lang.String[] { "Paging", "Components", });
internal_static_sonarqube_ws_component_TreeWsResponse_descriptor =
getDescriptor().getMessageTypes().get(1);
internal_static_sonarqube_ws_component_TreeWsResponse_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_sonarqube_ws_component_TreeWsResponse_descriptor,
new java.lang.String[] { "Paging", "BaseComponent", "Components", });
internal_static_sonarqube_ws_component_ShowWsResponse_descriptor =
getDescriptor().getMessageTypes().get(2);
internal_static_sonarqube_ws_component_ShowWsResponse_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_sonarqube_ws_component_ShowWsResponse_descriptor,
new java.lang.String[] { "Paging", "Component", "Ancestors", });
internal_static_sonarqube_ws_component_Component_descriptor =
getDescriptor().getMessageTypes().get(3);
internal_static_sonarqube_ws_component_Component_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_sonarqube_ws_component_Component_descriptor,
new java.lang.String[] { "Id", "Key", "RefId", "RefKey", "ProjectId", "Name", "Description", "Qualifier", "Path", "Language", });
org.sonarqube.ws.Common.getDescriptor();
}
// @@protoc_insertion_point(outer_class_scope)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy