
org.sonarqube.ws.WsUsers 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-users.proto
package org.sonarqube.ws;
public final class WsUsers {
private WsUsers() {}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistry registry) {
}
public interface IdentityProvidersWsResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:sonarqube.ws.users.IdentityProvidersWsResponse)
com.google.protobuf.MessageOrBuilder {
/**
* repeated .sonarqube.ws.users.IdentityProvider identityProviders = 1;
*/
java.util.List
getIdentityProvidersList();
/**
* repeated .sonarqube.ws.users.IdentityProvider identityProviders = 1;
*/
org.sonarqube.ws.WsUsers.IdentityProvider getIdentityProviders(int index);
/**
* repeated .sonarqube.ws.users.IdentityProvider identityProviders = 1;
*/
int getIdentityProvidersCount();
/**
* repeated .sonarqube.ws.users.IdentityProvider identityProviders = 1;
*/
java.util.List extends org.sonarqube.ws.WsUsers.IdentityProviderOrBuilder>
getIdentityProvidersOrBuilderList();
/**
* repeated .sonarqube.ws.users.IdentityProvider identityProviders = 1;
*/
org.sonarqube.ws.WsUsers.IdentityProviderOrBuilder getIdentityProvidersOrBuilder(
int index);
}
/**
* Protobuf type {@code sonarqube.ws.users.IdentityProvidersWsResponse}
*
*
* WS api/users/identity_providers
*
*/
public static final class IdentityProvidersWsResponse extends
com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:sonarqube.ws.users.IdentityProvidersWsResponse)
IdentityProvidersWsResponseOrBuilder {
// Use IdentityProvidersWsResponse.newBuilder() to construct.
private IdentityProvidersWsResponse(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
private IdentityProvidersWsResponse() {
identityProviders_ = java.util.Collections.emptyList();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private IdentityProvidersWsResponse(
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: {
if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
identityProviders_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000001;
}
identityProviders_.add(input.readMessage(org.sonarqube.ws.WsUsers.IdentityProvider.parser(), extensionRegistry));
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw new RuntimeException(e.setUnfinishedMessage(this));
} catch (java.io.IOException e) {
throw new RuntimeException(
new com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this));
} finally {
if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
identityProviders_ = java.util.Collections.unmodifiableList(identityProviders_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.sonarqube.ws.WsUsers.internal_static_sonarqube_ws_users_IdentityProvidersWsResponse_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.sonarqube.ws.WsUsers.internal_static_sonarqube_ws_users_IdentityProvidersWsResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.sonarqube.ws.WsUsers.IdentityProvidersWsResponse.class, org.sonarqube.ws.WsUsers.IdentityProvidersWsResponse.Builder.class);
}
public static final int IDENTITYPROVIDERS_FIELD_NUMBER = 1;
private java.util.List identityProviders_;
/**
* repeated .sonarqube.ws.users.IdentityProvider identityProviders = 1;
*/
public java.util.List getIdentityProvidersList() {
return identityProviders_;
}
/**
* repeated .sonarqube.ws.users.IdentityProvider identityProviders = 1;
*/
public java.util.List extends org.sonarqube.ws.WsUsers.IdentityProviderOrBuilder>
getIdentityProvidersOrBuilderList() {
return identityProviders_;
}
/**
* repeated .sonarqube.ws.users.IdentityProvider identityProviders = 1;
*/
public int getIdentityProvidersCount() {
return identityProviders_.size();
}
/**
* repeated .sonarqube.ws.users.IdentityProvider identityProviders = 1;
*/
public org.sonarqube.ws.WsUsers.IdentityProvider getIdentityProviders(int index) {
return identityProviders_.get(index);
}
/**
* repeated .sonarqube.ws.users.IdentityProvider identityProviders = 1;
*/
public org.sonarqube.ws.WsUsers.IdentityProviderOrBuilder getIdentityProvidersOrBuilder(
int index) {
return identityProviders_.get(index);
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
for (int i = 0; i < identityProviders_.size(); i++) {
output.writeMessage(1, identityProviders_.get(i));
}
unknownFields.writeTo(output);
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
for (int i = 0; i < identityProviders_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, identityProviders_.get(i));
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
public static org.sonarqube.ws.WsUsers.IdentityProvidersWsResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.sonarqube.ws.WsUsers.IdentityProvidersWsResponse 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.WsUsers.IdentityProvidersWsResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.sonarqube.ws.WsUsers.IdentityProvidersWsResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.sonarqube.ws.WsUsers.IdentityProvidersWsResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.sonarqube.ws.WsUsers.IdentityProvidersWsResponse parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static org.sonarqube.ws.WsUsers.IdentityProvidersWsResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static org.sonarqube.ws.WsUsers.IdentityProvidersWsResponse parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static org.sonarqube.ws.WsUsers.IdentityProvidersWsResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.sonarqube.ws.WsUsers.IdentityProvidersWsResponse 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.WsUsers.IdentityProvidersWsResponse 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.users.IdentityProvidersWsResponse}
*
*
* WS api/users/identity_providers
*
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:sonarqube.ws.users.IdentityProvidersWsResponse)
org.sonarqube.ws.WsUsers.IdentityProvidersWsResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.sonarqube.ws.WsUsers.internal_static_sonarqube_ws_users_IdentityProvidersWsResponse_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.sonarqube.ws.WsUsers.internal_static_sonarqube_ws_users_IdentityProvidersWsResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.sonarqube.ws.WsUsers.IdentityProvidersWsResponse.class, org.sonarqube.ws.WsUsers.IdentityProvidersWsResponse.Builder.class);
}
// Construct using org.sonarqube.ws.WsUsers.IdentityProvidersWsResponse.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
getIdentityProvidersFieldBuilder();
}
}
public Builder clear() {
super.clear();
if (identityProvidersBuilder_ == null) {
identityProviders_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
} else {
identityProvidersBuilder_.clear();
}
return this;
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.sonarqube.ws.WsUsers.internal_static_sonarqube_ws_users_IdentityProvidersWsResponse_descriptor;
}
public org.sonarqube.ws.WsUsers.IdentityProvidersWsResponse getDefaultInstanceForType() {
return org.sonarqube.ws.WsUsers.IdentityProvidersWsResponse.getDefaultInstance();
}
public org.sonarqube.ws.WsUsers.IdentityProvidersWsResponse build() {
org.sonarqube.ws.WsUsers.IdentityProvidersWsResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public org.sonarqube.ws.WsUsers.IdentityProvidersWsResponse buildPartial() {
org.sonarqube.ws.WsUsers.IdentityProvidersWsResponse result = new org.sonarqube.ws.WsUsers.IdentityProvidersWsResponse(this);
int from_bitField0_ = bitField0_;
if (identityProvidersBuilder_ == null) {
if (((bitField0_ & 0x00000001) == 0x00000001)) {
identityProviders_ = java.util.Collections.unmodifiableList(identityProviders_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.identityProviders_ = identityProviders_;
} else {
result.identityProviders_ = identityProvidersBuilder_.build();
}
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.sonarqube.ws.WsUsers.IdentityProvidersWsResponse) {
return mergeFrom((org.sonarqube.ws.WsUsers.IdentityProvidersWsResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.sonarqube.ws.WsUsers.IdentityProvidersWsResponse other) {
if (other == org.sonarqube.ws.WsUsers.IdentityProvidersWsResponse.getDefaultInstance()) return this;
if (identityProvidersBuilder_ == null) {
if (!other.identityProviders_.isEmpty()) {
if (identityProviders_.isEmpty()) {
identityProviders_ = other.identityProviders_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureIdentityProvidersIsMutable();
identityProviders_.addAll(other.identityProviders_);
}
onChanged();
}
} else {
if (!other.identityProviders_.isEmpty()) {
if (identityProvidersBuilder_.isEmpty()) {
identityProvidersBuilder_.dispose();
identityProvidersBuilder_ = null;
identityProviders_ = other.identityProviders_;
bitField0_ = (bitField0_ & ~0x00000001);
identityProvidersBuilder_ =
com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
getIdentityProvidersFieldBuilder() : null;
} else {
identityProvidersBuilder_.addAllMessages(other.identityProviders_);
}
}
}
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.WsUsers.IdentityProvidersWsResponse parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.sonarqube.ws.WsUsers.IdentityProvidersWsResponse) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.util.List identityProviders_ =
java.util.Collections.emptyList();
private void ensureIdentityProvidersIsMutable() {
if (!((bitField0_ & 0x00000001) == 0x00000001)) {
identityProviders_ = new java.util.ArrayList(identityProviders_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilder<
org.sonarqube.ws.WsUsers.IdentityProvider, org.sonarqube.ws.WsUsers.IdentityProvider.Builder, org.sonarqube.ws.WsUsers.IdentityProviderOrBuilder> identityProvidersBuilder_;
/**
* repeated .sonarqube.ws.users.IdentityProvider identityProviders = 1;
*/
public java.util.List getIdentityProvidersList() {
if (identityProvidersBuilder_ == null) {
return java.util.Collections.unmodifiableList(identityProviders_);
} else {
return identityProvidersBuilder_.getMessageList();
}
}
/**
* repeated .sonarqube.ws.users.IdentityProvider identityProviders = 1;
*/
public int getIdentityProvidersCount() {
if (identityProvidersBuilder_ == null) {
return identityProviders_.size();
} else {
return identityProvidersBuilder_.getCount();
}
}
/**
* repeated .sonarqube.ws.users.IdentityProvider identityProviders = 1;
*/
public org.sonarqube.ws.WsUsers.IdentityProvider getIdentityProviders(int index) {
if (identityProvidersBuilder_ == null) {
return identityProviders_.get(index);
} else {
return identityProvidersBuilder_.getMessage(index);
}
}
/**
* repeated .sonarqube.ws.users.IdentityProvider identityProviders = 1;
*/
public Builder setIdentityProviders(
int index, org.sonarqube.ws.WsUsers.IdentityProvider value) {
if (identityProvidersBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureIdentityProvidersIsMutable();
identityProviders_.set(index, value);
onChanged();
} else {
identityProvidersBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .sonarqube.ws.users.IdentityProvider identityProviders = 1;
*/
public Builder setIdentityProviders(
int index, org.sonarqube.ws.WsUsers.IdentityProvider.Builder builderForValue) {
if (identityProvidersBuilder_ == null) {
ensureIdentityProvidersIsMutable();
identityProviders_.set(index, builderForValue.build());
onChanged();
} else {
identityProvidersBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .sonarqube.ws.users.IdentityProvider identityProviders = 1;
*/
public Builder addIdentityProviders(org.sonarqube.ws.WsUsers.IdentityProvider value) {
if (identityProvidersBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureIdentityProvidersIsMutable();
identityProviders_.add(value);
onChanged();
} else {
identityProvidersBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .sonarqube.ws.users.IdentityProvider identityProviders = 1;
*/
public Builder addIdentityProviders(
int index, org.sonarqube.ws.WsUsers.IdentityProvider value) {
if (identityProvidersBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureIdentityProvidersIsMutable();
identityProviders_.add(index, value);
onChanged();
} else {
identityProvidersBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .sonarqube.ws.users.IdentityProvider identityProviders = 1;
*/
public Builder addIdentityProviders(
org.sonarqube.ws.WsUsers.IdentityProvider.Builder builderForValue) {
if (identityProvidersBuilder_ == null) {
ensureIdentityProvidersIsMutable();
identityProviders_.add(builderForValue.build());
onChanged();
} else {
identityProvidersBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .sonarqube.ws.users.IdentityProvider identityProviders = 1;
*/
public Builder addIdentityProviders(
int index, org.sonarqube.ws.WsUsers.IdentityProvider.Builder builderForValue) {
if (identityProvidersBuilder_ == null) {
ensureIdentityProvidersIsMutable();
identityProviders_.add(index, builderForValue.build());
onChanged();
} else {
identityProvidersBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .sonarqube.ws.users.IdentityProvider identityProviders = 1;
*/
public Builder addAllIdentityProviders(
java.lang.Iterable extends org.sonarqube.ws.WsUsers.IdentityProvider> values) {
if (identityProvidersBuilder_ == null) {
ensureIdentityProvidersIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, identityProviders_);
onChanged();
} else {
identityProvidersBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .sonarqube.ws.users.IdentityProvider identityProviders = 1;
*/
public Builder clearIdentityProviders() {
if (identityProvidersBuilder_ == null) {
identityProviders_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
identityProvidersBuilder_.clear();
}
return this;
}
/**
* repeated .sonarqube.ws.users.IdentityProvider identityProviders = 1;
*/
public Builder removeIdentityProviders(int index) {
if (identityProvidersBuilder_ == null) {
ensureIdentityProvidersIsMutable();
identityProviders_.remove(index);
onChanged();
} else {
identityProvidersBuilder_.remove(index);
}
return this;
}
/**
* repeated .sonarqube.ws.users.IdentityProvider identityProviders = 1;
*/
public org.sonarqube.ws.WsUsers.IdentityProvider.Builder getIdentityProvidersBuilder(
int index) {
return getIdentityProvidersFieldBuilder().getBuilder(index);
}
/**
* repeated .sonarqube.ws.users.IdentityProvider identityProviders = 1;
*/
public org.sonarqube.ws.WsUsers.IdentityProviderOrBuilder getIdentityProvidersOrBuilder(
int index) {
if (identityProvidersBuilder_ == null) {
return identityProviders_.get(index); } else {
return identityProvidersBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .sonarqube.ws.users.IdentityProvider identityProviders = 1;
*/
public java.util.List extends org.sonarqube.ws.WsUsers.IdentityProviderOrBuilder>
getIdentityProvidersOrBuilderList() {
if (identityProvidersBuilder_ != null) {
return identityProvidersBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(identityProviders_);
}
}
/**
* repeated .sonarqube.ws.users.IdentityProvider identityProviders = 1;
*/
public org.sonarqube.ws.WsUsers.IdentityProvider.Builder addIdentityProvidersBuilder() {
return getIdentityProvidersFieldBuilder().addBuilder(
org.sonarqube.ws.WsUsers.IdentityProvider.getDefaultInstance());
}
/**
* repeated .sonarqube.ws.users.IdentityProvider identityProviders = 1;
*/
public org.sonarqube.ws.WsUsers.IdentityProvider.Builder addIdentityProvidersBuilder(
int index) {
return getIdentityProvidersFieldBuilder().addBuilder(
index, org.sonarqube.ws.WsUsers.IdentityProvider.getDefaultInstance());
}
/**
* repeated .sonarqube.ws.users.IdentityProvider identityProviders = 1;
*/
public java.util.List
getIdentityProvidersBuilderList() {
return getIdentityProvidersFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilder<
org.sonarqube.ws.WsUsers.IdentityProvider, org.sonarqube.ws.WsUsers.IdentityProvider.Builder, org.sonarqube.ws.WsUsers.IdentityProviderOrBuilder>
getIdentityProvidersFieldBuilder() {
if (identityProvidersBuilder_ == null) {
identityProvidersBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
org.sonarqube.ws.WsUsers.IdentityProvider, org.sonarqube.ws.WsUsers.IdentityProvider.Builder, org.sonarqube.ws.WsUsers.IdentityProviderOrBuilder>(
identityProviders_,
((bitField0_ & 0x00000001) == 0x00000001),
getParentForChildren(),
isClean());
identityProviders_ = null;
}
return identityProvidersBuilder_;
}
// @@protoc_insertion_point(builder_scope:sonarqube.ws.users.IdentityProvidersWsResponse)
}
// @@protoc_insertion_point(class_scope:sonarqube.ws.users.IdentityProvidersWsResponse)
private static final org.sonarqube.ws.WsUsers.IdentityProvidersWsResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.sonarqube.ws.WsUsers.IdentityProvidersWsResponse();
}
public static org.sonarqube.ws.WsUsers.IdentityProvidersWsResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
public IdentityProvidersWsResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
try {
return new IdentityProvidersWsResponse(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.WsUsers.IdentityProvidersWsResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface IdentityProviderOrBuilder extends
// @@protoc_insertion_point(interface_extends:sonarqube.ws.users.IdentityProvider)
com.google.protobuf.MessageOrBuilder {
/**
* optional string key = 1;
*/
boolean hasKey();
/**
* optional string key = 1;
*/
java.lang.String getKey();
/**
* optional string key = 1;
*/
com.google.protobuf.ByteString
getKeyBytes();
/**
* optional string name = 2;
*/
boolean hasName();
/**
* optional string name = 2;
*/
java.lang.String getName();
/**
* optional string name = 2;
*/
com.google.protobuf.ByteString
getNameBytes();
/**
* optional string iconPath = 3;
*/
boolean hasIconPath();
/**
* optional string iconPath = 3;
*/
java.lang.String getIconPath();
/**
* optional string iconPath = 3;
*/
com.google.protobuf.ByteString
getIconPathBytes();
/**
* optional string backgroundColor = 4;
*/
boolean hasBackgroundColor();
/**
* optional string backgroundColor = 4;
*/
java.lang.String getBackgroundColor();
/**
* optional string backgroundColor = 4;
*/
com.google.protobuf.ByteString
getBackgroundColorBytes();
}
/**
* Protobuf type {@code sonarqube.ws.users.IdentityProvider}
*/
public static final class IdentityProvider extends
com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:sonarqube.ws.users.IdentityProvider)
IdentityProviderOrBuilder {
// Use IdentityProvider.newBuilder() to construct.
private IdentityProvider(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
private IdentityProvider() {
key_ = "";
name_ = "";
iconPath_ = "";
backgroundColor_ = "";
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private IdentityProvider(
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;
key_ = bs;
break;
}
case 18: {
com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000002;
name_ = bs;
break;
}
case 26: {
com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000004;
iconPath_ = bs;
break;
}
case 34: {
com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000008;
backgroundColor_ = 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.WsUsers.internal_static_sonarqube_ws_users_IdentityProvider_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.sonarqube.ws.WsUsers.internal_static_sonarqube_ws_users_IdentityProvider_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.sonarqube.ws.WsUsers.IdentityProvider.class, org.sonarqube.ws.WsUsers.IdentityProvider.Builder.class);
}
private int bitField0_;
public static final int KEY_FIELD_NUMBER = 1;
private volatile java.lang.Object key_;
/**
* optional string key = 1;
*/
public boolean hasKey() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional string key = 1;
*/
public java.lang.String getKey() {
java.lang.Object ref = key_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
key_ = s;
}
return s;
}
}
/**
* optional string key = 1;
*/
public com.google.protobuf.ByteString
getKeyBytes() {
java.lang.Object ref = key_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
key_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int NAME_FIELD_NUMBER = 2;
private volatile java.lang.Object name_;
/**
* optional string name = 2;
*/
public boolean hasName() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional string name = 2;
*/
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 = 2;
*/
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 ICONPATH_FIELD_NUMBER = 3;
private volatile java.lang.Object iconPath_;
/**
* optional string iconPath = 3;
*/
public boolean hasIconPath() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional string iconPath = 3;
*/
public java.lang.String getIconPath() {
java.lang.Object ref = iconPath_;
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()) {
iconPath_ = s;
}
return s;
}
}
/**
* optional string iconPath = 3;
*/
public com.google.protobuf.ByteString
getIconPathBytes() {
java.lang.Object ref = iconPath_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
iconPath_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int BACKGROUNDCOLOR_FIELD_NUMBER = 4;
private volatile java.lang.Object backgroundColor_;
/**
* optional string backgroundColor = 4;
*/
public boolean hasBackgroundColor() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
* optional string backgroundColor = 4;
*/
public java.lang.String getBackgroundColor() {
java.lang.Object ref = backgroundColor_;
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()) {
backgroundColor_ = s;
}
return s;
}
}
/**
* optional string backgroundColor = 4;
*/
public com.google.protobuf.ByteString
getBackgroundColorBytes() {
java.lang.Object ref = backgroundColor_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
backgroundColor_ = 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, key_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
com.google.protobuf.GeneratedMessage.writeString(output, 2, name_);
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
com.google.protobuf.GeneratedMessage.writeString(output, 3, iconPath_);
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
com.google.protobuf.GeneratedMessage.writeString(output, 4, backgroundColor_);
}
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, key_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.GeneratedMessage.computeStringSize(2, name_);
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
size += com.google.protobuf.GeneratedMessage.computeStringSize(3, iconPath_);
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
size += com.google.protobuf.GeneratedMessage.computeStringSize(4, backgroundColor_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
public static org.sonarqube.ws.WsUsers.IdentityProvider parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.sonarqube.ws.WsUsers.IdentityProvider 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.WsUsers.IdentityProvider parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.sonarqube.ws.WsUsers.IdentityProvider parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.sonarqube.ws.WsUsers.IdentityProvider parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.sonarqube.ws.WsUsers.IdentityProvider parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static org.sonarqube.ws.WsUsers.IdentityProvider parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static org.sonarqube.ws.WsUsers.IdentityProvider parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static org.sonarqube.ws.WsUsers.IdentityProvider parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.sonarqube.ws.WsUsers.IdentityProvider 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.WsUsers.IdentityProvider 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.users.IdentityProvider}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:sonarqube.ws.users.IdentityProvider)
org.sonarqube.ws.WsUsers.IdentityProviderOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.sonarqube.ws.WsUsers.internal_static_sonarqube_ws_users_IdentityProvider_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.sonarqube.ws.WsUsers.internal_static_sonarqube_ws_users_IdentityProvider_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.sonarqube.ws.WsUsers.IdentityProvider.class, org.sonarqube.ws.WsUsers.IdentityProvider.Builder.class);
}
// Construct using org.sonarqube.ws.WsUsers.IdentityProvider.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
}
}
public Builder clear() {
super.clear();
key_ = "";
bitField0_ = (bitField0_ & ~0x00000001);
name_ = "";
bitField0_ = (bitField0_ & ~0x00000002);
iconPath_ = "";
bitField0_ = (bitField0_ & ~0x00000004);
backgroundColor_ = "";
bitField0_ = (bitField0_ & ~0x00000008);
return this;
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.sonarqube.ws.WsUsers.internal_static_sonarqube_ws_users_IdentityProvider_descriptor;
}
public org.sonarqube.ws.WsUsers.IdentityProvider getDefaultInstanceForType() {
return org.sonarqube.ws.WsUsers.IdentityProvider.getDefaultInstance();
}
public org.sonarqube.ws.WsUsers.IdentityProvider build() {
org.sonarqube.ws.WsUsers.IdentityProvider result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public org.sonarqube.ws.WsUsers.IdentityProvider buildPartial() {
org.sonarqube.ws.WsUsers.IdentityProvider result = new org.sonarqube.ws.WsUsers.IdentityProvider(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.key_ = key_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
result.name_ = name_;
if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
to_bitField0_ |= 0x00000004;
}
result.iconPath_ = iconPath_;
if (((from_bitField0_ & 0x00000008) == 0x00000008)) {
to_bitField0_ |= 0x00000008;
}
result.backgroundColor_ = backgroundColor_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.sonarqube.ws.WsUsers.IdentityProvider) {
return mergeFrom((org.sonarqube.ws.WsUsers.IdentityProvider)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.sonarqube.ws.WsUsers.IdentityProvider other) {
if (other == org.sonarqube.ws.WsUsers.IdentityProvider.getDefaultInstance()) return this;
if (other.hasKey()) {
bitField0_ |= 0x00000001;
key_ = other.key_;
onChanged();
}
if (other.hasName()) {
bitField0_ |= 0x00000002;
name_ = other.name_;
onChanged();
}
if (other.hasIconPath()) {
bitField0_ |= 0x00000004;
iconPath_ = other.iconPath_;
onChanged();
}
if (other.hasBackgroundColor()) {
bitField0_ |= 0x00000008;
backgroundColor_ = other.backgroundColor_;
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.WsUsers.IdentityProvider parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.sonarqube.ws.WsUsers.IdentityProvider) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.lang.Object key_ = "";
/**
* optional string key = 1;
*/
public boolean hasKey() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional string key = 1;
*/
public java.lang.String getKey() {
java.lang.Object ref = key_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
key_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string key = 1;
*/
public com.google.protobuf.ByteString
getKeyBytes() {
java.lang.Object ref = key_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
key_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string key = 1;
*/
public Builder setKey(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
key_ = value;
onChanged();
return this;
}
/**
* optional string key = 1;
*/
public Builder clearKey() {
bitField0_ = (bitField0_ & ~0x00000001);
key_ = getDefaultInstance().getKey();
onChanged();
return this;
}
/**
* optional string key = 1;
*/
public Builder setKeyBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
key_ = value;
onChanged();
return this;
}
private java.lang.Object name_ = "";
/**
* optional string name = 2;
*/
public boolean hasName() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional string name = 2;
*/
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 = 2;
*/
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 = 2;
*/
public Builder setName(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000002;
name_ = value;
onChanged();
return this;
}
/**
* optional string name = 2;
*/
public Builder clearName() {
bitField0_ = (bitField0_ & ~0x00000002);
name_ = getDefaultInstance().getName();
onChanged();
return this;
}
/**
* optional string name = 2;
*/
public Builder setNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000002;
name_ = value;
onChanged();
return this;
}
private java.lang.Object iconPath_ = "";
/**
* optional string iconPath = 3;
*/
public boolean hasIconPath() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional string iconPath = 3;
*/
public java.lang.String getIconPath() {
java.lang.Object ref = iconPath_;
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()) {
iconPath_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string iconPath = 3;
*/
public com.google.protobuf.ByteString
getIconPathBytes() {
java.lang.Object ref = iconPath_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
iconPath_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string iconPath = 3;
*/
public Builder setIconPath(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000004;
iconPath_ = value;
onChanged();
return this;
}
/**
* optional string iconPath = 3;
*/
public Builder clearIconPath() {
bitField0_ = (bitField0_ & ~0x00000004);
iconPath_ = getDefaultInstance().getIconPath();
onChanged();
return this;
}
/**
* optional string iconPath = 3;
*/
public Builder setIconPathBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000004;
iconPath_ = value;
onChanged();
return this;
}
private java.lang.Object backgroundColor_ = "";
/**
* optional string backgroundColor = 4;
*/
public boolean hasBackgroundColor() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
* optional string backgroundColor = 4;
*/
public java.lang.String getBackgroundColor() {
java.lang.Object ref = backgroundColor_;
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()) {
backgroundColor_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string backgroundColor = 4;
*/
public com.google.protobuf.ByteString
getBackgroundColorBytes() {
java.lang.Object ref = backgroundColor_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
backgroundColor_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string backgroundColor = 4;
*/
public Builder setBackgroundColor(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000008;
backgroundColor_ = value;
onChanged();
return this;
}
/**
* optional string backgroundColor = 4;
*/
public Builder clearBackgroundColor() {
bitField0_ = (bitField0_ & ~0x00000008);
backgroundColor_ = getDefaultInstance().getBackgroundColor();
onChanged();
return this;
}
/**
* optional string backgroundColor = 4;
*/
public Builder setBackgroundColorBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000008;
backgroundColor_ = value;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:sonarqube.ws.users.IdentityProvider)
}
// @@protoc_insertion_point(class_scope:sonarqube.ws.users.IdentityProvider)
private static final org.sonarqube.ws.WsUsers.IdentityProvider DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.sonarqube.ws.WsUsers.IdentityProvider();
}
public static org.sonarqube.ws.WsUsers.IdentityProvider getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
public IdentityProvider parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
try {
return new IdentityProvider(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.WsUsers.IdentityProvider getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private static com.google.protobuf.Descriptors.Descriptor
internal_static_sonarqube_ws_users_IdentityProvidersWsResponse_descriptor;
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_sonarqube_ws_users_IdentityProvidersWsResponse_fieldAccessorTable;
private static com.google.protobuf.Descriptors.Descriptor
internal_static_sonarqube_ws_users_IdentityProvider_descriptor;
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_sonarqube_ws_users_IdentityProvider_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\016ws-users.proto\022\022sonarqube.ws.users\"^\n\033" +
"IdentityProvidersWsResponse\022?\n\021identityP" +
"roviders\030\001 \003(\0132$.sonarqube.ws.users.Iden" +
"tityProvider\"X\n\020IdentityProvider\022\013\n\003key\030" +
"\001 \001(\t\022\014\n\004name\030\002 \001(\t\022\020\n\010iconPath\030\003 \001(\t\022\027\n" +
"\017backgroundColor\030\004 \001(\tB\035\n\020org.sonarqube." +
"wsB\007WsUsersH\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[] {
}, assigner);
internal_static_sonarqube_ws_users_IdentityProvidersWsResponse_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_sonarqube_ws_users_IdentityProvidersWsResponse_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_sonarqube_ws_users_IdentityProvidersWsResponse_descriptor,
new java.lang.String[] { "IdentityProviders", });
internal_static_sonarqube_ws_users_IdentityProvider_descriptor =
getDescriptor().getMessageTypes().get(1);
internal_static_sonarqube_ws_users_IdentityProvider_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_sonarqube_ws_users_IdentityProvider_descriptor,
new java.lang.String[] { "Key", "Name", "IconPath", "BackgroundColor", });
}
// @@protoc_insertion_point(outer_class_scope)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy