public static final class Common.Rule extends com.google.protobuf.GeneratedMessage implements Common.RuleOrBuilder
sonarqube.ws.commons.Rule
Modifier and Type | Class and Description |
---|---|
static class |
Common.Rule.Builder
Protobuf type
sonarqube.ws.commons.Rule |
com.google.protobuf.GeneratedMessage.BuilderParent, com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessage.ExtendableBuilder>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingType extends com.google.protobuf.Message,Type>
Modifier and Type | Field and Description |
---|---|
static int |
KEY_FIELD_NUMBER |
static int |
LANG_FIELD_NUMBER |
static int |
LANGNAME_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
static com.google.protobuf.Parser<Common.Rule> |
PARSER
Deprecated.
|
static int |
STATUS_FIELD_NUMBER |
Modifier and Type | Method and Description |
---|---|
static Common.Rule |
getDefaultInstance() |
Common.Rule |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getKey()
optional string key = 1; |
com.google.protobuf.ByteString |
getKeyBytes()
optional string key = 1; |
String |
getLang()
optional string lang = 3; |
com.google.protobuf.ByteString |
getLangBytes()
optional string lang = 3; |
String |
getLangName()
optional string langName = 5; |
com.google.protobuf.ByteString |
getLangNameBytes()
optional string langName = 5; |
String |
getName()
optional string name = 2; |
com.google.protobuf.ByteString |
getNameBytes()
optional string name = 2; |
com.google.protobuf.Parser<Common.Rule> |
getParserForType() |
int |
getSerializedSize() |
Common.RuleStatus |
getStatus()
optional .sonarqube.ws.commons.RuleStatus status = 4; |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasKey()
optional string key = 1; |
boolean |
hasLang()
optional string lang = 3; |
boolean |
hasLangName()
optional string langName = 5; |
boolean |
hasName()
optional string name = 2; |
boolean |
hasStatus()
optional .sonarqube.ws.commons.RuleStatus status = 4; |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Common.Rule.Builder |
newBuilder() |
static Common.Rule.Builder |
newBuilder(Common.Rule prototype) |
Common.Rule.Builder |
newBuilderForType() |
protected Common.Rule.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) |
static Common.Rule |
parseDelimitedFrom(InputStream input) |
static Common.Rule |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Common.Rule |
parseFrom(byte[] data) |
static Common.Rule |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Common.Rule |
parseFrom(com.google.protobuf.ByteString data) |
static Common.Rule |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Common.Rule |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Common.Rule |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Common.Rule |
parseFrom(InputStream input) |
static Common.Rule |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Common.Rule> |
parser() |
Common.Rule.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, newFileScopedGeneratedExtension, newFileScopedGeneratedExtension, newMessageScopedGeneratedExtension, newMessageScopedGeneratedExtension, parseUnknownField, writeReplace, writeString, writeStringNoTag
equals, findInitializationErrors, getInitializationErrorString, hashCode, hashFields, toString
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public static final int KEY_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
public static final int LANG_FIELD_NUMBER
public static final int STATUS_FIELD_NUMBER
public static final int LANGNAME_FIELD_NUMBER
@Deprecated public static final com.google.protobuf.Parser<Common.Rule> PARSER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields
in interface com.google.protobuf.MessageOrBuilder
getUnknownFields
in class com.google.protobuf.GeneratedMessage
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessage
public boolean hasKey()
optional string key = 1;
hasKey
in interface Common.RuleOrBuilder
public String getKey()
optional string key = 1;
getKey
in interface Common.RuleOrBuilder
public com.google.protobuf.ByteString getKeyBytes()
optional string key = 1;
getKeyBytes
in interface Common.RuleOrBuilder
public boolean hasName()
optional string name = 2;
hasName
in interface Common.RuleOrBuilder
public String getName()
optional string name = 2;
getName
in interface Common.RuleOrBuilder
public com.google.protobuf.ByteString getNameBytes()
optional string name = 2;
getNameBytes
in interface Common.RuleOrBuilder
public boolean hasLang()
optional string lang = 3;
hasLang
in interface Common.RuleOrBuilder
public String getLang()
optional string lang = 3;
getLang
in interface Common.RuleOrBuilder
public com.google.protobuf.ByteString getLangBytes()
optional string lang = 3;
getLangBytes
in interface Common.RuleOrBuilder
public boolean hasStatus()
optional .sonarqube.ws.commons.RuleStatus status = 4;
hasStatus
in interface Common.RuleOrBuilder
public Common.RuleStatus getStatus()
optional .sonarqube.ws.commons.RuleStatus status = 4;
getStatus
in interface Common.RuleOrBuilder
public boolean hasLangName()
optional string langName = 5;
hasLangName
in interface Common.RuleOrBuilder
public String getLangName()
optional string langName = 5;
getLangName
in interface Common.RuleOrBuilder
public com.google.protobuf.ByteString getLangNameBytes()
optional string langName = 5;
getLangNameBytes
in interface Common.RuleOrBuilder
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessage
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
writeTo
in interface com.google.protobuf.MessageLite
writeTo
in class com.google.protobuf.GeneratedMessage
IOException
public int getSerializedSize()
getSerializedSize
in interface com.google.protobuf.MessageLite
getSerializedSize
in class com.google.protobuf.GeneratedMessage
public static Common.Rule parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Common.Rule parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Common.Rule parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Common.Rule parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Common.Rule parseFrom(InputStream input) throws IOException
IOException
public static Common.Rule parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static Common.Rule parseDelimitedFrom(InputStream input) throws IOException
IOException
public static Common.Rule parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static Common.Rule parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static Common.Rule parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public Common.Rule.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public static Common.Rule.Builder newBuilder()
public static Common.Rule.Builder newBuilder(Common.Rule prototype)
public Common.Rule.Builder toBuilder()
toBuilder
in interface com.google.protobuf.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected Common.Rule.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.GeneratedMessage
public static Common.Rule getDefaultInstance()
public static com.google.protobuf.Parser<Common.Rule> parser()
public com.google.protobuf.Parser<Common.Rule> getParserForType()
getParserForType
in interface com.google.protobuf.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessage
public Common.Rule getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
Copyright © 2009–2017 SonarSource. All rights reserved.