Class Ops.SourceInfo.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<Ops.SourceInfo.Builder>
com.google.protobuf.GeneratedMessage.Builder<Ops.SourceInfo.Builder>
pb.Ops.SourceInfo.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable, Ops.SourceInfoOrBuilder
Enclosing class:
Ops.SourceInfo

public static final class Ops.SourceInfo.Builder extends com.google.protobuf.GeneratedMessage.Builder<Ops.SourceInfo.Builder> implements Ops.SourceInfoOrBuilder
 Source info contains the shared metadata of a source mapping
 
Protobuf type pb.SourceInfo
  • 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<Ops.SourceInfo.Builder>
    • clear

      public Ops.SourceInfo.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<Ops.SourceInfo.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<Ops.SourceInfo.Builder>
    • getDefaultInstanceForType

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

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

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

      public Ops.SourceInfo.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<Ops.SourceInfo.Builder>
    • mergeFrom

      public Ops.SourceInfo.Builder mergeFrom(Ops.SourceInfo other)
    • isInitialized

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

      public Ops.SourceInfo.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<Ops.SourceInfo.Builder>
      Throws:
      IOException
    • getFilename

      public String getFilename()
      string filename = 1;
      Specified by:
      getFilename in interface Ops.SourceInfoOrBuilder
      Returns:
      The filename.
    • getFilenameBytes

      public com.google.protobuf.ByteString getFilenameBytes()
      string filename = 1;
      Specified by:
      getFilenameBytes in interface Ops.SourceInfoOrBuilder
      Returns:
      The bytes for filename.
    • setFilename

      public Ops.SourceInfo.Builder setFilename(String value)
      string filename = 1;
      Parameters:
      value - The filename to set.
      Returns:
      This builder for chaining.
    • clearFilename

      public Ops.SourceInfo.Builder clearFilename()
      string filename = 1;
      Returns:
      This builder for chaining.
    • setFilenameBytes

      public Ops.SourceInfo.Builder setFilenameBytes(com.google.protobuf.ByteString value)
      string filename = 1;
      Parameters:
      value - The bytes for filename to set.
      Returns:
      This builder for chaining.
    • getData

      public com.google.protobuf.ByteString getData()
      bytes data = 2;
      Specified by:
      getData in interface Ops.SourceInfoOrBuilder
      Returns:
      The data.
    • setData

      public Ops.SourceInfo.Builder setData(com.google.protobuf.ByteString value)
      bytes data = 2;
      Parameters:
      value - The data to set.
      Returns:
      This builder for chaining.
    • clearData

      public Ops.SourceInfo.Builder clearData()
      bytes data = 2;
      Returns:
      This builder for chaining.
    • hasDefinition

      public boolean hasDefinition()
      .pb.Definition definition = 3;
      Specified by:
      hasDefinition in interface Ops.SourceInfoOrBuilder
      Returns:
      Whether the definition field is set.
    • getDefinition

      public Ops.Definition getDefinition()
      .pb.Definition definition = 3;
      Specified by:
      getDefinition in interface Ops.SourceInfoOrBuilder
      Returns:
      The definition.
    • setDefinition

      public Ops.SourceInfo.Builder setDefinition(Ops.Definition value)
      .pb.Definition definition = 3;
    • setDefinition

      public Ops.SourceInfo.Builder setDefinition(Ops.Definition.Builder builderForValue)
      .pb.Definition definition = 3;
    • mergeDefinition

      public Ops.SourceInfo.Builder mergeDefinition(Ops.Definition value)
      .pb.Definition definition = 3;
    • clearDefinition

      public Ops.SourceInfo.Builder clearDefinition()
      .pb.Definition definition = 3;
    • getDefinitionBuilder

      public Ops.Definition.Builder getDefinitionBuilder()
      .pb.Definition definition = 3;
    • getDefinitionOrBuilder

      public Ops.DefinitionOrBuilder getDefinitionOrBuilder()
      .pb.Definition definition = 3;
      Specified by:
      getDefinitionOrBuilder in interface Ops.SourceInfoOrBuilder
    • getLanguage

      public String getLanguage()
      string language = 4;
      Specified by:
      getLanguage in interface Ops.SourceInfoOrBuilder
      Returns:
      The language.
    • getLanguageBytes

      public com.google.protobuf.ByteString getLanguageBytes()
      string language = 4;
      Specified by:
      getLanguageBytes in interface Ops.SourceInfoOrBuilder
      Returns:
      The bytes for language.
    • setLanguage

      public Ops.SourceInfo.Builder setLanguage(String value)
      string language = 4;
      Parameters:
      value - The language to set.
      Returns:
      This builder for chaining.
    • clearLanguage

      public Ops.SourceInfo.Builder clearLanguage()
      string language = 4;
      Returns:
      This builder for chaining.
    • setLanguageBytes

      public Ops.SourceInfo.Builder setLanguageBytes(com.google.protobuf.ByteString value)
      string language = 4;
      Parameters:
      value - The bytes for language to set.
      Returns:
      This builder for chaining.