Class SourceContext.Builder

    • Constructor Detail

      • Builder

        private Builder()
    • Method Detail

      • getFileName

        public java.lang.String getFileName()
         The path-qualified name of the .proto file that contained the associated
         protobuf element.  For example: `"google/protobuf/source_context.proto"`.
         
        string file_name = 1;
        Specified by:
        getFileName in interface SourceContextOrBuilder
        Returns:
        The fileName.
      • getFileNameBytes

        public ByteString getFileNameBytes()
         The path-qualified name of the .proto file that contained the associated
         protobuf element.  For example: `"google/protobuf/source_context.proto"`.
         
        string file_name = 1;
        Specified by:
        getFileNameBytes in interface SourceContextOrBuilder
        Returns:
        The bytes for fileName.
      • setFileName

        public SourceContext.Builder setFileName​(java.lang.String value)
         The path-qualified name of the .proto file that contained the associated
         protobuf element.  For example: `"google/protobuf/source_context.proto"`.
         
        string file_name = 1;
        Parameters:
        value - The fileName to set.
        Returns:
        This builder for chaining.
      • clearFileName

        public SourceContext.Builder clearFileName()
         The path-qualified name of the .proto file that contained the associated
         protobuf element.  For example: `"google/protobuf/source_context.proto"`.
         
        string file_name = 1;
        Returns:
        This builder for chaining.
      • setFileNameBytes

        public SourceContext.Builder setFileNameBytes​(ByteString value)
         The path-qualified name of the .proto file that contained the associated
         protobuf element.  For example: `"google/protobuf/source_context.proto"`.
         
        string file_name = 1;
        Parameters:
        value - The bytes for fileName to set.
        Returns:
        This builder for chaining.