Class Function.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Function.Builder>
io.opentelemetry.proto.profiles.v1development.Function.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, FunctionOrBuilder, Cloneable
Enclosing class:
Function

public static final class Function.Builder extends com.google.protobuf.GeneratedMessage.Builder<Function.Builder> implements FunctionOrBuilder
 Describes a function, including its human-readable name, system name,
 source file, and starting line number in the source.
 
Protobuf type opentelemetry.proto.profiles.v1development.Function
  • Method Summary

    Modifier and Type
    Method
    Description
     
     
     
    Source file containing the function.
    Function name.
    Line number in source file. 0 means unset.
    Function name, as identified by the system.
     
    static final com.google.protobuf.Descriptors.Descriptor
     
    com.google.protobuf.Descriptors.Descriptor
     
    int
    Source file containing the function.
    int
    Function name.
    long
    Line number in source file. 0 means unset.
    int
    Function name, as identified by the system.
    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
     
    final boolean
     
    mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    mergeFrom(com.google.protobuf.Message other)
     
     
    Source file containing the function.
    setNameStrindex(int value)
    Function name.
    setStartLine(long value)
    Line number in source file. 0 means unset.
    Function name, as identified by the system.

    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, setUnknownFieldsProto3

    Methods inherited from class com.google.protobuf.AbstractMessage.Builder

    findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString

    Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder

    addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException

    Methods inherited from class java.lang.Object

    equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.google.protobuf.Message.Builder

    mergeDelimitedFrom, mergeDelimitedFrom

    Methods inherited from interface com.google.protobuf.MessageLite.Builder

    mergeFrom

    Methods 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:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<Function.Builder>
    • clear

      public Function.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<Function.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<Function.Builder>
    • getDefaultInstanceForType

      public Function getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public Function build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public Function buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public Function.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Function.Builder>
    • mergeFrom

      public Function.Builder mergeFrom(Function other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<Function.Builder>
    • mergeFrom

      public Function.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Function.Builder>
      Throws:
      IOException
    • getNameStrindex

      public int getNameStrindex()
       Function name. Empty string if not available.
       
      int32 name_strindex = 1;
      Specified by:
      getNameStrindex in interface FunctionOrBuilder
      Returns:
      The nameStrindex.
    • setNameStrindex

      public Function.Builder setNameStrindex(int value)
       Function name. Empty string if not available.
       
      int32 name_strindex = 1;
      Parameters:
      value - The nameStrindex to set.
      Returns:
      This builder for chaining.
    • clearNameStrindex

      public Function.Builder clearNameStrindex()
       Function name. Empty string if not available.
       
      int32 name_strindex = 1;
      Returns:
      This builder for chaining.
    • getSystemNameStrindex

      public int getSystemNameStrindex()
       Function name, as identified by the system. For instance,
       it can be a C++ mangled name. Empty string if not available.
       
      int32 system_name_strindex = 2;
      Specified by:
      getSystemNameStrindex in interface FunctionOrBuilder
      Returns:
      The systemNameStrindex.
    • setSystemNameStrindex

      public Function.Builder setSystemNameStrindex(int value)
       Function name, as identified by the system. For instance,
       it can be a C++ mangled name. Empty string if not available.
       
      int32 system_name_strindex = 2;
      Parameters:
      value - The systemNameStrindex to set.
      Returns:
      This builder for chaining.
    • clearSystemNameStrindex

      public Function.Builder clearSystemNameStrindex()
       Function name, as identified by the system. For instance,
       it can be a C++ mangled name. Empty string if not available.
       
      int32 system_name_strindex = 2;
      Returns:
      This builder for chaining.
    • getFilenameStrindex

      public int getFilenameStrindex()
       Source file containing the function. Empty string if not available.
       
      int32 filename_strindex = 3;
      Specified by:
      getFilenameStrindex in interface FunctionOrBuilder
      Returns:
      The filenameStrindex.
    • setFilenameStrindex

      public Function.Builder setFilenameStrindex(int value)
       Source file containing the function. Empty string if not available.
       
      int32 filename_strindex = 3;
      Parameters:
      value - The filenameStrindex to set.
      Returns:
      This builder for chaining.
    • clearFilenameStrindex

      public Function.Builder clearFilenameStrindex()
       Source file containing the function. Empty string if not available.
       
      int32 filename_strindex = 3;
      Returns:
      This builder for chaining.
    • getStartLine

      public long getStartLine()
       Line number in source file. 0 means unset.
       
      int64 start_line = 4;
      Specified by:
      getStartLine in interface FunctionOrBuilder
      Returns:
      The startLine.
    • setStartLine

      public Function.Builder setStartLine(long value)
       Line number in source file. 0 means unset.
       
      int64 start_line = 4;
      Parameters:
      value - The startLine to set.
      Returns:
      This builder for chaining.
    • clearStartLine

      public Function.Builder clearStartLine()
       Line number in source file. 0 means unset.
       
      int64 start_line = 4;
      Returns:
      This builder for chaining.