Class ExtendedSourceContext.Builder (1.12.0)
Stay organized with collections
Save and categorize content based on your preferences.
- 1.60.0 (latest)
- 1.59.0
- 1.58.0
- 1.57.0
- 1.56.0
- 1.55.0
- 1.54.0
- 1.53.0
- 1.52.0
- 1.51.0
- 1.49.0
- 1.48.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.37.0
- 1.36.0
- 1.35.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.24.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.0
- 1.11.0
- 1.9.0
- 1.8.0
- 1.7.0
- 1.6.0
- 1.5.0
- 1.4.0
- 1.1.10
publicstaticfinalclass ExtendedSourceContext.BuilderextendsGeneratedMessageV3.Builder<ExtendedSourceContext.Builder>implementsExtendedSourceContextOrBuilderAn ExtendedSourceContext is a SourceContext combined with additional details describing the context.
Protobuf type google.devtools.source.v1.ExtendedSourceContext
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ExtendedSourceContext.BuilderImplements
ExtendedSourceContextOrBuilderInherited Members
Static Methods
getDescriptor()
publicstaticfinalDescriptors.DescriptorgetDescriptor()Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
publicExtendedSourceContext.BuilderaddRepeatedField(Descriptors.FieldDescriptorfield,Objectvalue)build()
publicExtendedSourceContextbuild()buildPartial()
publicExtendedSourceContextbuildPartial()clear()
publicExtendedSourceContext.Builderclear()clearContext()
publicExtendedSourceContext.BuilderclearContext()Any source context.
.google.devtools.source.v1.SourceContext context = 1;
clearField(Descriptors.FieldDescriptor field)
publicExtendedSourceContext.BuilderclearField(Descriptors.FieldDescriptorfield)clearLabels()
publicExtendedSourceContext.BuilderclearLabels()clearOneof(Descriptors.OneofDescriptor oneof)
publicExtendedSourceContext.BuilderclearOneof(Descriptors.OneofDescriptoroneof)clone()
publicExtendedSourceContext.Builderclone()containsLabels(String key)
publicbooleancontainsLabels(Stringkey)Labels with user defined metadata.
map<string, string> labels = 2;
getContext()
publicSourceContextgetContext()Any source context.
.google.devtools.source.v1.SourceContext context = 1;
SourceContext
The context.
getContextBuilder()
publicSourceContext.BuildergetContextBuilder()Any source context.
.google.devtools.source.v1.SourceContext context = 1;
getContextOrBuilder()
publicSourceContextOrBuildergetContextOrBuilder()Any source context.
.google.devtools.source.v1.SourceContext context = 1;
getDefaultInstanceForType()
publicExtendedSourceContextgetDefaultInstanceForType()getDescriptorForType()
publicDescriptors.DescriptorgetDescriptorForType()getLabels()
publicMap<String,String>getLabels()Use #getLabelsMap() instead.
getLabelsCount()
publicintgetLabelsCount()Labels with user defined metadata.
map<string, string> labels = 2;
getLabelsMap()
publicMap<String,String>getLabelsMap()Labels with user defined metadata.
map<string, string> labels = 2;
getLabelsOrDefault(String key, String defaultValue)
publicStringgetLabelsOrDefault(Stringkey,StringdefaultValue)Labels with user defined metadata.
map<string, string> labels = 2;
getLabelsOrThrow(String key)
publicStringgetLabelsOrThrow(Stringkey)Labels with user defined metadata.
map<string, string> labels = 2;
getMutableLabels()
publicMap<String,String>getMutableLabels()Use alternate mutation accessors instead.
hasContext()
publicbooleanhasContext()Any source context.
.google.devtools.source.v1.SourceContext context = 1;
boolean
Whether the context field is set.
internalGetFieldAccessorTable()
protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()internalGetMapField(int number)
protectedMapFieldinternalGetMapField(intnumber)internalGetMutableMapField(int number)
protectedMapFieldinternalGetMutableMapField(intnumber)isInitialized()
publicfinalbooleanisInitialized()mergeContext(SourceContext value)
publicExtendedSourceContext.BuildermergeContext(SourceContextvalue)Any source context.
.google.devtools.source.v1.SourceContext context = 1;
mergeFrom(ExtendedSourceContext other)
publicExtendedSourceContext.BuildermergeFrom(ExtendedSourceContextother)mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
publicExtendedSourceContext.BuildermergeFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)mergeFrom(Message other)
publicExtendedSourceContext.BuildermergeFrom(Messageother)mergeUnknownFields(UnknownFieldSet unknownFields)
publicfinalExtendedSourceContext.BuildermergeUnknownFields(UnknownFieldSetunknownFields)putAllLabels(Map<String,String> values)
publicExtendedSourceContext.BuilderputAllLabels(Map<String,String>values)Labels with user defined metadata.
map<string, string> labels = 2;
putLabels(String key, String value)
publicExtendedSourceContext.BuilderputLabels(Stringkey,Stringvalue)Labels with user defined metadata.
map<string, string> labels = 2;
removeLabels(String key)
publicExtendedSourceContext.BuilderremoveLabels(Stringkey)Labels with user defined metadata.
map<string, string> labels = 2;
setContext(SourceContext value)
publicExtendedSourceContext.BuildersetContext(SourceContextvalue)Any source context.
.google.devtools.source.v1.SourceContext context = 1;
setContext(SourceContext.Builder builderForValue)
publicExtendedSourceContext.BuildersetContext(SourceContext.BuilderbuilderForValue)Any source context.
.google.devtools.source.v1.SourceContext context = 1;
setField(Descriptors.FieldDescriptor field, Object value)
publicExtendedSourceContext.BuildersetField(Descriptors.FieldDescriptorfield,Objectvalue)setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
publicExtendedSourceContext.BuildersetRepeatedField(Descriptors.FieldDescriptorfield,intindex,Objectvalue)setUnknownFields(UnknownFieldSet unknownFields)
publicfinalExtendedSourceContext.BuildersetUnknownFields(UnknownFieldSetunknownFields)