Package org.sonar.python.types.protobuf
Class DescriptorsProtos.AmbiguousDescriptor.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<DescriptorsProtos.AmbiguousDescriptor.Builder>
com.google.protobuf.GeneratedMessage.Builder<DescriptorsProtos.AmbiguousDescriptor.Builder>
org.sonar.python.types.protobuf.DescriptorsProtos.AmbiguousDescriptor.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable,DescriptorsProtos.AmbiguousDescriptorOrBuilder
- Enclosing class:
DescriptorsProtos.AmbiguousDescriptor
public static final class DescriptorsProtos.AmbiguousDescriptor.Builder
extends com.google.protobuf.GeneratedMessage.Builder<DescriptorsProtos.AmbiguousDescriptor.Builder>
implements DescriptorsProtos.AmbiguousDescriptorOrBuilder
Protobuf type
protoblog.AmbiguousDescriptor-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear().protoblog.DescriptorList alternatives = 3;optional string fullyQualifiedName = 2;string name = 1;.protoblog.DescriptorList alternatives = 3;.protoblog.DescriptorList alternatives = 3;.protoblog.DescriptorList alternatives = 3;static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptoroptional string fullyQualifiedName = 2;com.google.protobuf.ByteStringoptional string fullyQualifiedName = 2;getName()string name = 1;com.google.protobuf.ByteStringstring name = 1;boolean.protoblog.DescriptorList alternatives = 3;booleanoptional string fullyQualifiedName = 2;protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal boolean.protoblog.DescriptorList alternatives = 3;mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) .protoblog.DescriptorList alternatives = 3;setAlternatives(DescriptorsProtos.DescriptorList.Builder builderForValue) .protoblog.DescriptorList alternatives = 3;setFullyQualifiedName(String value) optional string fullyQualifiedName = 2;setFullyQualifiedNameBytes(com.google.protobuf.ByteString value) optional string fullyQualifiedName = 2;string name = 1;setNameBytes(com.google.protobuf.ByteString value) string name = 1;Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<DescriptorsProtos.AmbiguousDescriptor.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<DescriptorsProtos.AmbiguousDescriptor.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<DescriptorsProtos.AmbiguousDescriptor.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<DescriptorsProtos.AmbiguousDescriptor.Builder>
-
mergeFrom
public DescriptorsProtos.AmbiguousDescriptor.Builder mergeFrom(DescriptorsProtos.AmbiguousDescriptor other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<DescriptorsProtos.AmbiguousDescriptor.Builder>
-
mergeFrom
public DescriptorsProtos.AmbiguousDescriptor.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<DescriptorsProtos.AmbiguousDescriptor.Builder>- Throws:
IOException
-
getName
string name = 1;- Specified by:
getNamein interfaceDescriptorsProtos.AmbiguousDescriptorOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()string name = 1;- Specified by:
getNameBytesin interfaceDescriptorsProtos.AmbiguousDescriptorOrBuilder- Returns:
- The bytes for name.
-
setName
string name = 1;- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
string name = 1;- Returns:
- This builder for chaining.
-
setNameBytes
public DescriptorsProtos.AmbiguousDescriptor.Builder setNameBytes(com.google.protobuf.ByteString value) string name = 1;- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
hasFullyQualifiedName
public boolean hasFullyQualifiedName()optional string fullyQualifiedName = 2;- Specified by:
hasFullyQualifiedNamein interfaceDescriptorsProtos.AmbiguousDescriptorOrBuilder- Returns:
- Whether the fullyQualifiedName field is set.
-
getFullyQualifiedName
optional string fullyQualifiedName = 2;- Specified by:
getFullyQualifiedNamein interfaceDescriptorsProtos.AmbiguousDescriptorOrBuilder- Returns:
- The fullyQualifiedName.
-
getFullyQualifiedNameBytes
public com.google.protobuf.ByteString getFullyQualifiedNameBytes()optional string fullyQualifiedName = 2;- Specified by:
getFullyQualifiedNameBytesin interfaceDescriptorsProtos.AmbiguousDescriptorOrBuilder- Returns:
- The bytes for fullyQualifiedName.
-
setFullyQualifiedName
optional string fullyQualifiedName = 2;- Parameters:
value- The fullyQualifiedName to set.- Returns:
- This builder for chaining.
-
clearFullyQualifiedName
optional string fullyQualifiedName = 2;- Returns:
- This builder for chaining.
-
setFullyQualifiedNameBytes
public DescriptorsProtos.AmbiguousDescriptor.Builder setFullyQualifiedNameBytes(com.google.protobuf.ByteString value) optional string fullyQualifiedName = 2;- Parameters:
value- The bytes for fullyQualifiedName to set.- Returns:
- This builder for chaining.
-
hasAlternatives
public boolean hasAlternatives().protoblog.DescriptorList alternatives = 3;- Specified by:
hasAlternativesin interfaceDescriptorsProtos.AmbiguousDescriptorOrBuilder- Returns:
- Whether the alternatives field is set.
-
getAlternatives
.protoblog.DescriptorList alternatives = 3;- Specified by:
getAlternativesin interfaceDescriptorsProtos.AmbiguousDescriptorOrBuilder- Returns:
- The alternatives.
-
setAlternatives
public DescriptorsProtos.AmbiguousDescriptor.Builder setAlternatives(DescriptorsProtos.DescriptorList value) .protoblog.DescriptorList alternatives = 3; -
setAlternatives
public DescriptorsProtos.AmbiguousDescriptor.Builder setAlternatives(DescriptorsProtos.DescriptorList.Builder builderForValue) .protoblog.DescriptorList alternatives = 3; -
mergeAlternatives
public DescriptorsProtos.AmbiguousDescriptor.Builder mergeAlternatives(DescriptorsProtos.DescriptorList value) .protoblog.DescriptorList alternatives = 3; -
clearAlternatives
.protoblog.DescriptorList alternatives = 3; -
getAlternativesBuilder
.protoblog.DescriptorList alternatives = 3; -
getAlternativesOrBuilder
.protoblog.DescriptorList alternatives = 3;- Specified by:
getAlternativesOrBuilderin interfaceDescriptorsProtos.AmbiguousDescriptorOrBuilder
-