public static final class DescriptorProtos.SourceCodeInfo.Location.Builder extends GeneratedMessage.Builder<DescriptorProtos.SourceCodeInfo.Location.Builder> implements DescriptorProtos.SourceCodeInfo.LocationOrBuilder
addRepeatedField, clearField, getAllFields, getField, getParentForChildren, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, isClean, markClean, mergeUnknownFields, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFieldsmergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageExceptionaddAll, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAllFields, getField, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasFieldpublic static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
GeneratedMessage.BuilderinternalGetFieldAccessorTable in class GeneratedMessage.Builder<DescriptorProtos.SourceCodeInfo.Location.Builder>public DescriptorProtos.SourceCodeInfo.Location.Builder clear()
GeneratedMessage.Builderclear in interface Message.Builderclear in interface MessageLite.Builderclear in class GeneratedMessage.Builder<DescriptorProtos.SourceCodeInfo.Location.Builder>public DescriptorProtos.SourceCodeInfo.Location.Builder clone()
MessageLite.Builderclone in interface Message.Builderclone in interface MessageLite.Builderclone in class GeneratedMessage.Builder<DescriptorProtos.SourceCodeInfo.Location.Builder>Object.clone()public Descriptors.Descriptor getDescriptorForType()
Message.BuilderMessageOrBuilder.getDescriptorForType().getDescriptorForType in interface Message.BuildergetDescriptorForType in interface MessageOrBuildergetDescriptorForType in class GeneratedMessage.Builder<DescriptorProtos.SourceCodeInfo.Location.Builder>public DescriptorProtos.SourceCodeInfo.Location getDefaultInstanceForType()
MessageLiteOrBuildergetDefaultInstance() method of generated message classes in that
this method is an abstract method of the MessageLite interface
whereas getDefaultInstance() is a static method of a specific
class. They return the same thing.getDefaultInstanceForType in interface MessageLiteOrBuildergetDefaultInstanceForType in interface MessageOrBuilderpublic DescriptorProtos.SourceCodeInfo.Location build()
MessageLite.Builderbuild(), clone()
it first.build in interface Message.Builderbuild in interface MessageLite.Builderpublic DescriptorProtos.SourceCodeInfo.Location buildPartial()
MessageLite.BuilderMessageLite.Builder.build(), but does not throw an exception if the message
is missing required fields. Instead, a partial message is returned.
Once this is called, the Builder is no longer valid, and calling any
will result in undefined behavior and may throw a NullPointerException.
If you need to continue working with the builder after calling
buildPartial(), clone() it first.buildPartial in interface Message.BuilderbuildPartial in interface MessageLite.Builderpublic DescriptorProtos.SourceCodeInfo.Location.Builder mergeFrom(Message other)
Message.Builderother into the message being built. other must
have the exact same type as this (i.e.
getDescriptorForType() == other.getDescriptorForType()).
Merging occurs as follows. For each field:other,
then other's value overwrites the value in this message.other,
it is merged into the corresponding sub-message of this message
using the same merging rules.other are concatenated
with the elements in this message.
This is equivalent to the Message::MergeFrom method in C++.mergeFrom in interface Message.BuildermergeFrom in class AbstractMessage.Builder<DescriptorProtos.SourceCodeInfo.Location.Builder>public DescriptorProtos.SourceCodeInfo.Location.Builder mergeFrom(DescriptorProtos.SourceCodeInfo.Location other)
public final boolean isInitialized()
MessageLiteOrBuilderisInitialized in interface MessageLiteOrBuilderisInitialized in class GeneratedMessage.Builder<DescriptorProtos.SourceCodeInfo.Location.Builder>public DescriptorProtos.SourceCodeInfo.Location.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
MessageLite.BuilderMessageLite.Builder.mergeFrom(CodedInputStream), but also
parses extensions. The extensions that you want to be able to parse
must be registered in extensionRegistry. Extensions not in
the registry will be treated as unknown fields.mergeFrom in interface Message.BuildermergeFrom in interface MessageLite.BuildermergeFrom in class AbstractMessage.Builder<DescriptorProtos.SourceCodeInfo.Location.Builder>IOExceptionpublic List<Integer> getPathList()
getPathList in interface DescriptorProtos.SourceCodeInfo.LocationOrBuilderpublic int getPathCount()
getPathCount in interface DescriptorProtos.SourceCodeInfo.LocationOrBuilderpublic int getPath(int index)
getPath in interface DescriptorProtos.SourceCodeInfo.LocationOrBuilderpublic DescriptorProtos.SourceCodeInfo.Location.Builder setPath(int index, int value)
public DescriptorProtos.SourceCodeInfo.Location.Builder addPath(int value)
public DescriptorProtos.SourceCodeInfo.Location.Builder addAllPath(Iterable<? extends Integer> values)
public DescriptorProtos.SourceCodeInfo.Location.Builder clearPath()
public List<Integer> getSpanList()
getSpanList in interface DescriptorProtos.SourceCodeInfo.LocationOrBuilderpublic int getSpanCount()
getSpanCount in interface DescriptorProtos.SourceCodeInfo.LocationOrBuilderpublic int getSpan(int index)
getSpan in interface DescriptorProtos.SourceCodeInfo.LocationOrBuilderpublic DescriptorProtos.SourceCodeInfo.Location.Builder setSpan(int index, int value)
public DescriptorProtos.SourceCodeInfo.Location.Builder addSpan(int value)
public DescriptorProtos.SourceCodeInfo.Location.Builder addAllSpan(Iterable<? extends Integer> values)
public DescriptorProtos.SourceCodeInfo.Location.Builder clearSpan()
Copyright © 2008–2013 Google. All rights reserved.